NetworkPkg/Application/IpsecConfig/ForEach.h File Reference


Typedefs

typedef EFI_STATUS(* VISIT_POLICY_ENTRY )(IN EFI_IPSEC_CONFIG_SELECTOR *Selector, IN VOID *Data, IN VOID *Context)

Functions

EFI_STATUS ForeachPolicyEntry (IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN VISIT_POLICY_ENTRY Routine, IN VOID *Context)

Detailed Description

The internal structure and function declaration of the implementation to go through each entry in IpSecConfig application.

Copyright (c) 2009 - 2010, 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.


Typedef Documentation

typedef EFI_STATUS(* VISIT_POLICY_ENTRY)(IN EFI_IPSEC_CONFIG_SELECTOR *Selector, IN VOID *Data, IN VOID *Context)

The prototype for the DumpSpdEntry()/DumpSadEntry()/DumpPadEntry(). Print EFI_IPSEC_CONFIG_SELECTOR and corresponding content.

Parameters:
[in] Selector The pointer to the EFI_IPSEC_CONFIG_SELECTOR union.
[in] Data The pointer to the corresponding data.
[in] Context The pointer to the Index in SPD/SAD/PAD Database.
Return values:
EFI_SUCCESS Dump SPD/SAD/PAD information successfully.


Function Documentation

EFI_STATUS ForeachPolicyEntry ( IN EFI_IPSEC_CONFIG_DATA_TYPE  DataType,
IN VISIT_POLICY_ENTRY  Routine,
IN VOID *  Context 
)

Enumerate all entry in the database to execute a specified operation according to datatype.

Parameters:
[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
[in] Routine The pointer to function of a specified operation.
[in] Context The pointer to the context of a function.
Return values:
EFI_SUCCESS Execute specified operation successfully.
Enumerate all entries in the database to execute specified operations according to datatype.

Parameters:
[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
[in] Routine The pointer to the function of a specified operation.
[in] Context The pointer to the context of a function.
Return values:
EFI_SUCCESS Execute specified operation successfully.

References mIpSecConfig.

Referenced by AddOrInsertPolicyEntry(), EditPolicyEntry(), FlushOrDeletePolicyEntry(), and ListPolicyEntry().


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