Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgHdr.java87 struct.nlmsg_len = byteBuffer.getInt(); in parse()
93 if (struct.nlmsg_len < STRUCT_SIZE) { in parse()
100 public int nlmsg_len; field in StructNlMsgHdr
107 nlmsg_len = 0; in StructNlMsgHdr()
118 byteBuffer.putInt(nlmsg_len); in pack()
132 + "nlmsg_len{" + nlmsg_len + "}, " in toString()
DRtNetlinkNeighborMessage.java103 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
123 nlmsghdr.nlmsg_len = length; in newGetNeighborsRequest()
156 nlmsghdr.nlmsg_len = bytes.length; in newNewNeighborMessage()
DNetlinkMessage.java45 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse()
DConntrackMessage.java86 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest()
DInetDiagMessage.java91 nlMsgHdr.nlmsg_len = bytes.length; in InetDiagReqV2()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkErrorMessageTest.java78 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
88 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk()
DRtNetlinkNeighborMessageTest.java91 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
118 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java222 final int nlmsgLen = nlmsghdr.nlmsg_len; in pollSocketsInfo()