commit | cc4bb60a8511f93c735fef5433d5e6d0718f27df | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Apr 09 19:51:08 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Apr 14 22:04:24 2020 +0900 |
tree | de3dc06c905ed70f1c21558acc7537f1964bf413 | |
parent | bb1878a3dd20981bdf7fdb1a0e2bbda382f784ea [diff] |
Refactor a new NetlinkMonitor class out of IpNeighborMonitor. This CL adds a new NetlinkMonitor that is a subclass of PacketReader and a superclass of IpNeighborMonitor. The class can be used to implement other simple "listen to netlink broadcasts and take action on them" classes without requiring much new code to be written. Bug: 153694684 Test: atest NetworkStackTests:IpReachabilityMonitorTest Change-Id: Ia7ffb0fab4b116f4e238ccc5f5da92a04c4c86e2