Home
last modified time | relevance | path

Searched refs:NFNL_SUBSYS_CTNETLINK (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java25 import static com.android.networkstack.tethering.OffloadHardwareInterface.NFNL_SUBSYS_CTNETLINK;
100 (short) ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_GET), in testIpv4ConntrackSocket()
118 if (nlmsghdr.nlmsg_type == ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_NEW)) { in testIpv4ConntrackSocket()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkMessage.java145 case NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 in parseNfMessage()
147 case NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 in parseNfMessage()
DNetlinkConstants.java112 public static final short NFNL_SUBSYS_CTNETLINK = 1; field in NetlinkConstants
190 case NFNL_SUBSYS_CTNETLINK: in stringForNfMsgType()
DConntrackMessage.java208 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/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkConstantsTest.java27 import static android.net.netlink.NetlinkConstants.NFNL_SUBSYS_CTNETLINK;
70 return (short) (NFNL_SUBSYS_CTNETLINK << 8 | (byte) msgType); in makeCtType()
DConntrackMessageTest.java20 import static android.net.netlink.NetlinkConstants.NFNL_SUBSYS_CTNETLINK;
51 return (short) (NFNL_SUBSYS_CTNETLINK << 8 | (byte) msgType); in makeCtType()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java80 public static final short NFNL_SUBSYS_CTNETLINK = 1; field in OffloadHardwareInterface
298 sendIpv4NfGenMsg(h1, (short) ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_GET), in initOffloadConfig()
DBpfCoordinator.java1581 if (e.msgType == (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 in accept()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DConntrackMonitorTest.java208 (short) (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 | msgType), in makeTestConntrackEvent()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java1384 (short) (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 | msgType), in makeTestConntrackEvent()