Lines Matching refs:saInfo
497 XfrmSaInfo saInfo{}; in ipSecAllocateSpi() local
499 transformId, 0, &saInfo); in ipSecAllocateSpi()
516 ret = allocateSpi(saInfo, minSpi, maxSpi, reinterpret_cast<uint32_t*>(outSpi), sock); in ipSecAllocateSpi()
554 XfrmSaInfo saInfo{}; in ipSecAddSecurityAssociation() local
556 markMask, transformId, xfrmInterfaceId, &saInfo); in ipSecAddSecurityAssociation()
561 saInfo.auth = XfrmAlgo{ in ipSecAddSecurityAssociation()
564 saInfo.crypt = XfrmAlgo{ in ipSecAddSecurityAssociation()
567 saInfo.aead = XfrmAlgo{ in ipSecAddSecurityAssociation()
573 saInfo.mode = static_cast<XfrmMode>(mode); in ipSecAddSecurityAssociation()
589 if (saInfo.addrFamily != AF_INET) { in ipSecAddSecurityAssociation()
594 saInfo.encap.srcPort = encapLocalPort; in ipSecAddSecurityAssociation()
595 saInfo.encap.dstPort = encapRemotePort; in ipSecAddSecurityAssociation()
598 saInfo.encap.type = static_cast<XfrmEncapType>(encapType); in ipSecAddSecurityAssociation()
604 saInfo.netId = underlyingNetId; in ipSecAddSecurityAssociation()
606 ret = updateSecurityAssociation(saInfo, sock); in ipSecAddSecurityAssociation()
627 XfrmSaInfo saInfo{}; in ipSecDeleteSecurityAssociation() local
629 markMask, transformId, xfrmInterfaceId, &saInfo); in ipSecDeleteSecurityAssociation()
641 ret = deleteSecurityAssociation(saInfo, sock); in ipSecDeleteSecurityAssociation()