Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DConntrackMonitorTest.java23 import static android.net.netlink.NetlinkConstants.IPCTNL_MSG_CT_NEW;
219 final ConntrackEvent expectedEvent = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testConntrackEventNew()
227 final ConntrackEvent event1 = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventEquals()
229 final ConntrackEvent event2 = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventEquals()
236 final ConntrackEvent e = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventNotEquals()
262 final ConntrackEvent event = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testToString()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DConntrackMessageTest.java19 import static android.net.netlink.NetlinkConstants.IPCTNL_MSG_CT_NEW;
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()
DNetlinkConstantsTest.java26 import static android.net.netlink.NetlinkConstants.IPCTNL_MSG_CT_NEW;
97 stringForNlMsgType(makeCtType(IPCTNL_MSG_CT_NEW), NETLINK_NETFILTER)); in testStringForNlMsgType()
128 assertTrue(stringForNlMsgType(makeCtType(IPCTNL_MSG_CT_NEW), UNKNOWN_FAMILY) in testStringForNlMsgType_UnknownFamily()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkConstants.java114 public static final short IPCTNL_MSG_CT_NEW = 0; field in NetlinkConstants
192 case IPCTNL_MSG_CT_NEW: return "IPCTNL_MSG_CT_NEW"; in stringForNfMsgType()
DNetlinkMessage.java146 | NetlinkConstants.IPCTNL_MSG_CT_NEW: in parseNfMessage()
DConntrackMessage.java209 | NetlinkConstants.IPCTNL_MSG_CT_NEW; in newIPv4TimeoutUpdateRequest()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java24 import static com.android.networkstack.tethering.OffloadHardwareInterface.IPCTNL_MSG_CT_NEW;
118 if (nlmsghdr.nlmsg_type == ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_NEW)) { in testIpv4ConntrackSocket()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java33 import static android.net.netlink.NetlinkConstants.IPCTNL_MSG_CT_NEW;
1373 if (msgType != IPCTNL_MSG_CT_NEW && msgType != IPCTNL_MSG_CT_DELETE) { in makeTestConntrackEvent()
1380 final int status = (msgType == IPCTNL_MSG_CT_NEW) ? ESTABLISHED_MASK : DYING_MASK; in makeTestConntrackEvent()
1381 final int timeoutSec = (msgType == IPCTNL_MSG_CT_NEW) ? 100 /* nonzero, new */ in makeTestConntrackEvent()
1462 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_TCP)); in testSetDataLimitOnRule4Change()
1471 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_UDP)); in testSetDataLimitOnRule4Change()
1522 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_TCP)); in testAddDevMapRule4()
1529 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_UDP)); in testAddDevMapRule4()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DConntrackMonitor.java136 if (msg.getMessageType() != NetlinkConstants.IPCTNL_MSG_CT_NEW) return false; in isEstablishedNatSession()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java81 public static final short IPCTNL_MSG_CT_NEW = 0; field in OffloadHardwareInterface