Home
last modified time | relevance | path

Searched refs:ProcessingPolicy (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DPolicyEntryOperation.c259 (*Data)->ProcessingPolicy = (EFI_IPSEC_PROCESS_POLICY *) ALIGN_POINTER ( in CreateSpdEntry()
263 (*Data)->ProcessingPolicy->TunnelOption = (EFI_IPSEC_TUNNEL_OPTION *) ALIGN_POINTER ( in CreateSpdEntry()
264 … ((*Data)->ProcessingPolicy + 1), in CreateSpdEntry()
322 (*Data)->ProcessingPolicy->ExtSeqNum = TRUE; in CreateSpdEntry()
325 (*Data)->ProcessingPolicy->ExtSeqNum = FALSE; in CreateSpdEntry()
333 (*Data)->ProcessingPolicy->SeqOverflow = TRUE; in CreateSpdEntry()
336 (*Data)->ProcessingPolicy->SeqOverflow = FALSE; in CreateSpdEntry()
344 (*Data)->ProcessingPolicy->FragCheck = TRUE; in CreateSpdEntry()
347 (*Data)->ProcessingPolicy->FragCheck = FALSE; in CreateSpdEntry()
357 &(*Data)->ProcessingPolicy->SaLifetime.ByteCount, in CreateSpdEntry()
[all …]
DDump.c305 if (Data->ProcessingPolicy->ExtSeqNum) { in DumpSpdEntry()
309 if (Data->ProcessingPolicy->SeqOverflow) { in DumpSpdEntry()
313 if (Data->ProcessingPolicy->FragCheck) { in DumpSpdEntry()
318 if (Data->ProcessingPolicy->SaLifetime.ByteCount != 0) { in DumpSpdEntry()
320 Print (L"%lxB", Data->ProcessingPolicy->SaLifetime.ByteCount); in DumpSpdEntry()
324 if (Data->ProcessingPolicy->SaLifetime.SoftLifetime != 0) { in DumpSpdEntry()
326 Print (L"%lxs", Data->ProcessingPolicy->SaLifetime.SoftLifetime); in DumpSpdEntry()
330 if (Data->ProcessingPolicy->SaLifetime.HardLifetime != 0) { in DumpSpdEntry()
332 Print (L"%lxS", Data->ProcessingPolicy->SaLifetime.HardLifetime); in DumpSpdEntry()
340 if (HasPre || Data->ProcessingPolicy->ExtSeqNum || in DumpSpdEntry()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.c809 if (Data->ProcessingPolicy != NULL) { in FixSpdEntry()
810 if (Data->ProcessingPolicy->TunnelOption != NULL) { in FixSpdEntry()
811 FIX_REF_BUF_ADDR (Data->ProcessingPolicy->TunnelOption, Data); in FixSpdEntry()
814 FIX_REF_BUF_ADDR (Data->ProcessingPolicy, Data); in FixSpdEntry()
915 if (Data->ProcessingPolicy != NULL) { in UnfixSpdEntry()
916 UNFIX_REF_BUF_ADDR (Data->ProcessingPolicy, Data); in UnfixSpdEntry()
917 if (Data->ProcessingPolicy->TunnelOption != NULL) { in UnfixSpdEntry()
918 UNFIX_REF_BUF_ADDR (Data->ProcessingPolicy->TunnelOption, Data); in UnfixSpdEntry()
1062 if ((SpdData->Action == EfiIPsecActionProtect && SpdData->ProcessingPolicy == NULL) || in SetSpdEntry()
1063 (SpdData->Action != EfiIPsecActionProtect && SpdData->ProcessingPolicy != NULL) in SetSpdEntry()
[all …]
DIpSecImpl.h81 EFI_IPSEC_PROCESS_POLICY *ProcessingPolicy; member
DIpSecImpl.c488 if (SpdEntry->Data->ProcessingPolicy->Mode == EfiIPsecTunnel) { in IpSecLookupSadEntry()
492 &SpdEntry->Data->ProcessingPolicy->TunnelOption->RemoteTunnelAddress in IpSecLookupSadEntry()
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DSa.c506 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthPskGenerator()
556 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthPskGenerator()
610 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTunnel) { in Ikev2AuthPskGenerator()
616 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthPskGenerator()
842 if (ChildSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTunnel) { in Ikev2AuthPskParser()
1094 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthCertGenerator()
1151 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthCertGenerator()
1209 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTunnel) { in Ikev2AuthCertGenerator()
1215 if (IkeSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTransport) { in Ikev2AuthCertGenerator()
1463 if (ChildSaSession->Spd->Data->ProcessingPolicy->Mode == EfiIPsecTunnel) { in Ikev2AuthCertParser()
DUtility.c175 if (IkeSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime == 0) { in Ikev2SaSessionReg()
178 Lifetime = IkeSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime; in Ikev2SaSessionReg()
638 if (ChildSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime != 0){ in Ikev2ChildSaSessionReg()
639 Lifetime = ChildSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime; in Ikev2ChildSaSessionReg()
1479 SaData.Mode = ChildSaSession->Spd->Data->ProcessingPolicy->Mode; in Ikev2StoreSaData()
1487 &ChildSaSession->Spd->Data->ProcessingPolicy->TunnelOption->RemoteTunnelAddress, in Ikev2StoreSaData()
1492 &ChildSaSession->Spd->Data->ProcessingPolicy->TunnelOption->LocalTunnelAddress, in Ikev2StoreSaData()
1534 &ChildSaSession->Spd->Data->ProcessingPolicy->TunnelOption->LocalTunnelAddress, in Ikev2StoreSaData()
1539 &ChildSaSession->Spd->Data->ProcessingPolicy->TunnelOption->RemoteTunnelAddress, in Ikev2StoreSaData()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIpSecConfig.h366 EFI_IPSEC_PROCESS_POLICY *ProcessingPolicy; member