Searched refs:nlmsg_len (Results 1 – 12 of 12) sorted by relevance
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNlMsgHdr.java | 91 struct.nlmsg_len = byteBuffer.getInt(); in parse() 97 if (struct.nlmsg_len < STRUCT_SIZE) { in parse() 104 public int nlmsg_len; field in StructNlMsgHdr 111 nlmsg_len = 0; in StructNlMsgHdr() 122 byteBuffer.putInt(nlmsg_len); in pack() 151 + "nlmsg_len{" + nlmsg_len + "}, " in toString()
|
D | RtNetlinkNeighborMessage.java | 86 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse() 106 nlmsghdr.nlmsg_len = length; in newGetNeighborsRequest() 139 nlmsghdr.nlmsg_len = bytes.length; in newNewNeighborMessage()
|
D | ConntrackMessage.java | 207 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest() 269 header.nlmsg_len - kMinConsumed); in parse()
|
D | NetlinkMessage.java | 54 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse()
|
D | InetDiagMessage.java | 91 nlMsgHdr.nlmsg_len = bytes.length; in InetDiagReqV2()
|
/packages/modules/Connectivity/Tethering/jni/ |
D | com_android_networkstack_tethering_BpfUtils.cpp | 118 if (resp.h.nlmsg_len != (unsigned)rv) { in sendAndProcessNetlinkResponse() 120 "recv() returned invalid header length: %d != %d", resp.h.nlmsg_len, in sendAndProcessNetlinkResponse() 233 .nlmsg_len = sizeof(req), in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf() 315 .nlmsg_len = sizeof(req), in com_android_networkstack_tethering_BpfUtils_tcFilterDelDev()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkErrorMessageTest.java | 79 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk() 89 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk()
|
D | ConntrackMessageTest.java | 158 assertEquals(80, hdr.nlmsg_len); in testConntrackParseIPv4TcpTimeoutUpdate() 207 assertEquals(80, hdr.nlmsg_len); in testConntrackParseIPv4UdpTimeoutUpdate() 301 assertEquals(140, hdr.nlmsg_len); in testParseCtNew()
|
D | RtNetlinkNeighborMessageTest.java | 92 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh() 119 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
|
D | StructNlMsgHdrTest.java | 52 struct.nlmsg_len = TEST_NLMSG_LEN; in makeStructNlMsgHdr()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 223 final int nlmsgLen = nlmsghdr.nlmsg_len; in pollSocketsInfo()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 335 nlh.nlmsg_len = length; in sendIpv4NfGenMsg()
|