Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java47 public IkeSecurityParameterIndex allocateSpi(InetAddress sourceAddress) throws IOException { in allocateSpi()
52 || !IkeSecurityParameterIndex.sAssignedIkeSpis.add( in allocateSpi()
54 return new IkeSecurityParameterIndex(sourceAddress, spi); in allocateSpi()
62 public IkeSecurityParameterIndex allocateSpi(InetAddress sourceAddress, long requestedSpi) in allocateSpi()
64 if (IkeSecurityParameterIndex.sAssignedIkeSpis.add( in allocateSpi()
66 return new IkeSecurityParameterIndex(sourceAddress, requestedSpi); in allocateSpi()
DIkeSecurityParameterIndex.java42 public final class IkeSecurityParameterIndex implements AutoCloseable { class
52 IkeSecurityParameterIndex(InetAddress sourceAddress, long spi) { in IkeSecurityParameterIndex() method in IkeSecurityParameterIndex
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java42 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
284 IkeSecurityParameterIndex initSpi = ikeSaRecordConfig.initSpi; in makeIkeSaRecord()
285 IkeSecurityParameterIndex respSpi = ikeSaRecordConfig.respSpi; in makeIkeSaRecord()
651 private final IkeSecurityParameterIndex mInitiatorSpiResource;
653 private final IkeSecurityParameterIndex mResponderSpiResource;
671 IkeSecurityParameterIndex initSpi, in IkeSaRecord()
672 IkeSecurityParameterIndex respSpi, in IkeSaRecord()
720 IkeSecurityParameterIndex initSpi, in makeFirstIkeSaRecord()
721 IkeSecurityParameterIndex respSpi, in makeFirstIkeSaRecord()
746 IkeSecurityParameterIndex initSpi, in makeRekeyedIkeSaRecord()
[all …]
DIkeSessionStateMachine.java156 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
2946 private IkeSecurityParameterIndex mLocalIkeSpiResource;
2947 private IkeSecurityParameterIndex mRemoteIkeSpiResource;
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java58 import com.android.internal.net.ipsec.test.ike.utils.IkeSecurityParameterIndex;
179 IkeSecurityParameterIndex ikeInitSpi = in testMakeIkeSaRecord()
181 IkeSecurityParameterIndex ikeRespSpi = in testMakeIkeSaRecord()
DIkeSessionStateMachineTest.java201 import com.android.internal.net.ipsec.test.ike.utils.IkeSecurityParameterIndex;
1400 IkeSecurityParameterIndex ikeSpiOne = IKE_SPI_GENERATOR.allocateSpi(LOCAL_ADDRESS); in testAllocateIkeSpi()
1401 IkeSecurityParameterIndex ikeSpiTwo = IKE_SPI_GENERATOR.allocateSpi(LOCAL_ADDRESS); in testAllocateIkeSpi()
1416 IkeSecurityParameterIndex ikeSpiThree = in testAllocateIkeSpi()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java41 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
759 private IkeSecurityParameterIndex mIkeSpiResource;
782 IkeSecurityParameterIndex ikeSpiResource, in IkeProposal()
808 IkeSecurityParameterIndex spiResource = in createIkeProposal()
842 public IkeSecurityParameterIndex getIkeSpiResource() { in getIkeSpiResource()