NetworkPkg/Application/IpsecConfig/Match.c File Reference


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 []

Detailed Description

The implementation of match policy entry function in IpSecConfig application.

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.


Function Documentation

BOOLEAN IsMemoryZero ( IN VOID *  Memory,
IN UINTN  Size 
)

Private function to validate a buffer that should be filled with zero.

Parameters:
[in] Memory The pointer to the buffer.
[in] Size The size of the buffer.
Return values:
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.

Parameters:
[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.
Return values:
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.

Parameters:
[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.
Return values:
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.

Parameters:
[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.
Return values:
TRUE The matched SPD is found.
FALSE The matched SPD is not found.


Variable Documentation


Generated on Mon Sep 28 08:49:05 2015 for NetworkPkg[ALL] by  doxygen 1.5.7.1