Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 16 of 16) sorted by relevance

/system/netd/server/
DXfrmController.h119 int spi; member
222 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi,
233 int32_t spi, int32_t markValue,
241 int32_t spi);
248 const std::string& tmplDstAddress, int32_t spi,
256 int32_t spi, int32_t markValue,
368 const std::string& destinationAddress, int32_t spi,
372 static netdutils::Status fillXfrmCommonInfo(int32_t spi, int32_t markValue, int32_t markMask,
417 const std::string& tmplDstAddress, int32_t spi,
DXfrmController.cpp528 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, in ipSecAddSecurityAssociation() argument
540 ALOGD("spi=%0.8x", spi); in ipSecAddSecurityAssociation()
555 netdutils::Status ret = fillXfrmCommonInfo(sourceAddress, destinationAddress, spi, markValue, in ipSecAddSecurityAssociation()
616 const std::string& destinationAddress, int32_t spi, int32_t markValue, int32_t markMask, in ipSecDeleteSecurityAssociation() argument
622 ALOGD("spi=%0.8x", spi); in ipSecDeleteSecurityAssociation()
628 netdutils::Status ret = fillXfrmCommonInfo(sourceAddress, destinationAddress, spi, markValue, in ipSecDeleteSecurityAssociation()
731 int32_t spi, int32_t markValue, in fillXfrmCommonInfo() argument
740 return fillXfrmCommonInfo(spi, markValue, markMask, transformId, xfrmInterfaceId, info); in fillXfrmCommonInfo()
743 netdutils::Status XfrmController::fillXfrmCommonInfo(int32_t spi, int32_t markValue, in fillXfrmCommonInfo() argument
748 info->spi = htonl(spi); in fillXfrmCommonInfo()
[all …]
DNetdNativeService.h183 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi,
194 int32_t spi, int32_t markValue, int32_t markMask,
201 int32_t spi);
207 const std::string& tmplDstAddress, int32_t spi,
212 const std::string& tmplDstAddress, int32_t spi,
DNetdNativeService.cpp662 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, in ipSecAddSecurityAssociation() argument
671 transformId, mode, sourceAddress, destinationAddress, underlyingNetId, spi, markValue, in ipSecAddSecurityAssociation()
679 const std::string& destinationAddress, int32_t spi, int32_t markValue, int32_t markMask, in ipSecDeleteSecurityAssociation() argument
684 transformId, sourceAddress, destinationAddress, spi, markValue, markMask, interfaceId)); in ipSecDeleteSecurityAssociation()
689 const std::string& sourceAddress, const std::string& destinationAddress, int32_t spi) { in ipSecApplyTransportModeTransform() argument
693 socket.get(), transformId, direction, sourceAddress, destinationAddress, spi)); in ipSecApplyTransportModeTransform()
707 int32_t spi, int32_t markValue, in ipSecAddSecurityPolicy() argument
712 transformId, selAddrFamily, direction, tmplSrcAddress, tmplDstAddress, spi, markValue, in ipSecAddSecurityPolicy()
718 const std::string& tmplSrcAddress, const std::string& tmplDstAddress, int32_t spi, in ipSecUpdateSecurityPolicy() argument
723 transformId, selAddrFamily, direction, tmplSrcAddress, tmplDstAddress, spi, markValue, in ipSecUpdateSecurityPolicy()
DXfrmControllerTest.cpp382 EXPECT_EQ(htonl(DROID_SPI), usersa.id.spi); in testIpSecAddSecurityAssociation()
534 EXPECT_EQ(htonl(DROID_SPI), policy.tmpl.id.spi); in TEST_P()
621 EXPECT_EQ(htonl(DROID_SPI), said.spi); in TEST_P()
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl22 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
23 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
24 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
25 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
27 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
28 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl39 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
40 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
41 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
42 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
44 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
45 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
41 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
42 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
45 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
46 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
41 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
42 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
45 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
46 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl62 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
63 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
64 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
65 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
67 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
68 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl62 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
63 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
64 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
65 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
67 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
68 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/binder/android/net/
DINetd.aidl265 int spi); in ipSecAllocateSpi() argument
302 int spi, in ipSecAddSecurityAssociation() argument
328 int spi, in ipSecDeleteSecurityAssociation() argument
349 int spi); in ipSecApplyTransportModeTransform() argument
379 int spi, in ipSecAddSecurityPolicy() argument
403 int spi, in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl62 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
63 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
64 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
65 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
67 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
68 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/netd/server/aidl_api/netd_aidl_interface/5/android/net/
DINetd.aidl40 …transformId, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecAllocateSpi() argument
41 …Address, in @utf8InCpp String destinationAddress, int underlyingNetId, int spi, int markValue, int… in ipSecAddSecurityAssociation() argument
42 …f8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi, int markValue, int… in ipSecDeleteSecurityAssociation() argument
43 …t direction, in @utf8InCpp String sourceAddress, in @utf8InCpp String destinationAddress, int spi); in ipSecApplyTransportModeTransform() argument
45 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecAddSecurityPolicy() argument
46 …@utf8InCpp String tmplSrcAddress, in @utf8InCpp String tmplDstAddress, int spi, int markValue, int… in ipSecUpdateSecurityPolicy() argument
/system/core/trusty/utils/spiproxyd/
Dproxy.rc16 -s /dev/vport3p2 -p com.android.trusty.spi.proxy
/system/netd/tests/
Dbinder_test.cpp186 bool allocateIpSecResources(bool expectOk, int32_t* spi);
391 bool NetdBinderTest::allocateIpSecResources(bool expectOk, int32_t* spi) { in allocateIpSecResources() argument
392 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources()
466 int32_t spi = 0; in TEST_F() local
468 ASSERT_TRUE(allocateIpSecResources(true, &spi)); in TEST_F()
469 ASSERT_TRUE(allocateIpSecResources(false, &spi)); in TEST_F()
473 ASSERT_TRUE(allocateIpSecResources(true, &spi)); in TEST_F()
476 status = XfrmController::ipSecDeleteSecurityAssociation(0, "::", "::1", 123, spi, 0, 0); in TEST_F()