summaryrefslogtreecommitdiffstats
path: root/core/java/android/net/netlink
Commit message (Collapse)AuthorAgeFilesLines
* Notify only on loss of provisioning.Erik Kline2015-05-221-0/+2
| | | | | | | | | Lots of code refactoring, include: - no longer watch for on-link proxies (only routers and DNS servers) - keep track of NUD state of neighbors of interest Bug: 18581716 Change-Id: Ia7dbef0690daf54f69ffecefc14e1224fd402397
* Set NLM_F_ACK in our RTM_NEWNEIGH requestsErik Kline2015-05-204-9/+8
| | | | | | | | | | | | | | | | 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
* Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probingErik Kline2015-05-195-12/+82
| | | | | | | | | | | 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
* Add basic netlink library code.Erik Kline2015-05-1310-0/+1252
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