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.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() 910 spInfo.mode = XfrmMode::TUNNEL; in processSecurityPolicy() 1003 if (record.mode != XfrmMode::TUNNEL && in updateSecurityAssociation() 1008 } else if (record.mode == XfrmMode::TUNNEL && !mIsXfrmIntfSupported && record.xfrm_if_id != 0) { in updateSecurityAssociation() 1128 if (record.mode == XfrmMode::TRANSPORT) { in fillUserSaInfo() 1391 if (record.mode != XfrmMode::TUNNEL) { in fillNlAttrXfrmOutputMark() 1435 migrate->migrate.mode = static_cast<uint8_t>(XfrmMode::TUNNEL); in fillNlAttrXfrmMigrate()
|
D | XfrmController.h | 87 enum struct XfrmMode : uint8_t { enum 122 XfrmMode mode;
|