Searched refs:SaId (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Match.c | 93 IN EFI_IPSEC_SA_ID *SaId, in MatchSadEntry() argument 101 if (!IsMemoryZero (&Indexer->SaId, sizeof (EFI_IPSEC_SA_ID))) { in MatchSadEntry() 102 Match = (BOOLEAN) (CompareMem (&Indexer->SaId, SaId, sizeof (EFI_IPSEC_SA_ID)) == 0); in MatchSadEntry()
|
D | Indexer.c | 104 ZeroMem (&Indexer->SaId, sizeof (EFI_IPSEC_SA_ID)); in ConstructSadIndexer() 124 &Indexer->SaId.Spi, in ConstructSadIndexer() 133 &Indexer->SaId.Proto, in ConstructSadIndexer() 147 Status = EfiInetAddr2 ((CHAR16 *) ValueStr, &Indexer->SaId.DestAddress); in ConstructSadIndexer()
|
D | Indexer.h | 26 EFI_IPSEC_SA_ID SaId; member
|
D | Dump.c | 381 IN EFI_IPSEC_SA_ID *SaId, in DumpSadEntry() argument 401 Print (L"0x%x %s ", (UINTN) SaId->Spi, MapIntegerToString (SaId->Proto, mMapIpSecProtocol)); in DumpSadEntry() 443 if (SaId->Proto == EfiIPsecAH) { in DumpSadEntry()
|
D | PolicyEntryOperation.c | 596 OUT EFI_IPSEC_SA_ID **SaId, in CreateSadEntry() argument 617 *SaId = AllocateZeroPool (sizeof (EFI_IPSEC_SA_ID)); in CreateSadEntry() 618 ASSERT (*SaId != NULL); in CreateSadEntry() 623 …Status = GetNumber (L"--spi", (UINT32) -1, &(*SaId)->Spi, sizeof (UINT32), NULL, ParamPackage, FOR… in CreateSadEntry() 638 &(*SaId)->Proto, in CreateSadEntry() 972 if ((*SaId)->Proto == EfiIPsecAH) { in CreateSadEntry()
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IpSecConfigImpl.c | 484 SaId1 = &Selector1->SaId; in CompareSaId() 485 SaId2 = &Selector2->SaId; in CompareSaId() 725 Dst = &DstSel->SaId; in DuplicateSaId() 726 Src = &SrcSel->SaId; in DuplicateSaId() 833 IN EFI_IPSEC_SA_ID *SaId, in FixSadEntry() argument 845 if (SaId->Proto == EfiIPsecESP && Data->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in FixSadEntry() 936 IN OUT EFI_IPSEC_SA_ID *SaId, in UnfixSadEntry() argument 948 if (SaId->Proto == EfiIPsecESP && Data->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in UnfixSadEntry() 1213 (EFI_IPSEC_CONFIG_SELECTOR *) &SpdData->SaId[Index], in SetSpdEntry() 1277 EFI_IPSEC_SA_ID *SaId; in SetSadEntry() local [all …]
|
D | IpSecConfigImpl.h | 540 IN EFI_IPSEC_SA_ID *SaId, 591 IN OUT EFI_IPSEC_SA_ID *SaId,
|
D | IpSecImpl.c | 1408 EFI_IPSEC_SA_ID *SaId; in IpSecEspInboundPacket() local 1465 SaId = SadEntry->Id; in IpSecEspInboundPacket() 1471 if (SaId->Proto != EfiIPsecESP) { in IpSecEspInboundPacket() 1708 EFI_IPSEC_SA_ID *SaId; in IpSecEspOutboundPacket() local 1729 SaId = SadEntry->Id; in IpSecEspOutboundPacket() 1842 EspHeader->Spi = HTONL (SaId->Spi); in IpSecEspOutboundPacket()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | IpSecConfig.h | 375 EFI_IPSEC_SA_ID SaId[1]; member 541 EFI_IPSEC_SA_ID SaId; member
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Utility.c | 954 if (Selector->SaId.Spi == RemoteSpi) { in Ikev2ChildSaSilentDelete() 969 if (Selector->SaId.Spi == LocalSpi) { in Ikev2ChildSaSilentDelete() 1444 EFI_IPSEC_SA_ID SaId; in Ikev2StoreSaData() local 1454 ZeroMem (&SaId, sizeof (EFI_IPSEC_SA_ID)); in Ikev2StoreSaData() 1475 SaId.Spi = ChildSaSession->LocalPeerSpi; in Ikev2StoreSaData() 1476 SaId.Proto = EfiIPsecESP; in Ikev2StoreSaData() 1497 CopyMem (&SaId.DestAddress, &ChildSaSession->SessionCommon.LocalPeerIp, sizeof (EFI_IP_ADDRESS)); in Ikev2StoreSaData() 1507 (EFI_IPSEC_CONFIG_SELECTOR *) &SaId, in Ikev2StoreSaData() 1522 SaId.Spi = ChildSaSession->RemotePeerSpi; in Ikev2StoreSaData() 1524 CopyMem (&SaId.DestAddress, &ChildSaSession->SessionCommon.RemotePeerIp, sizeof (EFI_IP_ADDRESS)); in Ikev2StoreSaData() [all …]
|