Home
last modified time | relevance | path

Searched refs:IPPROTO_UDP (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DIpSecManagerTest.java28 import static android.system.OsConstants.IPPROTO_UDP;
119 Os.socket(getDomain(address), OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP); in getBoundUdpSocket()
486 } else if (protocol == IPPROTO_UDP) { in checkTransform()
669 checkTransform(IPPROTO_UDP, IPV4_LOOPBACK, crypt, auth, null, false, 1000, false); in testInterfaceCountersUdp4()
676 checkTransform(IPPROTO_UDP, IPV6_LOOPBACK, crypt, auth, null, false, 1000, false); in testInterfaceCountersUdp6()
683 checkTransform(IPPROTO_UDP, IPV4_LOOPBACK, crypt, auth, null, true, 1000, false); in testInterfaceCountersUdp4UdpEncap()
706 checkTransform(IPPROTO_UDP, IPV4_LOOPBACK, crypt, auth, null, false, 1, false); in testAesCbcHmacMd5Udp4()
707 checkTransform(IPPROTO_UDP, IPV4_LOOPBACK, crypt, auth, null, false, 1, true); in testAesCbcHmacMd5Udp4()
714 checkTransform(IPPROTO_UDP, IPV6_LOOPBACK, crypt, auth, null, false, 1, false); in testAesCbcHmacMd5Udp6()
715 checkTransform(IPPROTO_UDP, IPV6_LOOPBACK, crypt, auth, null, false, 1, true); in testAesCbcHmacMd5Udp6()
[all …]
DTunUtils.java23 import static android.system.OsConstants.IPPROTO_UDP;
186 return pkt[IP4_PROTO_OFFSET] == IPPROTO_UDP in isEsp()
DPacketUtils.java20 import static android.system.OsConstants.IPPROTO_UDP;
241 return IPPROTO_UDP; in getProtocolId()
DIpSecBaseTest.java343 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair()
345 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java46 private static final byte IPPROTO_UDP = 17; field in PacketReflector
241 case IPPROTO_UDP: in processPacket()
DVpnTest.java444 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_UDP, loc, rem); in checkConnectionOwnerUidUdp()
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp353 int fd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork()
399 .ai_protocol = IPPROTO_UDP, in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()