• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/net/netlink/
History log of /frameworks/base/core/java/android/net/netlink/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b1eebaeb926c698eded5a892484fd9904b36cd69 21-May-2015 Erik Kline <ek@google.com> Notify only on loss of provisioning.

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
tructNdMsg.java
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
etlinkErrorMessage.java
etlinkMessage.java
tNetlinkNeighborMessage.java
tructNlMsgErr.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
tNetlinkNeighborMessage.java
tructNdMsg.java
tructNlAttr.java
tructNlMsgErr.java
tructNlMsgHdr.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
etlinkConstants.java
etlinkErrorMessage.java
etlinkMessage.java
etlinkSocket.java
tNetlinkNeighborMessage.java
tructNdMsg.java
tructNdaCacheInfo.java
tructNlAttr.java
tructNlMsgErr.java
tructNlMsgHdr.java