]> git.proxmox.com Git - mirror_edk2.git/blame - NetworkPkg/Application/IpsecConfig/Match.h
BaseTools/Capsule: Do not support -o with --dump-info
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / Match.h
CommitLineData
a3bcde70 1/** @file\r
f75a7f56 2 The internal structure and function declaration of\r
a3bcde70
HT
3 match policy entry function in IpSecConfig application.\r
4\r
f75a7f56 5 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
a3bcde70
HT
6\r
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php.\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef _MATCH_H_\r
18#define _MATCH_H_\r
19\r
20/**\r
21 The prototype for the MatchSpdEntry()/MatchSadEntry()/MatchPadEntry().\r
22 The functionality is to find the matching SPD/SAD/PAD with Indexer.\r
23\r
24 @param[in] Selector The pointer to the EFI_IPSEC_CONFIG_SELECTOR union.\r
25 @param[in] Data The pointer to corresponding Data.\r
26 @param[in] Indexer The pointer to the POLICY_ENTRY_INDEXER union.\r
27\r
28 @retval TRUE The matched SPD/SAD/PAD is found.\r
29 @retval FALSE The matched SPD/SAD/PAD is not found.\r
30**/\r
31typedef\r
32BOOLEAN\r
33(* MATCH_POLICY_ENTRY) (\r
34 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,\r
35 IN VOID *Data,\r
36 IN POLICY_ENTRY_INDEXER *Indexer\r
37 );\r
38\r
39extern MATCH_POLICY_ENTRY mMatchPolicyEntry[];\r
40\r
41#endif\r