Lines Matching defs:SpdData
1033 EFI_IPSEC_SPD_DATA *SpdData;
1048 SpdData = (Data == NULL) ? NULL : (EFI_IPSEC_SPD_DATA *) Data;
1058 if (SpdData != NULL) {
1059 if ((SpdData->Action == EfiIPsecActionProtect && SpdData->ProcessingPolicy == NULL) ||
1060 (SpdData->Action != EfiIPsecActionProtect && SpdData->ProcessingPolicy != NULL)
1065 if (SpdData->Action == EfiIPsecActionProtect) {
1066 if ((SpdData->ProcessingPolicy->Mode == EfiIPsecTunnel && SpdData->ProcessingPolicy->TunnelOption == NULL) ||
1067 (SpdData->ProcessingPolicy->Mode != EfiIPsecTunnel && SpdData->ProcessingPolicy->TunnelOption != NULL)
1116 if (SpdData == NULL || SpdSel == NULL) {
1142 SpdEntrySize += IpSecGetSizeOfEfiSpdData (SpdData);
1167 SpdData->Name,
1168 sizeof (SpdData->Name)
1170 SpdEntry->Data->PackageFlag = SpdData->PackageFlag;
1171 SpdEntry->Data->TrafficDirection = SpdData->TrafficDirection;
1172 SpdEntry->Data->Action = SpdData->Action;
1178 if (SpdData->Action != EfiIPsecActionProtect) {
1185 IpSecDuplicateProcessPolicy (SpdEntry->Data->ProcessingPolicy, SpdData->ProcessingPolicy);
1197 for (Index = 0; Index < SpdData->SaIdCount; Index++) {
1200 (EFI_IPSEC_CONFIG_SELECTOR *) &SpdData->SaId[Index],
1637 EFI_IPSEC_SPD_DATA *SpdData;
1644 SpdData = (EFI_IPSEC_SPD_DATA *) Data;
1664 if (SpdData == NULL) {
1674 SpdData->SaIdCount = 0;
1679 &SpdData->SaId[SpdData->SaIdCount++],
1687 CopyMem (SpdData->Name, SpdEntry->Data->Name, sizeof (SpdData->Name));
1689 SpdData->PackageFlag = SpdEntry->Data->PackageFlag;
1690 SpdData->TrafficDirection = SpdEntry->Data->TrafficDirection;
1691 SpdData->Action = SpdEntry->Data->Action;
1693 if (SpdData->Action != EfiIPsecActionProtect) {
1694 SpdData->ProcessingPolicy = NULL;
1696 SpdData->ProcessingPolicy = (EFI_IPSEC_PROCESS_POLICY *) ((UINT8 *) SpdData + sizeof (EFI_IPSEC_SPD_DATA) + (SpdData->SaIdCount - 1) * sizeof (EFI_IPSEC_SA_ID));
1699 SpdData->ProcessingPolicy,
2041 @param[in] SpdData Pointer to a specified EFI_IPSEC_SPD_DATA.
2048 IN EFI_IPSEC_SPD_DATA *SpdData
2055 if (SpdData->Action == EfiIPsecActionProtect) {
2058 if (SpdData->ProcessingPolicy->Mode == EfiIPsecTunnel) {
2070 @param[in] SpdData Pointer to the specified IPSEC_SPD_DATA.
2077 IN IPSEC_SPD_DATA *SpdData
2085 if (SpdData->Action == EfiIPsecActionProtect) {
2088 if (SpdData->ProcessingPolicy->Mode == EfiIPsecTunnel) {
2093 NET_LIST_FOR_EACH (Link, &SpdData->Sas) {