History log of /frameworks/base/services/net/java/android/net/ip/IpNeighborMonitor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8bd00d5f7ced34a45173e45537dc3100d62ee6a5 08-Dec-2017 Erik Kline <ek@google.com> Refactor to InterfaceParams utility class

NetworkInterface throws Exceptions every time you look at it askance.
Try to make something we instantiate fully, once, and pass it around.

Partial MacAddress-ification as well, for good measure.

Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- basic IPv6 tethering works
Bug: 32163131
Bug: 62476366
Change-Id: I16c145fddb4e76387370338d792a438eed886d7f
/frameworks/base/services/net/java/android/net/ip/IpNeighborMonitor.java
84714bffa1a58fe1f6a114ae015f8e38be46f32d 19-May-2017 Erik Kline <ek@google.com> Refactor to IpNeighborMonitor and single-threaded semantics

IpReachabilityMonitor (and IpNeighborMonitor) are only accessed from
the IpManager StateMachine's thread. Consequently lots of locking can
now be removed.

Additionally:
- rename BlockingSocketReader to PacketReader
- incorporate IpReachabilityMonitor output in dump()

Test: as follows
- runtest frameworks-net passes
- "adb shell ip neigh change <address> dev wlan0 nud failed"
triggers wifi to disconnect
Bug: 62476366
Bug: 67013397
Change-Id: I18aca29ae0019a72a7e559c2832e0d9b0e33d81e
/frameworks/base/services/net/java/android/net/ip/IpNeighborMonitor.java