Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/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()
66 if (struct.nla_len < NLA_HEADERLEN) { in peek()
80 byteBuffer.position(baseOffset + NLA_HEADERLEN); in parse()
83 valueLen -= NLA_HEADERLEN; in parse()
92 public short nla_len = (short) NLA_HEADERLEN;
199 nla_len = (short) (NLA_HEADERLEN + ((nla_value != null) ? nla_value.length : 0)); in setValue()
DRtNetlinkNeighborMessage.java208 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace()
212 StructNlAttr.NLA_HEADERLEN + mLinkLayerAddr.length); in getRequiredSpace()
223 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()