Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNlAttr.java103 struct.nla_value = new byte[valueLen]; in parse()
104 byteBuffer.get(struct.nla_value, 0, valueLen); in parse()
139 public byte[] nla_value; field in StructNlAttr
146 nla_value[0] = value; in StructNlAttr()
288 if (nla_value == null) return null; in getValueAsByteBuffer()
289 final ByteBuffer byteBuffer = ByteBuffer.wrap(nla_value); in getValueAsByteBuffer()
348 if (nla_value == null) return null; in getValueAsInetAddress()
351 return InetAddress.getByAddress(nla_value); in getValueAsInetAddress()
366 if (nla_value == null) return null; in getValueAsMacAddress()
369 return MacAddress.fromBytes(nla_value); in getValueAsMacAddress()
[all …]
DNduseroptMessage.java121 if (nla == null || nla.nla_type != NDUSEROPT_SRCADDR || nla.nla_value == null) { in NduseroptMessage()
126 srcaddr = Inet6Address.getByAddress(null /* hostname */, nla.nla_value, ifindex); in NduseroptMessage()
128 srcaddr = InetAddress.getByAddress(nla.nla_value); in NduseroptMessage()
DRtNetlinkNeighborMessage.java79 neighMsg.mLinkLayerAddr = nlAttr.nla_value; in parse()
209 nlAttr.nla_value = nlValue; in packNlAttr()
210 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DInetDiagSocketTest.java472 inetDiagMsg.nlAttrs.get(0).nla_value); in assertInetDiagMsg2()
477 inetDiagMsg.nlAttrs.get(1).nla_value); in assertInetDiagMsg2()
480 assertNull(inetDiagMsg.nlAttrs.get(2).nla_value); in assertInetDiagMsg2()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/
DXfrmNetlinkNewSaMessage.java103 final ByteBuffer attrValueBuff = ByteBuffer.wrap(attr.nla_value); in parseInternal()