Searched refs:nudState (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkTestUtils.kt | 33 nudState: Short 37 nudState = nudState 45 nudState: Short 49 nudState = nudState 55 nudState: Short 71 nudState.toLEHex() + // NUD state
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | IpNeighborMonitor.java | 83 final short nudState; field in IpNeighborMonitor.NeighborEvent 87 short nudState, MacAddress macAddr) { in NeighborEvent() argument 92 this.nudState = nudState; in NeighborEvent() 97 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); in isConnected() 101 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); in isValid() 111 .add(StructNdMsg.stringForNudState(nudState)) in toString() 147 final short nudState = in processNetlinkMessage() local 153 whenMs, msgType, ifindex, destination, nudState, in processNetlinkMessage()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNdMsg.java | 45 public static String stringForNudState(short nudState) { in stringForNudState() argument 46 switch (nudState) { in stringForNudState() 57 return "unknown NUD state: " + String.valueOf(nudState); in stringForNudState() 61 public static boolean isNudStateConnected(short nudState) { in isNudStateConnected() argument 62 return ((nudState & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE)) != 0); in isNudStateConnected() 65 public static boolean isNudStateValid(short nudState) { in isNudStateValid() argument 66 return (isNudStateConnected(nudState) || in isNudStateValid() 67 ((nudState & (NUD_PROBE|NUD_STALE|NUD_DELAY)) != 0)); in isNudStateValid()
|
D | RtNetlinkNeighborMessage.java | 123 int seqNo, InetAddress ip, short nudState, int ifIndex, byte[] llAddr) { in newNewNeighborMessage() argument 134 msg.mNdmsg.ndm_state = nudState; in newNewNeighborMessage()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 243 if (event.nudState == StructNdMsg.NUD_FAILED) { 246 } else if (event.nudState == StructNdMsg.NUD_REACHABLE) { 351 if (val == null || val.nudState != StructNdMsg.NUD_FAILED) continue; 386 + StructNdMsg.stringForNudState(entry.getValue().nudState)); 390 if (val == null || val.nudState != StructNdMsg.NUD_REACHABLE) return;
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 770 private void recvNewNeigh(int ifindex, InetAddress addr, short nudState, MacAddress mac) { in recvNewNeigh() argument 772 nudState, mac)); in recvNewNeigh() 776 private void recvDelNeigh(int ifindex, InetAddress addr, short nudState, MacAddress mac) { in recvDelNeigh() argument 778 nudState, mac)); in recvDelNeigh()
|