Searched refs:encap (Results 1 – 2 of 2) sorted by relevance
594 saInfo.encap.srcPort = encapLocalPort; in ipSecAddSecurityAssociation()595 saInfo.encap.dstPort = encapRemotePort; in ipSecAddSecurityAssociation()598 saInfo.encap.type = static_cast<XfrmEncapType>(encapType); in ipSecAddSecurityAssociation()949 nlattr_encap_tmpl encap{}; in updateSecurityAssociation() local986 {&encap, 0}, // adjust size if encapsulating in updateSecurityAssociation()1031 len = iov[ENCAP].iov_len = fillNlAttrXfrmEncapTmpl(record, &encap); in updateSecurityAssociation()1097 if (record.encap.type == XfrmEncapType::NONE) { in fillNlAttrXfrmEncapTmpl()1102 tmpl->tmpl.encap_type = static_cast<uint16_t>(record.encap.type); in fillNlAttrXfrmEncapTmpl()1103 tmpl->tmpl.encap_sport = htons(record.encap.srcPort); in fillNlAttrXfrmEncapTmpl()1104 tmpl->tmpl.encap_dport = htons(record.encap.dstPort); in fillNlAttrXfrmEncapTmpl()
130 XfrmEncap encap; member