Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgHdr.java88 struct.nlmsg_len = byteBuffer.getInt(); in parse()
94 if (struct.nlmsg_len < STRUCT_SIZE) { in parse()
101 public int nlmsg_len; field in StructNlMsgHdr
108 nlmsg_len = 0; in StructNlMsgHdr()
119 byteBuffer.putInt(nlmsg_len); in pack()
133 + "nlmsg_len{" + nlmsg_len + "}, " in toString()
DRtNetlinkNeighborMessage.java109 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
129 nlmsghdr.nlmsg_len = length; in newGetNeighborsRequest()
162 nlmsghdr.nlmsg_len = bytes.length; in newNewNeighborMessage()
DNetlinkMessage.java52 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse()
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DNetlinkErrorMessageTest.java66 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
76 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk()
DRtNetlinkNeighborMessageTest.java148 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
174 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()