/system/netd/server/ |
D | XfrmController.h | 115 int spi; member 213 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, 224 int32_t spi, int32_t markValue, 232 int32_t spi); 239 const std::string& tmplDstAddress, int32_t spi, 247 int32_t spi, int32_t markValue, 342 const std::string& destinationAddress, int32_t spi, 346 static netdutils::Status fillXfrmCommonInfo(int32_t spi, int32_t markValue, int32_t markMask, 391 const std::string& tmplDstAddress, int32_t spi,
|
D | XfrmController.cpp | 529 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, in ipSecAddSecurityAssociation() argument 541 ALOGD("spi=%0.8x", spi); in ipSecAddSecurityAssociation() 556 netdutils::Status ret = fillXfrmCommonInfo(sourceAddress, destinationAddress, spi, markValue, in ipSecAddSecurityAssociation() 617 const std::string& destinationAddress, int32_t spi, int32_t markValue, int32_t markMask, in ipSecDeleteSecurityAssociation() argument 623 ALOGD("spi=%0.8x", spi); in ipSecDeleteSecurityAssociation() 629 netdutils::Status ret = fillXfrmCommonInfo(sourceAddress, destinationAddress, spi, markValue, in ipSecDeleteSecurityAssociation() 652 int32_t spi, int32_t markValue, in fillXfrmCommonInfo() argument 678 return fillXfrmCommonInfo(spi, markValue, markMask, transformId, xfrmInterfaceId, info); in fillXfrmCommonInfo() 681 netdutils::Status XfrmController::fillXfrmCommonInfo(int32_t spi, int32_t markValue, in fillXfrmCommonInfo() argument 686 info->spi = htonl(spi); in fillXfrmCommonInfo() [all …]
|
D | NetdNativeService.h | 163 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, 174 int32_t spi, int32_t markValue, int32_t markMask, 181 int32_t spi); 187 const std::string& tmplDstAddress, int32_t spi, 192 const std::string& tmplDstAddress, int32_t spi,
|
D | NetdNativeService.cpp | 602 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, in ipSecAddSecurityAssociation() argument 612 transformId, mode, sourceAddress, destinationAddress, underlyingNetId, spi, markValue, in ipSecAddSecurityAssociation() 620 const std::string& destinationAddress, int32_t spi, int32_t markValue, int32_t markMask, in ipSecDeleteSecurityAssociation() argument 626 transformId, sourceAddress, destinationAddress, spi, markValue, markMask, interfaceId)); in ipSecDeleteSecurityAssociation() 631 const std::string& sourceAddress, const std::string& destinationAddress, int32_t spi) { in ipSecApplyTransportModeTransform() argument 636 socket.get(), transformId, direction, sourceAddress, destinationAddress, spi)); in ipSecApplyTransportModeTransform() 651 int32_t spi, int32_t markValue, in ipSecAddSecurityPolicy() argument 657 transformId, selAddrFamily, direction, tmplSrcAddress, tmplDstAddress, spi, markValue, in ipSecAddSecurityPolicy() 663 const std::string& tmplSrcAddress, const std::string& tmplDstAddress, int32_t spi, in ipSecUpdateSecurityPolicy() argument 669 transformId, selAddrFamily, direction, tmplSrcAddress, tmplDstAddress, spi, markValue, in ipSecUpdateSecurityPolicy()
|
D | XfrmControllerTest.cpp | 383 EXPECT_EQ(htonl(DROID_SPI), usersa.id.spi); in testIpSecAddSecurityAssociation() 535 EXPECT_EQ(htonl(DROID_SPI), policy.tmpl.id.spi); in TEST_P() 622 EXPECT_EQ(htonl(DROID_SPI), said.spi); in TEST_P()
|
/system/netd/server/aidl/netd/1/android/net/ |
D | INetd.aidl | 22 …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/binder/android/net/ |
D | INetd.aidl | 257 int spi); in ipSecAllocateSpi() argument 294 int spi, in ipSecAddSecurityAssociation() argument 320 int spi, in ipSecDeleteSecurityAssociation() argument 341 int spi); in ipSecApplyTransportModeTransform() argument 371 int spi, in ipSecAddSecurityPolicy() argument 395 int spi, in ipSecUpdateSecurityPolicy() argument
|
/system/netd/server/aidl/netd/2/android/net/ |
D | INetd.aidl | 39 …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/tests/ |
D | binder_test.cpp | 136 bool allocateIpSecResources(bool expectOk, int32_t* spi); 370 bool BinderTest::allocateIpSecResources(bool expectOk, int32_t* spi) { in allocateIpSecResources() argument 371 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources() 445 int32_t spi = 0; in TEST_F() local 447 ASSERT_TRUE(allocateIpSecResources(true, &spi)); in TEST_F() 448 ASSERT_TRUE(allocateIpSecResources(false, &spi)); in TEST_F() 452 ASSERT_TRUE(allocateIpSecResources(true, &spi)); in TEST_F() 455 status = XfrmController::ipSecDeleteSecurityAssociation(0, "::", "::1", 123, spi, 0, 0); in TEST_F()
|