Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmControllerTest.cpp144 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 …]
DXfrmController.cpp200 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 …]
DControllers.h52 XfrmController xfrmCtrl;
DXfrmController.h209 class XfrmController {
211 XfrmController();
214 explicit XfrmController(bool xfrmIntfSupport);
DAndroid.bp34 "XfrmController.cpp",
67 "XfrmController.cpp",
DControllers.cpp337 netdutils::Status xStatus = XfrmController::Init(); in init()
/system/netd/tests/
Dbinder_test.cpp443 using android::net::XfrmController;
452 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources()
457 status = XfrmController::ipSecAddSecurityPolicy(0, AF_INET6, 0, "::", "::1", 123, 0, 0, 0); in allocateIpSecResources()
462 return expectOk == XfrmController::ipSecAddTunnelInterface("ipsec_test", "::", "::1", 0xF00D, in allocateIpSecResources()
517 status = XfrmController::Init(); in TEST_F()
531 status = XfrmController::Init(); in TEST_F()
536 status = XfrmController::ipSecDeleteSecurityAssociation(0, "::", "::1", 123, spi, 0, 0); in TEST_F()
540 status = XfrmController::ipSecDeleteSecurityPolicy(0, AF_INET6, 0, 0, 0, 0); in TEST_F()
545 ASSERT_TRUE(XfrmController::ipSecRemoveTunnelInterface("ipsec_test").ok()); in TEST_F()
574 auto status = XfrmController::ipSecMigrate( in supportsXfrmMigrate()