Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DConntrackMessage.java238 StructNlAttr nlAttr = findNextAttrOfType(CTA_STATUS, byteBuffer); in parse() local
240 if (nlAttr != null) { in parse()
241 status = nlAttr.getValueAsBe32(0); in parse()
245 nlAttr = findNextAttrOfType(CTA_TIMEOUT, byteBuffer); in parse()
247 if (nlAttr != null) { in parse()
248 timeoutSec = nlAttr.getValueAsBe32(0); in parse()
252 nlAttr = findNextAttrOfType(makeNestedType(CTA_TUPLE_ORIG), byteBuffer); in parse()
254 if (nlAttr != null) { in parse()
255 tupleOrig = parseTuple(nlAttr.getValueAsByteBuffer()); in parse()
259 nlAttr = findNextAttrOfType(makeNestedType(CTA_TUPLE_REPLY), byteBuffer); in parse()
[all …]
DRtNetlinkNeighborMessage.java61 StructNlAttr nlAttr = StructNlAttr.findNextAttrOfType(NDA_DST, byteBuffer); in parse() local
62 if (nlAttr != null) { in parse()
63 neighMsg.mDestination = nlAttr.getValueAsInetAddress(); in parse()
67 nlAttr = StructNlAttr.findNextAttrOfType(NDA_LLADDR, byteBuffer); in parse()
68 if (nlAttr != null) { in parse()
69 neighMsg.mLinkLayerAddr = nlAttr.nla_value; in parse()
73 nlAttr = StructNlAttr.findNextAttrOfType(NDA_PROBES, byteBuffer); in parse()
74 if (nlAttr != null) { in parse()
75 neighMsg.mNumProbes = nlAttr.getValueAsInt(0); in parse()
79 nlAttr = StructNlAttr.findNextAttrOfType(NDA_CACHEINFO, byteBuffer); in parse()
[all …]
DStructNlAttr.java102 final StructNlAttr nlAttr = StructNlAttr.peek(byteBuffer); in findNextAttrOfType() local
103 if (nlAttr == null) { in findNextAttrOfType()
106 if (nlAttr.nla_type == attrType) { in findNextAttrOfType()
109 if (byteBuffer.remaining() < nlAttr.getAlignedLength()) { in findNextAttrOfType()
112 byteBuffer.position(byteBuffer.position() + nlAttr.getAlignedLength()); in findNextAttrOfType()