Home
last modified time | relevance | path

Searched defs:spi (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/
DStructXfrmId.java47 public final long spi; field in StructXfrmId
55 public StructXfrmId(@NonNull final byte[] nestedStructDAddr, long spi, short proto) { in StructXfrmId()
64 public StructXfrmId(@NonNull final InetAddress destAddress, long spi, short proto) { in StructXfrmId()
DStructXfrmUsersaId.java50 public final long spi; field in StructXfrmUsersaId
62 @NonNull final byte[] nestedStructDAddr, long spi, int family, short proto) { in StructXfrmUsersaId()
73 @NonNull final InetAddress destAddress, long spi, int family, short proto) { in StructXfrmUsersaId()
DXfrmNetlinkGetSaMessage.java60 long spi, in XfrmNetlinkGetSaMessage()
99 @NonNull final InetAddress destAddress, long spi, short proto) { in newXfrmNetlinkGetSaMessage()
DStructXfrmUsersaInfo.java132 long spi, in StructXfrmUsersaInfo()
172 long spi, in StructXfrmUsersaInfo()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTunUtils.java141 int spi, byte[] plaintext, boolean useEncap, int expectedPacketSize) throws Exception { in awaitEspPacketNoPlaintext()
149 public byte[] awaitEspPacket(int spi, boolean useEncap) throws Exception { in awaitEspPacket()
153 private static boolean isSpiEqual(byte[] pkt, int espOffset, int spi) { in isSpiEqual()
171 byte[] pkt, int spi, boolean encap, byte[] plaintext) { in isEspFailIfSpecifiedPlaintextFound()
179 private static boolean isEsp(byte[] pkt, int spi, boolean encap) { in isEsp()
DIpSecManagerTunnelTest.java252 try (IpSecManager.SecurityParameterIndex spi = in testSecurityExceptionBuildTunnelTransformWithoutAppop()
354 int spi, in getIpSecTunnelTestRunnable()
367 int spi, in getIpSecTunnelTestRunnable()
DIpSecManagerTest.java278 SecurityParameterIndex spi, InetAddress localAddr, in buildTransportModeTransform()
321 SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex(localAddr); in doTestCreateTransform()
DPacketUtils.java357 public final int spi; field in PacketUtils.EspHeader
371 public EspHeader(int nextHeader, int spi, int seqNum, byte[] key, byte[] payload) { in EspHeader()
386 int spi, in EspHeader()
545 public abstract byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText()
565 public byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText()
581 public byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText()
631 public byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTunUtils.java154 public byte[] getEspPacket(int spi, boolean encap, int startIndex) { in getEspPacket()
163 int spi, byte[] plaintext, boolean useEncap, int expectedPacketSize) throws Exception { in awaitEspPacketNoPlaintext()
193 private static boolean isSpiEqual(byte[] pkt, int espOffset, int spi) { in isSpiEqual()
201 private static boolean isEsp(byte[] pkt, int spi, boolean encap) { in isEsp()
DIkeExceptionTest.java110 final int spi = 0xc9d8d742; in testInvalidSelectorsException() local
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DChildSaNotFoundException.java46 public ChildSaNotFoundException(int spi) { in ChildSaNotFoundException()
58 public ChildSaNotFoundException(int spi, byte[] notifyData) { in ChildSaNotFoundException()
DInvalidSelectorsException.java54 public InvalidSelectorsException(int spi, @NonNull byte[] packetInfo) { in InvalidSelectorsException()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java48 long spi; in allocateSpi() local
DIkeSecurityParameterIndex.java52 IkeSecurityParameterIndex(InetAddress sourceAddress, long spi) { in IkeSecurityParameterIndex()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java216 public final void registerIke(long spi, Callback callback) { in registerIke()
225 public final void unregisterIke(long spi) { in unregisterIke()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecTransform.java383 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTransportModeTransform()
422 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTunnelModeTransform()
DIpSecSpiResponse.java32 public final int spi; field in IpSecSpiResponse
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java76 public static IpSecSpiResponse buildDummyIpSecSpiResponse(int spi) throws Exception { in buildDummyIpSecSpiResponse()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl22 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi()
23 …ceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, i… in ipSecAddSecurityAssociation()
24 …utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, i… in ipSecDeleteSecurityAssociation()
25 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform()
27 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecAddSecurityPolicy()
28 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecUpdateSecurityPolicy()
/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecTransformTest.java139 final IpSecManager.SecurityParameterIndex spi = in buildTestTransform() local
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi()
41 …ceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, i… in ipSecAddSecurityAssociation()
42 …utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, i… in ipSecDeleteSecurityAssociation()
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform()
45 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecAddSecurityPolicy()
46 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecUpdateSecurityPolicy()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi()
41 …ceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, i… in ipSecAddSecurityAssociation()
42 …utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, i… in ipSecDeleteSecurityAssociation()
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform()
45 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecAddSecurityPolicy()
46 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecUpdateSecurityPolicy()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl39 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi()
40 …ceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, i… in ipSecAddSecurityAssociation()
41 …utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, i… in ipSecDeleteSecurityAssociation()
42 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform()
44 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecAddSecurityPolicy()
45 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecUpdateSecurityPolicy()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi()
41 …ceAddress, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, i… in ipSecAddSecurityAssociation()
42 …utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, i… in ipSecDeleteSecurityAssociation()
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform()
45 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecAddSecurityPolicy()
46 …n @utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, i… in ipSecUpdateSecurityPolicy()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java267 public final int spi; field in IkeNotifyPayload
426 @ProtocolId int protocolId, byte spiSize, int spi, int notifyType, byte[] notifyData) { in IkeNotifyPayload()
470 @ProtocolId int protocolId, int spi, int notifyType, byte[] notifyData) { in IkeNotifyPayload()

123