Searched refs:xfrm_if_id (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | XfrmControllerTest.cpp | 396 XfrmController::nlattr_xfrm_interface_id xfrm_if_id{}; in testIpSecAddSecurityAssociation() local 397 auto attrHandler = [&encryptAlgo, &authAlgo, &mark, &outputmark, &xfrm_if_id]( in testIpSecAddSecurityAssociation() 417 xfrm_if_id.hdr = attr; in testIpSecAddSecurityAssociation() 418 netdutils::extract(buf, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 433 verifyXfrmiArguments(mark.mark.v, mark.mark.m, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 435 verifyVtiArguments(mark.mark.v, mark.mark.m, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 448 EXPECT_EQ(0U, xfrm_if_id.if_id); in testIpSecAddSecurityAssociation() 570 XfrmController::nlattr_xfrm_interface_id* xfrm_if_id, Slice attr_buf) { in parseTunnelNetlinkAttrs() argument 571 auto attrHandler = [mark, xfrm_if_id](const nlattr& attr, const Slice& attr_payload) { in parseTunnelNetlinkAttrs() 577 xfrm_if_id->hdr = attr; in parseTunnelNetlinkAttrs() [all …]
|
D | XfrmController.cpp | 751 info->xfrm_if_id = xfrmInterfaceId; in fillXfrmCommonInfo() 950 nlattr_xfrm_interface_id xfrm_if_id{}; in updateSecurityAssociation() local 988 {&xfrm_if_id, 0}, // adjust size if interface ID is present in updateSecurityAssociation() 1004 (record.xfrm_if_id != 0 || record.netId != 0 || record.mark.v != 0 || record.mark.m != 0)) { in updateSecurityAssociation() 1008 } else if (record.mode == XfrmMode::TUNNEL && !mIsXfrmIntfSupported && record.xfrm_if_id != 0) { in updateSecurityAssociation() 1034 len = iov[INTF_ID].iov_len = fillNlAttrXfrmIntfId(record.xfrm_if_id, &xfrm_if_id); in updateSecurityAssociation() 1150 nlattr_xfrm_interface_id xfrm_if_id{}; in deleteSecurityAssociation() local 1160 {&xfrm_if_id, 0}, // adjust size if interface ID is present in deleteSecurityAssociation() 1171 len = iov[INTF_ID].iov_len = fillNlAttrXfrmIntfId(record.xfrm_if_id, &xfrm_if_id); in deleteSecurityAssociation() 1249 nlattr_xfrm_interface_id xfrm_if_id{}; in updateTunnelModeSecurityPolicy() local [all …]
|
D | XfrmController.h | 121 int xfrm_if_id; member
|