Home
last modified time | relevance | path

Searched refs:RTM_NEWNEIGH (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java58 public static final byte[] RTM_NEWNEIGH = makeNewNeighMessage( field in RtNetlinkNeighborMessageTest
110 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH); in testParseRtmNewNeigh()
120 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmNewNeigh()
149 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmGetNeighResponse()
DNetlinkTestUtils.kt22 import android.net.netlink.NetlinkConstants.RTM_NEWNEIGH
36 type = RTM_NEWNEIGH,
DNetlinkConstantsTest.java45 import static android.net.netlink.NetlinkConstants.RTM_NEWNEIGH;
85 assertEquals("RTM_NEWNEIGH", stringForNlMsgType(RTM_NEWNEIGH, NETLINK_ROUTE)); in testStringForNlMsgType()
DNetlinkErrorMessageTest.java90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
DNetlinkSocketTest.java90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkConstants.java101 public static final short RTM_NEWNEIGH = 28; field in NetlinkConstants
160 case RTM_NEWNEIGH: return "RTM_NEWNEIGH"; in stringForRtMsgType()
DNetlinkMessage.java121 case NetlinkConstants.RTM_NEWNEIGH: in parseRtMessage()
DRtNetlinkNeighborMessage.java125 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java35 import static android.net.netlink.NetlinkConstants.RTM_NEWNEIGH;
771 mNeighborEventConsumer.accept(new NeighborEvent(0, RTM_NEWNEIGH, ifindex, addr, in recvNewNeigh()