/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructNlMsgHdr.java | 108 struct.nlmsg_len = byteBuffer.getInt(); in parse() 114 if (struct.nlmsg_len < STRUCT_SIZE) { in parse() 121 public int nlmsg_len; field in StructNlMsgHdr 128 nlmsg_len = 0; in StructNlMsgHdr() 136 nlmsg_len = StructNlMsgHdr.STRUCT_SIZE + payloadLen; in StructNlMsgHdr() 150 byteBuffer.putInt(nlmsg_len); in pack() 179 + "nlmsg_len{" + nlmsg_len + "}, " in toString()
|
D | RtNetlinkNeighborMessage.java | 96 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse() 116 nlmsghdr.nlmsg_len = length; in newGetNeighborsRequest() 149 nlmsghdr.nlmsg_len = bytes.length; in newNewNeighborMessage()
|
D | RtNetlinkAddressMessage.java | 211 nlmsghdr.nlmsg_len = bytes.length; in newRtmNewAddressMessage() 234 nlmsghdr.nlmsg_len = length; in newRtmDelAddressMessage()
|
D | NetlinkUtils.java | 112 final int messageLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parseNetlinkErrorMessage() 431 nlmsghdr.nlmsg_len = spaceRequired; in newIpv6MulticastRouteDumpRequest()
|
D | ConntrackMessage.java | 210 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest() 274 header.nlmsg_len - kMinConsumed); in parse()
|
D | InetDiagMessage.java | 148 nlMsgHdr.nlmsg_len = bytes.length; in inetDiagReqV2() 179 final int payloadLength = header.nlmsg_len - SOCKDIAG_MSG_HEADER_SIZE; in parse()
|
D | NetlinkMessage.java | 59 final int messageLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse()
|
/packages/modules/Connectivity/staticlibs/native/tcutils/ |
D | tcutils.cpp | 172 .nlmsg_len = sizeof(mRequest), in IngressPoliceFilterBuilder() 436 if (resp.h.nlmsg_len != (unsigned)rv) { in sendAndProcessNetlinkResponse() 438 resp.h.nlmsg_len, rv); in sendAndProcessNetlinkResponse() 539 .nlmsg_len = sizeof(req), in doTcQdiscClsact() 603 .nlmsg_len = sizeof(req), in tcAddBpfFilter() 712 .nlmsg_len = sizeof(req), in tcDeleteFilter()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Netlink.cpp | 32 const auto len = std::max<size_t>(hdr.nlmsg_len, sizeof(hdr)); in forEachNetlinkMessage() 64 << "len: 0x" << hdr.nlmsg_len << ", type: 0x" << hdr.nlmsg_type << ", flags: 0x" in operator <<()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | NetlinkErrorMessageTest.java | 75 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk() 85 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 | 88 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh() 115 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
|
D | RtNetlinkRouteMessageTest.java | 72 assertEquals(136, hdr.nlmsg_len); in assertRtmRouteMessage() 160 assertEquals(136, hdr.nlmsg_len); in testParseRtmNewRoute_MulticastIpv6()
|
D | StructNlMsgHdrTest.java | 57 struct.nlmsg_len = TEST_NLMSG_LEN; in makeStructNlMsgHdr()
|
D | RtNetlinkLinkMessageTest.java | 73 assertEquals(100, hdr.nlmsg_len); in testParseRtmNewLink()
|
D | RtNetlinkAddressMessageTest.java | 81 assertEquals(72, hdr.nlmsg_len); in testParseRtmNewAddress()
|
D | NetlinkUtilsTest.java | 186 nlmsghdr.nlmsg_len = length; in newGetAddrRequest()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
D | XfrmNetlinkNewSaMessage.java | 93 final int payloadLen = nlmsghdr.nlmsg_len - StructNlMsgHdr.STRUCT_SIZE; in parseInternal()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 250 nlh.nlmsg_len = length; in sendIpv4NfGenMsg()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | TunInterfaceController.java | 405 header.nlmsg_len = msgLength; in setAddrGenModeToNone()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 418 return nlmsghdr.nlmsg_len; in getLengthAndVerifyMsgHeader()
|