Home
last modified time | relevance | path

Searched refs:nlmsg_len (Results 1 – 6 of 6) 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()
DConntrackMessage.java94 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest()
/frameworks/base/tests/net/java/android/net/netlink/
DNetlinkErrorMessageTest.java78 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
88 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk()
DRtNetlinkNeighborMessageTest.java159 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
186 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()