commit | 6c72c972614285b2c01fb38afb2ffe06484a544a | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Fri Jul 27 11:29:20 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Mon Aug 06 22:50:57 2012 -0700 |
tree | a6e76b2fa046b71e396cf48a0950ec3ca936184b | |
parent | 1aff7307d462b0160e821607058fe13831d8ef63 [diff] |
shill: LinkMonitor: Schedule periodic ARP requests The LinkMonitor performs periodic unicast and broadcast ARP requests for a connection's gateway IP address. It creates a weighted average of response time, and can call a failure callback function whenever the sum of consecutive unicast and broadcast response failures exceed a threshold. BUG=chromium-os:32600 TEST=Unit tests Change-Id: Id5a66ad9ca80c51f227ef4811eb8c3885a70c1b8 Reviewed-on: https://gerrit.chromium.org/gerrit/28610 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>