Searched refs:nlmsg_type (Results 1 – 17 of 17) sorted by relevance
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNlMsgHdr.java | 92 struct.nlmsg_type = byteBuffer.getShort(); in parse() 105 public short nlmsg_type; field in StructNlMsgHdr 112 nlmsg_type = 0; in StructNlMsgHdr() 123 byteBuffer.putShort(nlmsg_type); in pack() 144 final String typeStr = "" + nlmsg_type in toString() 146 ? "" : NetlinkConstants.stringForNlMsgType(nlmsg_type, nlFamily)) in toString()
|
D | NetlinkMessage.java | 64 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { in parse() 105 switch (nlmsghdr.nlmsg_type) { in parseCtlMessage() 120 switch (nlmsghdr.nlmsg_type) { in parseRtMessage() 134 switch (nlmsghdr.nlmsg_type) { in parseInetDiagMessage() 144 switch (nlmsghdr.nlmsg_type) { in parseNfMessage()
|
D | InetDiagMessage.java | 92 nlMsgHdr.nlmsg_type = SOCK_DIAG_BY_FAMILY; in InetDiagReqV2() 125 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in lookupUidByFamily()
|
D | RtNetlinkNeighborMessage.java | 107 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; in newGetNeighborsRequest() 125 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage()
|
D | ConntrackMessage.java | 208 ctmsg.mHeader.nlmsg_type = (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8) in newIPv4TimeoutUpdateRequest() 464 return (short) (getHeader().nlmsg_type & ~(NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8)); in getMessageType()
|
/packages/modules/Connectivity/Tethering/jni/ |
D | com_android_networkstack_tethering_BpfUtils.cpp | 126 if (resp.h.nlmsg_type != NLMSG_ERROR) { in sendAndProcessNetlinkResponse() 128 "recv() did not return NLMSG_ERROR message: %d", resp.h.nlmsg_type); in sendAndProcessNetlinkResponse() 234 .nlmsg_type = RTM_NEWTFILTER, in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf() 316 .nlmsg_type = RTM_DELTFILTER, in com_android_networkstack_tethering_BpfUtils_tcFilterDelDev()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 93 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh() 120 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmNewNeigh() 149 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmGetNeighResponse()
|
D | NetlinkErrorMessageTest.java | 80 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk() 90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
|
D | NetlinkSocketTest.java | 85 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery() 90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
|
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 | StructNlMsgHdrTest.java | 53 struct.nlmsg_type = type; in makeStructNlMsgHdr()
|
D | InetDiagSocketTest.java | 262 assertEquals(NetlinkConstants.SOCK_DIAG_BY_FAMILY, hdr.nlmsg_type); in testParseInetDiagResponse()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 226 if (nlmsghdr.nlmsg_type == NLMSG_DONE) break; in pollSocketsInfo() 228 if (nlmsghdr.nlmsg_type != SOCK_DIAG_BY_FAMILY) { in pollSocketsInfo() 231 + nlmsghdr.nlmsg_type); in pollSocketsInfo()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
D | ConntrackSocketTest.java | 118 if (nlmsghdr.nlmsg_type == ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_NEW)) { in testIpv4ConntrackSocket()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | ConntrackMonitor.java | 80 this.msgType = msg.getHeader().nlmsg_type; in ConntrackEvent()
|
D | IpNeighborMonitor.java | 138 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 336 nlh.nlmsg_type = type; in sendIpv4NfGenMsg()
|