commit | cef7bc939fbc3baae5ccf78dcef63fc60e07ae21 | [log] [tgz] |
---|---|---|
author | Erik Kline <ek@google.com> | Tue May 19 14:17:11 2015 +0900 |
committer | Erik Kline <ek@google.com> | Wed May 20 16:46:30 2015 +0900 |
tree | 9c0d89270ac8c08567ead6bf6fe12f91e4bfe178 | |
parent | 77b01b887670b01f543558cd5cfd7d5d228d6c21 [diff] |
Set NLM_F_ACK in our RTM_NEWNEIGH requests With NLM_F_ACK set in RTM_NEWNEIGH requests we get some response from the kernel, whether there was an error or not. Additionally: [1] add IpReachabilityMonitor#probeNeighbor() as a public static method, since it actually depends very little on the class internals and might be of larger use. [2] add a unittest for parsing NetlinkErrorMessages. Bug: 18581716 Change-Id: I5d62e7a9972c7440f0483c38c77677436d3a1a25