Home
last modified time | relevance | path

Searched refs:encap (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DXfrmController.cpp595 saInfo.encap.srcPort = encapLocalPort; in ipSecAddSecurityAssociation()
596 saInfo.encap.dstPort = encapRemotePort; in ipSecAddSecurityAssociation()
599 saInfo.encap.type = static_cast<XfrmEncapType>(encapType); in ipSecAddSecurityAssociation()
886 nlattr_encap_tmpl encap{}; in updateSecurityAssociation() local
923 {&encap, 0}, // adjust size if encapsulating in updateSecurityAssociation()
968 len = iov[ENCAP].iov_len = fillNlAttrXfrmEncapTmpl(record, &encap); in updateSecurityAssociation()
1034 if (record.encap.type == XfrmEncapType::NONE) { in fillNlAttrXfrmEncapTmpl()
1039 tmpl->tmpl.encap_type = static_cast<uint16_t>(record.encap.type); in fillNlAttrXfrmEncapTmpl()
1040 tmpl->tmpl.encap_sport = htons(record.encap.srcPort); in fillNlAttrXfrmEncapTmpl()
1041 tmpl->tmpl.encap_dport = htons(record.encap.dstPort); in fillNlAttrXfrmEncapTmpl()
DXfrmController.h126 XfrmEncap encap; member