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/StructNlMsgErr.java
|
9ce5d602cd5d732ae10efe0b648b43ddf60d65c9 |
|
16-May-2015 |
Erik Kline <ek@google.com> |
Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing Note that this change is not sufficient to force probing in all cases, but does cause probing to occur on Linux if the target node hasn't been confirmed as reachable in the past 5 seconds (delay_first_probe_time). Bug: 18581716 Bug: 19866451 Bug: 20944464 Change-Id: I29393897118311b48c966c41e2cddb7a784f136f
/frameworks/base/core/java/android/net/netlink/StructNlMsgErr.java
|
6193aa3305bc2aa5b7f0a983f4b08c99065cfb82 |
|
19-Jan-2015 |
Erik Kline <ek@google.com> |
Add basic netlink library code. Add netlink socket helpers and parsing code for basic netlink messages. Additionally, support from some neighbor discovery -specific messages is included. Bug: 18581716 Change-Id: Ib2aa924222b63cdbebf09a8bf8ff35ee24269fc5
/frameworks/base/core/java/android/net/netlink/StructNlMsgErr.java
|