NetworkPkg/Application/IpsecConfig/IpSecConfig.h File Reference


Data Structures

struct  VAR_CHECK_ITEM
struct  SHELL_PARAM_PACKAGE
struct  STR2INT

Defines

#define ARRAY_SIZE(x)   (sizeof(x) / sizeof(x[0]))
#define IPSECCONFIG_STATUS_NAME   L"IpSecStatus"
#define BIT(x)   (UINT32) (1 << (x))
#define IPSEC_STATUS_DISABLED   0x0
#define IPSEC_STATUS_ENABLED   0x1
#define EFI_IP4_PROTO_ICMP   0x1
#define EFI_IP4_PROTO_TCP   0x6
#define EFI_IP4_PROTO_UDP   0x11
#define EFI_IPSEC_ANY_PROTOCOL   0xFFFF
#define EFI_IPSEC_ANY_PORT   0
#define IPSEC_AALG_NONE   0x00
#define IPSEC_AALG_MD5HMAC   0x01
#define IPSEC_AALG_SHA1HMAC   0x02
#define IPSEC_AALG_SHA2_256HMAC   0x05
#define IPSEC_AALG_SHA2_384HMAC   0x06
#define IPSEC_AALG_SHA2_512HMAC   0x07
#define IPSEC_AALG_AES_XCBC_MAC   0x09
#define IPSEC_AALG_NULL   0xFB
#define IPSEC_EALG_NONE   0x00
#define IPSEC_EALG_DESCBC   0x02
#define IPSEC_EALG_3DESCBC   0x03
#define IPSEC_EALG_CASTCBC   0x06
#define IPSEC_EALG_BLOWFISHCBC   0x07
#define IPSEC_EALG_NULL   0x0B
#define IPSEC_EALG_AESCBC   0x0C
#define IPSEC_EALG_AESCTR   0x0D
#define IPSEC_EALG_AES_CCM_ICV8   0x0E
#define IPSEC_EALG_AES_CCM_ICV12   0x0F
#define IPSEC_EALG_AES_CCM_ICV16   0x10
#define IPSEC_EALG_AES_GCM_ICV8   0x12
#define IPSEC_EALG_AES_GCM_ICV12   0x13
#define IPSEC_EALG_AES_GCM_ICV16   0x14

Variables

EFI_IPSEC_CONFIG_PROTOCOL * mIpSecConfig
EFI_HII_HANDLE mHiiHandle
CHAR16 mAppName []
STR2INT mMapPolicy []
STR2INT mMapIpProtocol []
STR2INT mMapIpSecAction []
STR2INT mMapIpSecMode []
STR2INT mMapDfOption []
STR2INT mMapIpSecProtocol []
STR2INT mMapAuthAlgo []
STR2INT mMapEncAlgo []
STR2INT mMapAuthProto []
STR2INT mMapAuthMethod []

Detailed Description

The internal structure and function declaration 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.


Define Documentation

#define ARRAY_SIZE (  )     (sizeof(x) / sizeof(x[0]))

#define BIT (  )     (UINT32) (1 << (x))

#define EFI_IP4_PROTO_ICMP   0x1

#define EFI_IP4_PROTO_TCP   0x6

#define EFI_IP4_PROTO_UDP   0x11

#define EFI_IPSEC_ANY_PORT   0

#define EFI_IPSEC_ANY_PROTOCOL   0xFFFF

#define IPSEC_AALG_AES_XCBC_MAC   0x09

#define IPSEC_AALG_MD5HMAC   0x01

#define IPSEC_AALG_NONE   0x00

IPsec Authentication Algorithm Definition The number value definition is aligned to IANA assignment

Referenced by CreateSadEntry().

#define IPSEC_AALG_NULL   0xFB

#define IPSEC_AALG_SHA1HMAC   0x02

#define IPSEC_AALG_SHA2_256HMAC   0x05

#define IPSEC_AALG_SHA2_384HMAC   0x06

#define IPSEC_AALG_SHA2_512HMAC   0x07

#define IPSEC_EALG_3DESCBC   0x03

#define IPSEC_EALG_AES_CCM_ICV12   0x0F

#define IPSEC_EALG_AES_CCM_ICV16   0x10

#define IPSEC_EALG_AES_CCM_ICV8   0x0E

#define IPSEC_EALG_AES_GCM_ICV12   0x13

#define IPSEC_EALG_AES_GCM_ICV16   0x14

#define IPSEC_EALG_AES_GCM_ICV8   0x12

#define IPSEC_EALG_AESCBC   0x0C

#define IPSEC_EALG_AESCTR   0x0D

#define IPSEC_EALG_BLOWFISHCBC   0x07

#define IPSEC_EALG_CASTCBC   0x06

#define IPSEC_EALG_DESCBC   0x02

#define IPSEC_EALG_NONE   0x00

IPsec Encryption Algorithm Definition The number value definition is aligned to IANA assignment

Referenced by CombineSadEntry(), and CreateSadEntry().

#define IPSEC_EALG_NULL   0x0B

#define IPSEC_STATUS_DISABLED   0x0

#define IPSEC_STATUS_ENABLED   0x1

#define IPSECCONFIG_STATUS_NAME   L"IpSecStatus"


Variable Documentation

CHAR16 mAppName[]

EFI_HII_HANDLE mHiiHandle

EFI_IPSEC_CONFIG_PROTOCOL* mIpSecConfig

Referenced by CreatePadEntry(), and DumpPadEntry().

Referenced by CreatePadEntry(), and DumpPadEntry().

Referenced by CreateSpdEntry(), and DumpSpdEntry().

Referenced by CreateSpdEntry(), and DumpSpdEntry().


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