/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructNlMsgHdr.java | 109 struct.nlmsg_type = byteBuffer.getShort(); in parse() 122 public short nlmsg_type; field in StructNlMsgHdr 129 nlmsg_type = 0; in StructNlMsgHdr() 137 nlmsg_type = type; in StructNlMsgHdr() 151 byteBuffer.putShort(nlmsg_type); in pack() 172 final String typeStr = "" + nlmsg_type in toString() 174 ? "" : NetlinkConstants.stringForNlMsgType(nlmsg_type, nlFamily)) in toString()
|
D | NetlinkMessage.java | 69 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { in parse() 121 switch (nlmsghdr.nlmsg_type) { in parseCtlMessage() 136 switch (nlmsghdr.nlmsg_type) { in parseRtMessage() 160 switch (nlmsghdr.nlmsg_type) { in parseInetDiagMessage() 170 switch (nlmsghdr.nlmsg_type) { in parseNfMessage()
|
D | NetlinkUtils.java | 108 if (nlmsghdr == null || nlmsghdr.nlmsg_type != NetlinkConstants.NLMSG_ERROR) { in parseNetlinkErrorMessage() 365 if (nlMsg.getHeader().nlmsg_type == NLMSG_DONE) { in getAndProcessNetlinkDumpMessagesWithFd() 411 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETROUTE; in newIpv6MulticastRouteDumpRequest()
|
D | RtNetlinkNeighborMessage.java | 117 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; in newGetNeighborsRequest() 135 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage()
|
D | RtNetlinkAddressMessage.java | 194 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWADDR; in newRtmNewAddressMessage() 235 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_DELADDR; in newRtmDelAddressMessage()
|
D | ConntrackMessage.java | 211 ctmsg.mHeader.nlmsg_type = (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8) in newIPv4TimeoutUpdateRequest() 472 return (short) (getHeader().nlmsg_type & ~(NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8)); in getMessageType()
|
D | InetDiagMessage.java | 149 nlMsgHdr.nlmsg_type = type; in inetDiagReqV2() 215 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in lookupUidByFamily()
|
/packages/modules/Connectivity/staticlibs/native/tcutils/ |
D | tcutils.cpp | 173 .nlmsg_type = RTM_NEWTFILTER, in IngressPoliceFilterBuilder() 442 if (resp.h.nlmsg_type != NLMSG_ERROR) { in sendAndProcessNetlinkResponse() 444 resp.h.nlmsg_type); in sendAndProcessNetlinkResponse() 540 .nlmsg_type = nlMsgType, in doTcQdiscClsact() 604 .nlmsg_type = RTM_NEWTFILTER, in tcAddBpfFilter() 713 .nlmsg_type = RTM_DELTFILTER, in tcDeleteFilter()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 89 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh() 116 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmNewNeigh() 145 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmGetNeighResponse()
|
D | NetlinkErrorMessageTest.java | 76 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk() 86 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
|
D | NetlinkUtilsTest.java | 119 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testGetNeighborsQuery() 150 assertEquals(NetlinkConstants.RTM_NEWADDR, nlmsghdr.nlmsg_type); in testBasicWorkingGetAddrQuery() 187 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETADDR; in newGetAddrRequest()
|
D | ConntrackMessageTest.java | 159 assertEquals(makeCtType(IPCTNL_MSG_CT_NEW), hdr.nlmsg_type); in testConntrackParseIPv4TcpTimeoutUpdate() 208 assertEquals(makeCtType(IPCTNL_MSG_CT_NEW), hdr.nlmsg_type); in testConntrackParseIPv4UdpTimeoutUpdate() 302 assertEquals(makeCtType(IPCTNL_MSG_CT_NEW), hdr.nlmsg_type); in testParseCtNew()
|
D | RtNetlinkRouteMessageTest.java | 73 assertEquals(NetlinkConstants.RTM_NEWROUTE, hdr.nlmsg_type); in assertRtmRouteMessage() 161 assertEquals(NetlinkConstants.RTM_NEWROUTE, hdr.nlmsg_type); in testParseRtmNewRoute_MulticastIpv6()
|
D | StructNlMsgHdrTest.java | 58 struct.nlmsg_type = type; in makeStructNlMsgHdr()
|
D | RtNetlinkLinkMessageTest.java | 74 assertEquals(NetlinkConstants.RTM_NEWLINK, hdr.nlmsg_type); in testParseRtmNewLink()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/ |
D | SocketNetlinkMonitor.java | 66 switch (msg.getHeader().nlmsg_type) { in processRtNetlinkAddressMessage() 76 mSharedLog.e("Unknown rtnetlink address msg type " + msg.getHeader().nlmsg_type); in processRtNetlinkAddressMessage()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/internal/ |
D | SocketNetlinkMonitorTest.kt | 55 nlmsg_type = NetlinkConstants.RTM_NEWADDR in testHandleDeprecatedNetlinkMessage() 84 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_DELADDR in testHandleDeprecatedNetlinkMessage()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 533 final short nlMsgType = msg.getHeader().nlmsg_type; in processRtNetlinkLinkMessage() 586 switch (msg.getHeader().nlmsg_type) { in processRtNetlinkAddressMessage() 598 Log.e(mTag, "Unknown rtnetlink address msg type " + msg.getHeader().nlmsg_type); in processRtNetlinkAddressMessage() 616 switch (msg.getHeader().nlmsg_type) { in processRtNetlinkRouteMessage() 628 Log.e(mTag, "Unknown rtnetlink route msg type " + msg.getHeader().nlmsg_type); in processRtNetlinkRouteMessage()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | IpSecXfrmController.java | 156 final int msgType = msg.getHeader().nlmsg_type; in sendRequestAndGetResponse() 179 final int messageType = msg.getHeader().nlmsg_type; in ipSecGetSa()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
D | XfrmNetlinkMessage.java | 69 switch (nlmsghdr.nlmsg_type) { in parseXfrmInternal()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Netlink.cpp | 64 << "len: 0x" << hdr.nlmsg_len << ", type: 0x" << hdr.nlmsg_type << ", flags: 0x" in operator <<()
|
D | NetlinkListener.cpp | 114 const auto& fn = findWithDefault(mDispatchMap, nlmsg.nlmsg_type, kDefaultDispatchFn); in run()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 407 if (nlmsghdr.nlmsg_type == NLMSG_DONE) { in getLengthAndVerifyMsgHeader() 411 if (nlmsghdr.nlmsg_type != SOCK_DIAG_BY_FAMILY) { in getLengthAndVerifyMsgHeader() 414 + nlmsghdr.nlmsg_type); in getLengthAndVerifyMsgHeader()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/ |
D | ConntrackMonitor.java | 85 this.msgType = msg.getHeader().nlmsg_type; in ConntrackEvent()
|
D | IpNeighborMonitor.java | 153 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage()
|