Lines Matching refs:saInfo
498 XfrmSaInfo saInfo{}; in ipSecAllocateSpi() local
500 transformId, 0, &saInfo); in ipSecAllocateSpi()
517 ret = allocateSpi(saInfo, minSpi, maxSpi, reinterpret_cast<uint32_t*>(outSpi), sock); in ipSecAllocateSpi()
555 XfrmSaInfo saInfo{}; in ipSecAddSecurityAssociation() local
557 markMask, transformId, xfrmInterfaceId, &saInfo); in ipSecAddSecurityAssociation()
562 saInfo.auth = XfrmAlgo{ in ipSecAddSecurityAssociation()
565 saInfo.crypt = XfrmAlgo{ in ipSecAddSecurityAssociation()
568 saInfo.aead = XfrmAlgo{ in ipSecAddSecurityAssociation()
574 saInfo.mode = static_cast<XfrmMode>(mode); in ipSecAddSecurityAssociation()
590 if (saInfo.addrFamily != AF_INET) { in ipSecAddSecurityAssociation()
595 saInfo.encap.srcPort = encapLocalPort; in ipSecAddSecurityAssociation()
596 saInfo.encap.dstPort = encapRemotePort; in ipSecAddSecurityAssociation()
599 saInfo.encap.type = static_cast<XfrmEncapType>(encapType); in ipSecAddSecurityAssociation()
605 saInfo.netId = underlyingNetId; in ipSecAddSecurityAssociation()
607 ret = updateSecurityAssociation(saInfo, sock); in ipSecAddSecurityAssociation()
628 XfrmSaInfo saInfo{}; in ipSecDeleteSecurityAssociation() local
630 markMask, transformId, xfrmInterfaceId, &saInfo); in ipSecDeleteSecurityAssociation()
642 ret = deleteSecurityAssociation(saInfo, sock); in ipSecDeleteSecurityAssociation()