Searched refs:ESP_IP_VERSION_IPV4 (Results 1 – 8 of 8) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionControllerTest.java | 25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 477 if (expectedIpVersion == ESP_IP_VERSION_IPV4) { in verifyIpFamilySelection() 559 ESP_IP_VERSION_IPV4 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapUdpWithIpV4IpV6Remote() 567 ESP_IP_VERSION_IPV4 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapUdpWithIpV4Remote() 576 ESP_IP_VERSION_IPV4 /* expectedIpVersion */); in testIpFamilySelectionAutoEncapUdpWithIpV6Remote() 590 ESP_IP_VERSION_IPV4, true /* remoteHasV4 */, true /* remoteHasV6 */, in testIpFamilySelectionV4WithIpV4IpV6Remote() 591 ESP_IP_VERSION_IPV4 /* expectedIpVersion */); in testIpFamilySelectionV4WithIpV4IpV6Remote() 597 ESP_IP_VERSION_IPV4, true /* remoteHasV4 */, false /* remoteHasV6 */, in testIpFamilySelectionV4WithIpV4Remote() 598 ESP_IP_VERSION_IPV4 /* expectedIpVersion */); in testIpFamilySelectionV4WithIpV4Remote() 604 ESP_IP_VERSION_IPV4, false /* remoteHasV4 */, true /* remoteHasV6 */, in testIpFamilySelectionV4WithIpV6Remote() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSession.java | 20 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 371 if ((ipVersion == ESP_IP_VERSION_IPV4 && encapType == ESP_ENCAP_TYPE_NONE) in setNetwork()
|
D | IkeSessionParams.java | 294 public static final int ESP_IP_VERSION_IPV4 = 4; field in IkeSessionParams 308 ESP_IP_VERSION_IPV4, 382 IP_VERSION_TO_STR.put(ESP_IP_VERSION_IPV4, "IPV4"); in IP_VERSION_TO_STR.put() argument 2103 && ESP_IP_VERSION_IPV4 != ipVersion in setIpVersion() 2346 if ((mIpVersion == ESP_IP_VERSION_IPV4 && mEncapType == ESP_ENCAP_TYPE_NONE) in build()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionTest.java | 21 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 225 ESP_IP_VERSION_IPV4, in testThrowWhenSetNetworkWithInValidIpProtocol_v4ESP() local
|
D | IkeSessionParamsTest.java | 21 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 413 .setIpVersion(ESP_IP_VERSION_IPV4) in testBuildWithInValidIpProtocol_v4ESP()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionController.java | 25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 1041 if (isIpVersionRequired(ESP_IP_VERSION_IPV4)) { in selectAndSetRemoteAddress() 1076 adjustedIpVersion = ESP_IP_VERSION_IPV4; in adjustIpVersionPreference() 1097 return (mIpVersion == ESP_IP_VERSION_AUTO || mIpVersion == ESP_IP_VERSION_IPV4) in isIpV4Preferred() 1135 versions.add(ESP_IP_VERSION_IPV4); in getSupportedVersions()
|
/packages/modules/IPsec/api/ |
D | module-lib-current.txt | 16 field public static final int ESP_IP_VERSION_IPV4 = 4; // 0x4
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 24 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4; 915 && ipVersion != ESP_IP_VERSION_IPV4 in setNetwork()
|