Functions | |
BOOLEAN | IsMemoryZero (IN VOID *Memory, IN UINTN Size) |
BOOLEAN | MatchSpdEntry (IN EFI_IPSEC_SPD_SELECTOR *Selector, IN EFI_IPSEC_SPD_DATA *Data, IN SPD_ENTRY_INDEXER *Indexer) |
BOOLEAN | MatchSadEntry (IN EFI_IPSEC_SA_ID *SaId, IN EFI_IPSEC_SA_DATA2 *Data, IN SAD_ENTRY_INDEXER *Indexer) |
BOOLEAN | MatchPadEntry (IN EFI_IPSEC_PAD_ID *PadId, IN EFI_IPSEC_PAD_DATA *Data, IN PAD_ENTRY_INDEXER *Indexer) |
Variables | |
MATCH_POLICY_ENTRY | mMatchPolicyEntry [] |
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
BOOLEAN IsMemoryZero | ( | IN VOID * | Memory, | |
IN UINTN | Size | |||
) |
Private function to validate a buffer that should be filled with zero.
[in] | Memory | The pointer to the buffer. |
[in] | Size | The size of the buffer. |
TRUE | The memory is filled with zero. | |
FALSE | The memory isn't filled with zero. |
Referenced by MatchPadEntry(), and MatchSadEntry().
BOOLEAN MatchPadEntry | ( | IN EFI_IPSEC_PAD_ID * | PadId, | |
IN EFI_IPSEC_PAD_DATA * | Data, | |||
IN PAD_ENTRY_INDEXER * | Indexer | |||
) |
Find the matching PAD with Indexer.
[in] | PadId | The pointer to the EFI_IPSEC_PAD_ID structure. |
[in] | Data | The pointer to the EFI_IPSEC_PAD_DATA structure. |
[in] | Indexer | The pointer to the SPD_ENTRY_INDEXER structure. |
TRUE | The matched PAD is found. | |
FALSE | The matched PAD is not found. |
References IsMemoryZero().
BOOLEAN MatchSadEntry | ( | IN EFI_IPSEC_SA_ID * | SaId, | |
IN EFI_IPSEC_SA_DATA2 * | Data, | |||
IN SAD_ENTRY_INDEXER * | Indexer | |||
) |
Find the matching SAD with Indexer.
[in] | SaId | The pointer to the EFI_IPSEC_SA_ID structure. |
[in] | Data | The pointer to the EFI_IPSEC_SA_DATA2 structure. |
[in] | Indexer | The pointer to the SPD_ENTRY_INDEXER structure. |
TRUE | The matched SAD is found. | |
FALSE | The matched SAD is not found. |
References IsMemoryZero().
BOOLEAN MatchSpdEntry | ( | IN EFI_IPSEC_SPD_SELECTOR * | Selector, | |
IN EFI_IPSEC_SPD_DATA * | Data, | |||
IN SPD_ENTRY_INDEXER * | Indexer | |||
) |
Find the matching SPD with Indexer.
[in] | Selector | The pointer to the EFI_IPSEC_SPD_SELECTOR structure. |
[in] | Data | The pointer to the EFI_IPSEC_SPD_DATA structure. |
[in] | Indexer | The pointer to the SPD_ENTRY_INDEXER structure. |
TRUE | The matched SPD is found. | |
FALSE | The matched SPD is not found. |
Initial value:
{ (MATCH_POLICY_ENTRY) MatchSpdEntry, (MATCH_POLICY_ENTRY) MatchSadEntry, (MATCH_POLICY_ENTRY) MatchPadEntry }
Referenced by DeletePolicyEntry(), EditOperatePolicyEntry(), and InsertPolicyEntry().