commit | 417e5f079a1ccbc068c67f9cbf34f13c40330abc | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Oct 09 08:52:35 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Wed Oct 15 00:10:08 2014 +0000 |
tree | f724bdbef45ed528e5c44b9f478e389a6efe61d0 | |
parent | 761a52f4efa2e8178eb27cff0bdf4707eed657ea [diff] |
shill: ArpClient: Support Request Reception Refactor the code (specifically the part that sets up BPF filters) to be able to receive and parse ARP requests. In doing so, we will now be able to start an ARP client to monitor the amount of ambient broadcast ARP traffic on the network. We can use this to back down the rate of LinkMonitor requests to reduce loads on networks with large numbers of Chromebooks. BUG=chromium:422159 TEST=Unit tests + manual: ff_debug +link; ff_debug --level -4 Make sure ARP responses continue to be received correctly Change-Id: I4c29919a09537b8be39f414647dd3a4fccc3800b Reviewed-on: https://chromium-review.googlesource.com/222704 Reviewed-by: Peter Qiu <zqiu@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>