Home
last modified time | relevance | path

Searched refs:Indexer (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DMatch.c60 IN SPD_ENTRY_INDEXER *Indexer in MatchSpdEntry() argument
66 if (!IsMemoryZero (Indexer->Name, MAX_PEERID_LEN)) { in MatchSpdEntry()
67 … if ((Data->Name != NULL) && (AsciiStrCmp ((CHAR8 *) Indexer->Name, (CHAR8 *) Data->Name) == 0)) { in MatchSpdEntry()
71 if (Indexer->Index == 0) { in MatchSpdEntry()
75 Indexer->Index--; in MatchSpdEntry()
95 IN SAD_ENTRY_INDEXER *Indexer 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()
104 if (Indexer->Index == 0) { in MatchSadEntry()
107 Indexer->Index--; in MatchSadEntry()
[all …]
DIndexer.c30 IN OUT SPD_ENTRY_INDEXER *Indexer, in ConstructSpdIndexer() argument
56 Indexer->Index = (UINTN) Value64; in ConstructSpdIndexer()
57 ZeroMem (Indexer->Name, MAX_PEERID_LEN); in ConstructSpdIndexer()
59 UnicodeStrToAsciiStrS (ValueStr, (CHAR8 *) Indexer->Name, MAX_PEERID_LEN); in ConstructSpdIndexer()
76 IN OUT SAD_ENTRY_INDEXER *Indexer, in ConstructSadIndexer() argument
103 Indexer->Index = (UINTN) Value64; in ConstructSadIndexer()
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()
[all …]
DDelete.c39 if (mMatchPolicyEntry[Context->DataType] (Selector, Data, &Context->Indexer)) { in DeletePolicyEntry()
94 Status = mConstructPolicyEntryIndexer[DataType] (&Context.Indexer, ParamPackage); in FlushOrDeletePolicyEntry()
DPolicyEntryOperation.h64 POLICY_ENTRY_INDEXER Indexer; member
72 POLICY_ENTRY_INDEXER Indexer; member
DMatch.h36 IN POLICY_ENTRY_INDEXER *Indexer
DDelete.h22 POLICY_ENTRY_INDEXER Indexer; member
DIpSecConfig.inf40 Indexer.c
41 Indexer.h
DIndexer.h53 IN POLICY_ENTRY_INDEXER *Indexer,
DPolicyEntryOperation.c1855 if (mMatchPolicyEntry[Context->DataType] (Selector, Data, &Context->Indexer)) { in EditOperatePolicyEntry()
1927 Status = mConstructPolicyEntryIndexer[DataType] (&Context.Indexer, ParamPackage); in EditPolicyEntry()
1976 if (mMatchPolicyEntry[Context->DataType] (Selector, Data, &Context->Indexer)) { in InsertPolicyEntry()
2050 Status = mConstructPolicyEntryIndexer[DataType] (&Context.Indexer, ParamPackage); in AddOrInsertPolicyEntry()