Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java88 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmDelNeigh() local
90 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh()
98 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmDelNeigh()
103 final InetAddress destination = neighMsg.getDestination(); in testParseRtmDelNeigh()
115 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmNewNeigh() local
117 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh()
125 final StructNdMsg ndmsgHdr = neighMsg.getNdHeader(); in testParseRtmNewNeigh()
130 final InetAddress destination = neighMsg.getDestination(); in testParseRtmNewNeigh()
145 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) msg; in testParseRtmGetNeighResponse() local
147 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmGetNeighResponse()
[all …]
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DRtNetlinkNeighborMessage.java52 final RtNetlinkNeighborMessage neighMsg = new RtNetlinkNeighborMessage(header); in parse() local
54 neighMsg.mNdmsg = StructNdMsg.parse(byteBuffer); in parse()
55 if (neighMsg.mNdmsg == null) { in parse()
63 neighMsg.mDestination = nlAttr.getValueAsInetAddress(); in parse()
69 neighMsg.mLinkLayerAddr = nlAttr.nla_value; in parse()
75 neighMsg.mNumProbes = nlAttr.getValueAsInt(0); in parse()
81 neighMsg.mCacheInfo = StructNdaCacheInfo.parse(nlAttr.getValueAsByteBuffer()); in parse()
86 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
93 return neighMsg; in parse()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java137 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) nlMsg; in processNetlinkMessage() local
138 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage()
139 final StructNdMsg ndMsg = neighMsg.getNdHeader(); in processNetlinkMessage()
146 final InetAddress destination = neighMsg.getDestination(); in processNetlinkMessage()
154 getMacAddress(neighMsg.getLinkLayerAddress())); in processNetlinkMessage()
157 Log.d(TAG, neighMsg.toString()); in processNetlinkMessage()