cef7bc939fbc3baae5ccf78dcef63fc60e07ae21 |
|
19-May-2015 |
Erik Kline <ek@google.com> |
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
/frameworks/base/core/java/android/net/netlink/NetlinkMessage.java
|