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()885 nlattr_encap_tmpl encap{}; in updateSecurityAssociation() local922 {&encap, 0}, // adjust size if encapsulating in updateSecurityAssociation()967 len = iov[ENCAP].iov_len = fillNlAttrXfrmEncapTmpl(record, &encap); in updateSecurityAssociation()1033 if (record.encap.type == XfrmEncapType::NONE) { in fillNlAttrXfrmEncapTmpl()1038 tmpl->tmpl.encap_type = static_cast<uint16_t>(record.encap.type); in fillNlAttrXfrmEncapTmpl()1039 tmpl->tmpl.encap_sport = htons(record.encap.srcPort); in fillNlAttrXfrmEncapTmpl()1040 tmpl->tmpl.encap_dport = htons(record.encap.dstPort); in fillNlAttrXfrmEncapTmpl()
127 XfrmEncap encap; member