EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

NetworkPkg/Application/IpsecConfig/Delete.c File Reference

#include "IpSecConfig.h"
#include "Indexer.h"
#include "Delete.h"
#include "Match.h"
#include "ForEach.h"

Go to the source code of this file.

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.

Definition in file Delete.c.


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]SelectorThe pointer to EFI_IPSEC_CONFIG_SELECTOR structure.
[in]DataThe pointer to Data.
[in]ContextThe pointer to DELETE_POLICY_ENTRY_CONTEXT.
Return values:
EFI_ABORTEDAbort the iteration.
EFI_SUCCESSContinue the iteration.

Definition at line 33 of file Delete.c.

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]DataTypeThe value of EFI_IPSEC_CONFIG_DATA_TYPE.
[in]ParamPackageThe pointer to the ParamPackage list.
Return values:
EFI_SUCCESSDelete entry information successfully.
EFI_NOT_FOUNDCan't find the specified entry.
OthersSome mistaken case.

Definition at line 67 of file Delete.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines