Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java36 public static final int NLA_HEADERLEN = 4; field in StructNlAttr
48 if (byteBuffer == null || byteBuffer.remaining() < NLA_HEADERLEN) { in peek()
64 if (struct.nla_len < NLA_HEADERLEN) { in peek()
78 byteBuffer.position(baseOffset + NLA_HEADERLEN); in parse()
81 valueLen -= NLA_HEADERLEN; in parse()
117 public short nla_len = (short) NLA_HEADERLEN;
273 nla_len = (short) (NLA_HEADERLEN + ((nla_value != null) ? nla_value.length : 0)); in setValue()
DRtNetlinkNeighborMessage.java185 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace()
189 StructNlAttr.NLA_HEADERLEN + mLinkLayerAddr.length); in getRequiredSpace()
200 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()