Home
last modified time | relevance | path

Searched refs:NeighborEvent (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java62 import com.android.net.module.util.ip.IpNeighborMonitor.NeighborEvent;
234 private Map<InetAddress, NeighborEvent> mNeighborWatchList = new HashMap<>();
303 (NeighborEvent event) -> {
307 final NeighborEvent prev = mNeighborWatchList.put(event.ip, event);
364 for (Map.Entry<InetAddress, NeighborEvent> entry : mNeighborWatchList.entrySet()) {
384 @Nullable final NeighborEvent prev, @NonNull final NeighborEvent event) {
397 private boolean isNeighborDefaultRouter(@NonNull final NeighborEvent event) {
406 private boolean isNeighborDnsServer(@NonNull final NeighborEvent event) {
422 Map<InetAddress, NeighborEvent> newNeighborWatchList = new HashMap<>();
454 private void handleNeighborReachable(@Nullable final NeighborEvent prev,
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DIpNeighborMonitor.java83 public static class NeighborEvent { class in IpNeighborMonitor
93 public NeighborEvent(long elapsedMs, short msgType, int ifindex, @NonNull InetAddress ip, in NeighborEvent() method in IpNeighborMonitor.NeighborEvent
135 void accept(NeighborEvent event); in accept()
167 final NeighborEvent event = new NeighborEvent( in processNetlinkMessage()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java80 import com.android.net.module.util.ip.IpNeighborMonitor.NeighborEvent;
309 public void accept(NeighborEvent e) { in accept()
986 private void addOrRemoveIpv6Downstream(NeighborEvent e) { in addOrRemoveIpv6Downstream()
1009 private void updateClientInfoIpv4(NeighborEvent e) { in updateClientInfoIpv4()
1029 private void handleNeighborEvent(NeighborEvent e) { in handleNeighborEvent()
1477 handleNeighborEvent((NeighborEvent) message.obj); in processMessage()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java137 import com.android.net.module.util.ip.IpNeighborMonitor.NeighborEvent;
654 mNeighborEventConsumer.accept(new NeighborEvent(0, RTM_NEWNEIGH, ifindex, addr, in recvNewNeigh()
660 mNeighborEventConsumer.accept(new NeighborEvent(0, RTM_DELNEIGH, ifindex, addr, in recvDelNeigh()