Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmControllerTest.cpp143 XfrmController ctrl; in TEST_F()
158 XfrmController ctrl; in TEST_F()
165 XfrmController ctrl; in TEST_F()
173 XfrmController ctrl; in TEST_F()
181 XfrmController ctrl; in TEST_F()
192 XfrmController ctrl; in TEST_F()
208 return NLMSG_ALIGN(sizeof(XfrmController::nlattr_xfrm_interface_id)); in getTunnelInterfaceNlAttrsLen()
210 return NLMSG_ALIGN(sizeof(XfrmController::nlattr_xfrm_mark)); in getTunnelInterfaceNlAttrsLen()
276 XfrmController ctrl(params.xfrmInterfacesEnabled); in TEST_P()
330 NLA_ALIGN(offsetof(XfrmController::nlattr_algo_crypt, key) + KEY_LENGTH) + in testIpSecAddSecurityAssociation()
[all …]
DXfrmController.cpp199 size_t fillNlAttrU32(__u16 nlaType, uint32_t value, XfrmController::nlattr_payload_u32* nlAttr) { in fillNlAttrU32()
395 XfrmController::XfrmController(void) {} in XfrmController() function in android::net::XfrmController
398 XfrmController::XfrmController(bool xfrmIntfSupport) { in XfrmController() function in android::net::XfrmController
402 netdutils::Status XfrmController::Init() { in Init()
412 netdutils::Status XfrmController::flushInterfaces() { in flushInterfaces()
427 netdutils::Status XfrmController::flushSaDb(const XfrmSocket& s) { in flushSaDb()
437 netdutils::Status XfrmController::flushPolicyDb(const XfrmSocket& s) { in flushPolicyDb()
442 bool XfrmController::isXfrmIntfSupported() { in isXfrmIntfSupported()
454 netdutils::Status XfrmController::ipSecSetEncapSocketOwner(int socketFd, int newUid, in ipSecSetEncapSocketOwner()
487 netdutils::Status XfrmController::ipSecAllocateSpi(int32_t transformId, in ipSecAllocateSpi()
[all …]
DControllers.h55 XfrmController xfrmCtrl;
DXfrmController.h197 class XfrmController {
199 XfrmController();
202 explicit XfrmController(bool xfrmIntfSupport);
DAndroid.bp104 "XfrmController.cpp",
139 "XfrmController.cpp",
DControllers.cpp300 netdutils::Status xStatus = XfrmController::Init(); in init()
/system/netd/tests/
Dbinder_test.cpp326 using android::net::XfrmController;
335 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources()
340 status = XfrmController::ipSecAddSecurityPolicy(0, AF_INET6, 0, "::", "::1", 123, 0, 0, 0); in allocateIpSecResources()
345 return expectOk == XfrmController::ipSecAddTunnelInterface("ipsec_test", "::", "::1", 0xF00D, in allocateIpSecResources()
400 status = XfrmController::Init(); in TEST_F()
414 status = XfrmController::Init(); in TEST_F()
419 status = XfrmController::ipSecDeleteSecurityAssociation(0, "::", "::1", 123, spi, 0, 0); in TEST_F()
423 status = XfrmController::ipSecDeleteSecurityPolicy(0, AF_INET6, 0, 0, 0, 0); in TEST_F()
428 ASSERT_TRUE(XfrmController::ipSecRemoveTunnelInterface("ipsec_test").ok()); in TEST_F()