Home
last modified time | relevance | path

Searched refs:nudState (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkTestUtils.kt31 nudState: Short
35 nudState = nudState
43 nudState: Short
47 nudState = nudState
53 nudState: Short
69 nudState.toLEHex() + // NUD state
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java83 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/
DStructNdMsg.java45 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()
DRtNetlinkNeighborMessage.java140 int seqNo, InetAddress ip, short nudState, int ifIndex, byte[] llAddr) { in newNewNeighborMessage() argument
151 msg.mNdmsg.ndm_state = nudState; in newNewNeighborMessage()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java243 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;