Searched refs:XfrmController (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | XfrmControllerTest.cpp | 144 XfrmController ctrl; in TEST_F() 159 XfrmController ctrl; in TEST_F() 166 XfrmController ctrl; in TEST_F() 174 XfrmController ctrl; in TEST_F() 182 XfrmController ctrl; in TEST_F() 193 XfrmController ctrl; in TEST_F() 209 return NLMSG_ALIGN(sizeof(XfrmController::nlattr_xfrm_interface_id)); in getTunnelInterfaceNlAttrsLen() 211 return NLMSG_ALIGN(sizeof(XfrmController::nlattr_xfrm_mark)); in getTunnelInterfaceNlAttrsLen() 277 XfrmController ctrl(params.xfrmInterfacesEnabled); in TEST_P() 331 NLA_ALIGN(offsetof(XfrmController::nlattr_algo_crypt, key) + KEY_LENGTH) + in testIpSecAddSecurityAssociation() [all …]
|
D | XfrmController.cpp | 200 size_t fillNlAttrU32(__u16 nlaType, uint32_t value, XfrmController::nlattr_payload_u32* nlAttr) { in fillNlAttrU32() 396 XfrmController::XfrmController(void) {} in XfrmController() function in android::net::XfrmController 399 XfrmController::XfrmController(bool xfrmIntfSupport) { in XfrmController() function in android::net::XfrmController 403 netdutils::Status XfrmController::Init() { in Init() 413 netdutils::Status XfrmController::flushInterfaces() { in flushInterfaces() 428 netdutils::Status XfrmController::flushSaDb(const XfrmSocket& s) { in flushSaDb() 438 netdutils::Status XfrmController::flushPolicyDb(const XfrmSocket& s) { in flushPolicyDb() 443 bool XfrmController::isXfrmIntfSupported() { in isXfrmIntfSupported() 455 netdutils::Status XfrmController::ipSecSetEncapSocketOwner(int socketFd, int newUid, in ipSecSetEncapSocketOwner() 488 netdutils::Status XfrmController::ipSecAllocateSpi(int32_t transformId, in ipSecAllocateSpi() [all …]
|
D | Controllers.h | 55 XfrmController xfrmCtrl;
|
D | XfrmController.h | 196 class XfrmController { 198 XfrmController(); 201 explicit XfrmController(bool xfrmIntfSupport);
|
D | Android.bp | 21 "XfrmController.cpp", 92 "XfrmController.cpp",
|
D | Controllers.cpp | 299 netdutils::Status xStatus = XfrmController::Init(); in init()
|
/system/netd/tests/ |
D | binder_test.cpp | 362 using android::net::XfrmController; 371 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources() 376 status = XfrmController::ipSecAddSecurityPolicy(0, AF_INET6, 0, "::", "::1", 123, 0, 0, 0); in allocateIpSecResources() 381 return expectOk == XfrmController::ipSecAddTunnelInterface("ipsec_test", "::", "::1", 0xF00D, in allocateIpSecResources() 436 status = XfrmController::Init(); in TEST_F() 450 status = XfrmController::Init(); in TEST_F() 455 status = XfrmController::ipSecDeleteSecurityAssociation(0, "::", "::1", 123, spi, 0, 0); in TEST_F() 459 status = XfrmController::ipSecDeleteSecurityPolicy(0, AF_INET6, 0, 0, 0, 0); in TEST_F() 464 ASSERT_TRUE(XfrmController::ipSecRemoveTunnelInterface("ipsec_test").ok()); in TEST_F()
|