Searched refs:xfrm_if_id (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | XfrmControllerTest.cpp | 397 XfrmController::nlattr_xfrm_interface_id xfrm_if_id{}; in testIpSecAddSecurityAssociation() local 398 auto attrHandler = [&encryptAlgo, &authAlgo, &mark, &outputmark, &xfrm_if_id]( in testIpSecAddSecurityAssociation() 418 xfrm_if_id.hdr = attr; in testIpSecAddSecurityAssociation() 419 netdutils::extract(buf, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 434 verifyXfrmiArguments(mark.mark.v, mark.mark.m, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 436 verifyVtiArguments(mark.mark.v, mark.mark.m, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 449 EXPECT_EQ(0U, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 571 XfrmController::nlattr_xfrm_interface_id* xfrm_if_id, Slice attr_buf) { in parseTunnelNetlinkAttrs() argument 572 auto attrHandler = [mark, xfrm_if_id](const nlattr& attr, const Slice& attr_payload) { in parseTunnelNetlinkAttrs() 578 xfrm_if_id->hdr = attr; in parseTunnelNetlinkAttrs() [all …]
|
D | XfrmController.cpp | 689 info->xfrm_if_id = xfrmInterfaceId; in fillXfrmCommonInfo() 887 nlattr_xfrm_interface_id xfrm_if_id{}; in updateSecurityAssociation() local 925 {&xfrm_if_id, 0}, // adjust size if interface ID is present in updateSecurityAssociation() 941 (record.xfrm_if_id != 0 || record.netId != 0 || record.mark.v != 0 || record.mark.m != 0)) { in updateSecurityAssociation() 945 } else if (record.mode == XfrmMode::TUNNEL && !mIsXfrmIntfSupported && record.xfrm_if_id != 0) { in updateSecurityAssociation() 971 len = iov[INTF_ID].iov_len = fillNlAttrXfrmIntfId(record.xfrm_if_id, &xfrm_if_id); in updateSecurityAssociation() 1087 nlattr_xfrm_interface_id xfrm_if_id{}; in deleteSecurityAssociation() local 1097 {&xfrm_if_id, 0}, // adjust size if interface ID is present in deleteSecurityAssociation() 1108 len = iov[INTF_ID].iov_len = fillNlAttrXfrmIntfId(record.xfrm_if_id, &xfrm_if_id); in deleteSecurityAssociation() 1169 nlattr_xfrm_interface_id xfrm_if_id{}; in updateTunnelModeSecurityPolicy() local [all …]
|
D | XfrmController.h | 117 int xfrm_if_id; member
|