Home
last modified time | relevance | path

Searched refs:ESP_IP_VERSION_IPV6 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java26 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
480 } else if (expectedIpVersion == ESP_IP_VERSION_IPV6) { in verifyIpFamilySelection()
526 ESP_IP_VERSION_IPV6 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapNoneWithIpV4IpV6Remote()
535 ESP_IP_VERSION_IPV6 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapNoneWithIpV4Remote()
551 ESP_IP_VERSION_IPV6 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapNoneWithIpV6Remote()
611 ESP_IP_VERSION_IPV6, true /* remoteHasV4 */, false /* remoteHasV6 */, in testIpFamilySelectionV6WithIpV4Remote()
618 ESP_IP_VERSION_IPV6, false /* remoteHasV4 */, true /* remoteHasV6 */, in testIpFamilySelectionV6WithIpV6Remote()
619 ESP_IP_VERSION_IPV6 /* expectedIpVersion */); in testIpFamilySelectionV6WithIpV6Remote()
625 ESP_IP_VERSION_IPV6, true /* remoteHasV4 */, true /* remoteHasV6 */, in testIpFamilySelectionV6WithIpV4IpV6Remote()
626 ESP_IP_VERSION_IPV6 /* expectedIpVersion */); in testIpFamilySelectionV6WithIpV4IpV6Remote()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSession.java21 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
372 || (ipVersion == ESP_IP_VERSION_IPV6 && encapType == ESP_ENCAP_TYPE_UDP)) { in setNetwork()
DIkeSessionParams.java301 public static final int ESP_IP_VERSION_IPV6 = 6; field in IkeSessionParams
309 ESP_IP_VERSION_IPV6,
383 IP_VERSION_TO_STR.put(ESP_IP_VERSION_IPV6, "IPV6"); in IP_VERSION_TO_STR.put() argument
2104 && ESP_IP_VERSION_IPV6 != ipVersion) { in setIpVersion()
2347 || (mIpVersion == ESP_IP_VERSION_IPV6 && mEncapType == ESP_ENCAP_TYPE_UDP)) { in build()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionTest.java22 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
244 ESP_IP_VERSION_IPV6, in testThrowWhenSetNetworkWithInValidIpProtocol_v6UDP() local
DIkeSessionParamsTest.java22 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
421 .setIpVersion(ESP_IP_VERSION_IPV6) in testBuildWithInValidIpProtocol_v6UDP()
/packages/modules/IPsec/api/
Dmodule-lib-current.txt17 field public static final int ESP_IP_VERSION_IPV6 = 6; // 0x6
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java20 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
564 .setIpVersion(ESP_IP_VERSION_IPV6) in testSetIpVersion()
568 assertEquals(ESP_IP_VERSION_IPV6, sessionParams.getIpVersion()); in testSetIpVersion()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java26 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
1047 } else if (isIpVersionRequired(ESP_IP_VERSION_IPV6)) { in selectAndSetRemoteAddress()
1074 adjustedIpVersion = ESP_IP_VERSION_IPV6; in adjustIpVersionPreference()
1138 versions.add(ESP_IP_VERSION_IPV6); in getSupportedVersions()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
916 && ipVersion != ESP_IP_VERSION_IPV6) { in setNetwork()