Searched refs:XfrmMode (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | XfrmControllerTest.cpp | 314 const XfrmMode& mode) { in testIpSecAddSecurityAssociation() 337 if (mode == XfrmMode::TUNNEL) { in testIpSecAddSecurityAssociation() 376 if (mode == XfrmMode::TUNNEL) { in testIpSecAddSecurityAssociation() 431 if (mode == XfrmMode::TUNNEL) { in testIpSecAddSecurityAssociation() 454 testIpSecAddSecurityAssociation(params, mockSyscalls, XfrmMode::TRANSPORT); in TEST_P() 459 testIpSecAddSecurityAssociation(params, mockSyscalls, XfrmMode::TUNNEL); in TEST_P() 473 1, static_cast<int>(XfrmMode::TRANSPORT), LOCALHOST_V6, TEST_ADDR_V6, 0, DROID_SPI, 0, in TEST_F()
|
D | XfrmController.h | 87 enum struct XfrmMode : uint8_t { enum 126 XfrmMode mode;
|
D | XfrmController.cpp | 570 switch (static_cast<XfrmMode>(mode)) { in ipSecAddSecurityAssociation() 571 case XfrmMode::TRANSPORT: in ipSecAddSecurityAssociation() 572 case XfrmMode::TUNNEL: in ipSecAddSecurityAssociation() 573 saInfo.mode = static_cast<XfrmMode>(mode); in ipSecAddSecurityAssociation() 846 spInfo.mode = XfrmMode::TUNNEL; in processSecurityPolicy() 939 if (record.mode != XfrmMode::TUNNEL && in updateSecurityAssociation() 944 } else if (record.mode == XfrmMode::TUNNEL && !mIsXfrmIntfSupported && record.xfrm_if_id != 0) { in updateSecurityAssociation() 1064 if (record.mode == XfrmMode::TRANSPORT) { in fillUserSaInfo()
|