Home
last modified time | relevance | path

Searched refs:StructNdMsg (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DRtNetlinkNeighborMessage.java54 neighMsg.mNdmsg = StructNdMsg.parse(byteBuffer); in parse()
84 final int kMinConsumed = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in parse()
100 final int length = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in newGetNeighborsRequest()
112 final StructNdMsg ndmsg = new StructNdMsg(); in newGetNeighborsRequest()
130 msg.mNdmsg = new StructNdMsg(); in newNewNeighborMessage()
146 private StructNdMsg mNdmsg;
161 public StructNdMsg getNdHeader() { in getNdHeader()
182 int spaceRequired = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in getRequiredSpace()
DStructNdMsg.java30 public class StructNdMsg { class
105 public static StructNdMsg parse(ByteBuffer byteBuffer) { in parse()
111 final StructNdMsg struct = new StructNdMsg(); in parse()
128 public StructNdMsg() { in StructNdMsg() method in StructNdMsg
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java28 import android.net.netlink.StructNdMsg;
66 1, ip, StructNdMsg.NUD_PROBE, ifIndex, null); in startKernelNeighborProbe()
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()
139 final StructNdMsg ndMsg = neighMsg.getNdHeader(); in processNetlinkMessage()
149 ? StructNdMsg.NUD_NONE in processNetlinkMessage()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java21 import static android.net.netlink.StructNdMsg.NUD_STALE;
32 import android.net.netlink.StructNdMsg;
98 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmDelNeigh()
125 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmNewNeigh()
203 seqNo, Inet4Address.LOOPBACK, StructNdMsg.NUD_DELAY, ifIndex, llAddr); in testCreateRtmNewNeighMessage()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java33 import android.net.netlink.StructNdMsg;
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/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt26 import android.net.netlink.StructNdMsg.NUD_FAILED in <lambda>()
27 import android.net.netlink.StructNdMsg.NUD_STALE in <lambda>()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java36 import static android.net.netlink.StructNdMsg.NUD_FAILED;
37 import static android.net.netlink.StructNdMsg.NUD_REACHABLE;
38 import static android.net.netlink.StructNdMsg.NUD_STALE;