NetworkPkg/Application/IpsecConfig/Delete.c File Reference


Functions

EFI_STATUS DeletePolicyEntry (IN EFI_IPSEC_CONFIG_SELECTOR *Selector, IN VOID *Data, IN DELETE_POLICY_ENTRY_CONTEXT *Context)
EFI_STATUS FlushOrDeletePolicyEntry (IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN LIST_ENTRY *ParamPackage)

Detailed Description

The implementation of delete policy entry function 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.


Function Documentation

EFI_STATUS DeletePolicyEntry ( IN EFI_IPSEC_CONFIG_SELECTOR *  Selector,
IN VOID *  Data,
IN DELETE_POLICY_ENTRY_CONTEXT Context 
)

Private function to delete entry information in database.

Parameters:
[in] Selector The pointer to EFI_IPSEC_CONFIG_SELECTOR structure.
[in] Data The pointer to Data.
[in] Context The pointer to DELETE_POLICY_ENTRY_CONTEXT.
Return values:
EFI_ABORTED Abort the iteration.
EFI_SUCCESS Continue the iteration.

References mIpSecConfig, and mMatchPolicyEntry.

Referenced by FlushOrDeletePolicyEntry().

EFI_STATUS FlushOrDeletePolicyEntry ( IN EFI_IPSEC_CONFIG_DATA_TYPE  DataType,
IN LIST_ENTRY *  ParamPackage 
)

Flush or delete entry information in the database according to datatype.

Parameters:
[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
[in] ParamPackage The pointer to the ParamPackage list.
Return values:
EFI_SUCCESS Delete entry information successfully.
EFI_NOT_FOUND Can't find the specified entry.
Others Some mistaken case.

References DELETE_POLICY_ENTRY_CONTEXT::DataType, DeletePolicyEntry(), ForeachPolicyEntry(), DELETE_POLICY_ENTRY_CONTEXT::Indexer, mAppName, mConstructPolicyEntryIndexer, mHiiHandle, mIpSecConfig, and DELETE_POLICY_ENTRY_CONTEXT::Status.

Referenced by InitializeIpSecConfig().


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