Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DRtNetlinkNeighborMessage.java71 neighMsg.mNdmsg = StructNdMsg.parse(byteBuffer); in parse()
101 final int kMinConsumed = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in parse()
117 final int length = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in newGetNeighborsRequest()
129 final StructNdMsg ndmsg = new StructNdMsg(); in newGetNeighborsRequest()
147 msg.mNdmsg = new StructNdMsg(); in newNewNeighborMessage()
163 private StructNdMsg mNdmsg;
178 public StructNdMsg getNdHeader() { in getNdHeader()
199 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;
31 import android.net.netlink.StructNdMsg;
97 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmDelNeigh()
124 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmNewNeigh()
195 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>()