Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java154 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmDelNeigh() local
156 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh()
164 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmDelNeigh()
169 final InetAddress destination = neighMsg.getDestination(); in testParseRtmDelNeigh()
181 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmNewNeigh() local
183 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh()
191 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmNewNeigh()
196 final InetAddress destination = neighMsg.getDestination(); in testParseRtmNewNeigh()
211 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmGetNeighResponse() local
213 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmGetNeighResponse()
/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java75 final RtNetlinkNeighborMessage neighMsg = new RtNetlinkNeighborMessage(header); in parse() local
77 neighMsg.mNdmsg = StructNdMsg.parse(byteBuffer); in parse()
78 if (neighMsg.mNdmsg == null) { in parse()
86 neighMsg.mDestination = nlAttr.getValueAsInetAddress(); in parse()
92 neighMsg.mLinkLayerAddr = nlAttr.nla_value; in parse()
98 neighMsg.mNumProbes = nlAttr.getValueAsInt(0); in parse()
104 neighMsg.mCacheInfo = StructNdaCacheInfo.parse(nlAttr.getValueAsByteBuffer()); in parse()
109 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
116 return neighMsg; in parse()