Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java156 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmDelNeigh() local
157 assertNotNull(ndmsgHdr); in testParseRtmDelNeigh()
158 assertEquals((byte) OsConstants.AF_INET, ndmsgHdr.ndm_family); in testParseRtmDelNeigh()
159 assertEquals(21, ndmsgHdr.ndm_ifindex); in testParseRtmDelNeigh()
160 assertEquals(StructNdMsg.NUD_STALE, ndmsgHdr.ndm_state); in testParseRtmDelNeigh()
183 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmNewNeigh() local
184 assertNotNull(ndmsgHdr); in testParseRtmNewNeigh()
185 assertEquals((byte) OsConstants.AF_INET6, ndmsgHdr.ndm_family); in testParseRtmNewNeigh()
186 assertEquals(21, ndmsgHdr.ndm_ifindex); in testParseRtmNewNeigh()
187 assertEquals(StructNdMsg.NUD_STALE, ndmsgHdr.ndm_state); in testParseRtmNewNeigh()