Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java83 struct.nla_value = new byte[valueLen]; in parse()
84 byteBuffer.get(struct.nla_value, 0, valueLen); in parse()
119 public byte[] nla_value; field in StructNlAttr
126 nla_value[0] = value; in StructNlAttr()
218 if (nla_value == null) { return null; } in getValueAsByteBuffer()
219 final ByteBuffer byteBuffer = ByteBuffer.wrap(nla_value); in getValueAsByteBuffer()
247 if (nla_value == null) { return null; } in getValueAsInetAddress()
250 return InetAddress.getByAddress(nla_value); in getValueAsInetAddress()
264 if (nla_value != null) byteBuffer.put(nla_value); in pack()
272 nla_value = value; in setValue()
[all …]
DNduseroptMessage.java100 if (nla == null || nla.nla_type != NDUSEROPT_SRCADDR || nla.nla_value == null) { in NduseroptMessage()
105 srcaddr = Inet6Address.getByAddress(null /* hostname */, nla.nla_value, ifindex); in NduseroptMessage()
107 srcaddr = InetAddress.getByAddress(nla.nla_value); in NduseroptMessage()
DRtNetlinkNeighborMessage.java69 neighMsg.mLinkLayerAddr = nlAttr.nla_value; in parse()
199 nlAttr.nla_value = nlValue; in packNlAttr()
200 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()