20#ifndef __EFI_IPSE_CCONFIG_PROTOCOL_H__
21#define __EFI_IPSE_CCONFIG_PROTOCOL_H__
24#define EFI_IPSEC_CONFIG_PROTOCOL_GUID \
26 0xce5e5929, 0xc7a3, 0x4602, {0xad, 0x9e, 0xc9, 0xda, 0xf9, 0x4e, 0xbf, 0xcf } \
327#define MAX_PEERID_LEN 128
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
#define MAX_PEERID_LEN
Definition IpSecConfig.h:327
EFI_STATUS(EFIAPI * EFI_IPSEC_CONFIG_SET_DATA)(IN EFI_IPSEC_CONFIG_PROTOCOL *This, IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN EFI_IPSEC_CONFIG_SELECTOR *Selector, IN VOID *Data, IN EFI_IPSEC_CONFIG_SELECTOR *InsertBefore OPTIONAL)
Definition IpSecConfig.h:642
struct _EFI_IPSEC_SPD_DATA EFI_IPSEC_SPD_DATA
EFI_STATUS(EFIAPI * EFI_IPSEC_CONFIG_UNREGISTER_NOTIFY)(IN EFI_IPSEC_CONFIG_PROTOCOL *This, IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN EFI_EVENT Event)
Definition IpSecConfig.h:782
EFI_STATUS(EFIAPI * EFI_IPSEC_CONFIG_REGISTER_NOTIFY)(IN EFI_IPSEC_CONFIG_PROTOCOL *This, IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN EFI_EVENT Event)
Definition IpSecConfig.h:756
struct _EFI_IPSEC_SA_ID EFI_IPSEC_SA_ID
struct _EFI_IPSEC_PAD_ID EFI_IPSEC_PAD_ID
EFI_STATUS(EFIAPI * EFI_IPSEC_CONFIG_GET_NEXT_SELECTOR)(IN EFI_IPSEC_CONFIG_PROTOCOL *This, IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN OUT UINTN *SelectorSize, IN OUT EFI_IPSEC_CONFIG_SELECTOR *Selector)
Definition IpSecConfig.h:726
struct _EFI_IP_ADDRESS_INFO EFI_IP_ADDRESS_INFO
EFI_IPSEC_MODE
Definition IpSecConfig.h:207
@ EfiIPsecTunnel
Definition IpSecConfig.h:209
@ EfiIPsecTransport
Definition IpSecConfig.h:208
struct _EFI_IPSEC_SA_DATA2 EFI_IPSEC_SA_DATA2
struct _EFI_IPSEC_SPD_SELECTOR EFI_IPSEC_SPD_SELECTOR
struct _EFI_IPSEC_ESP_ALGO_INFO EFI_IPSEC_ESP_ALGO_INFO
struct _EFI_IPSEC_SA_DATA EFI_IPSEC_SA_DATA
EFI_IPSEC_CONFIG_DATA_TYPE
Definition IpSecConfig.h:34
@ IPsecConfigDataTypeSad
Definition IpSecConfig.h:56
@ IPsecConfigDataTypeSpd
Definition IpSecConfig.h:48
@ IPsecConfigDataTypePad
Definition IpSecConfig.h:65
@ IPsecConfigDataTypeMaximum
Definition IpSecConfig.h:66
struct _EFI_IPSEC_AH_ALGO_INFO EFI_IPSEC_AH_ALGO_INFO
EFI_IPSEC_TRAFFIC_DIR
Definition IpSecConfig.h:137
@ EfiIPsecInBound
Definition IpSecConfig.h:143
@ EfiIPsecOutBound
Definition IpSecConfig.h:149
EFI_IPSEC_ACTION
Definition IpSecConfig.h:156
@ EfiIPsecActionDiscard
Definition IpSecConfig.h:160
@ EfiIPsecActionProtect
Definition IpSecConfig.h:172
@ EfiIPsecActionBypass
Definition IpSecConfig.h:165
struct _EFI_IPSEC_SA_LIFETIME EFI_IPSEC_SA_LIFETIME
EFI_IPSEC_PROTOCOL_TYPE
Definition IpSecConfig.h:248
@ EfiIPsecESP
IP Encapsulating Security Payload which is specified in RFC 4303.
Definition IpSecConfig.h:250
@ EfiIPsecAH
IP Authentication Header protocol which is specified in RFC 4302.
Definition IpSecConfig.h:249
EFI_IPSEC_AUTH_PROTOCOL_TYPE
Definition IpSecConfig.h:550
@ EfiIPsecAuthProtocolIKEv1
Definition IpSecConfig.h:551
@ EfiIPsecAuthProtocolIKEv2
Definition IpSecConfig.h:552
@ EfiIPsecAuthProtocolMaximum
Definition IpSecConfig.h:553
struct _EFI_IPSEC_PAD_DATA EFI_IPSEC_PAD_DATA
struct _EFI_IPSEC_PROCESS_POLICY EFI_IPSEC_PROCESS_POLICY
EFI_GUID gEfiIpSecConfigProtocolGuid
struct _EFI_IPSEC_TUNNEL_OPTION EFI_IPSEC_TUNNEL_OPTION
EFI_IPSEC_AUTH_METHOD
Definition IpSecConfig.h:559
@ EfiIPsecAuthMethodMaximum
Definition IpSecConfig.h:568
@ EfiIPsecAuthMethodCertificates
Definition IpSecConfig.h:567
@ EfiIPsecAuthMethodPreSharedSecret
Definition IpSecConfig.h:563
EFI_IPSEC_TUNNEL_DF_OPTION
Definition IpSecConfig.h:219
@ EfiIPsecTunnelCopyDf
Copy DF bit from inner header.
Definition IpSecConfig.h:222
@ EfiIPsecTunnelClearDf
Clear DF bit from inner header.
Definition IpSecConfig.h:220
@ EfiIPsecTunnelSetDf
Set DF bit from inner header.
Definition IpSecConfig.h:221
EFI_STATUS(EFIAPI * EFI_IPSEC_CONFIG_GET_DATA)(IN EFI_IPSEC_CONFIG_PROTOCOL *This, IN EFI_IPSEC_CONFIG_DATA_TYPE DataType, IN EFI_IPSEC_CONFIG_SELECTOR *Selector, IN OUT UINTN *DataSize, OUT VOID *Data)
Definition IpSecConfig.h:679
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
#define VOID
Definition acefi.h:190
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition IpSecConfig.h:383
UINT8 AuthAlgoId
Definition IpSecConfig.h:384
UINTN AuthKeyLength
Definition IpSecConfig.h:385
VOID * AuthKey
Definition IpSecConfig.h:386
Definition IpSecConfig.h:797
EFI_IPSEC_CONFIG_GET_DATA GetData
Definition IpSecConfig.h:799
EFI_IPSEC_CONFIG_REGISTER_NOTIFY RegisterDataNotify
Definition IpSecConfig.h:801
EFI_IPSEC_CONFIG_SET_DATA SetData
Definition IpSecConfig.h:798
EFI_IPSEC_CONFIG_UNREGISTER_NOTIFY UnregisterDataNotify
Definition IpSecConfig.h:802
EFI_IPSEC_CONFIG_GET_NEXT_SELECTOR GetNextSelector
Definition IpSecConfig.h:800
Definition IpSecConfig.h:397
UINTN EncKeyLength
Definition IpSecConfig.h:399
UINT8 AuthAlgoId
Definition IpSecConfig.h:401
UINT8 EncAlgoId
Definition IpSecConfig.h:398
VOID * AuthKey
Definition IpSecConfig.h:403
VOID * EncKey
Definition IpSecConfig.h:400
UINTN AuthKeyLength
Definition IpSecConfig.h:402
Definition IpSecConfig.h:574
EFI_IPSEC_AUTH_PROTOCOL_TYPE AuthProtocol
Definition IpSecConfig.h:578
UINTN RevocationDataSize
Definition IpSecConfig.h:602
UINTN AuthDataSize
Definition IpSecConfig.h:592
VOID * AuthData
Definition IpSecConfig.h:598
EFI_IPSEC_AUTH_METHOD AuthMethod
Definition IpSecConfig.h:582
VOID * RevocationData
Definition IpSecConfig.h:607
BOOLEAN IkeIdFlag
Definition IpSecConfig.h:588
Definition IpSecConfig.h:514
UINT8 PeerId[MAX_PEERID_LEN]
Definition IpSecConfig.h:530
union _EFI_IPSEC_PAD_ID::@399 Id
BOOLEAN PeerIdValid
Definition IpSecConfig.h:518
EFI_IP_ADDRESS_INFO IpAddress
Definition IpSecConfig.h:523
Definition IpSecConfig.h:257
BOOLEAN SeqOverflow
Definition IpSecConfig.h:269
UINT8 AuthAlgoId
Definition IpSecConfig.h:295
EFI_IPSEC_SA_LIFETIME SaLifetime
Definition IpSecConfig.h:279
EFI_IPSEC_TUNNEL_OPTION * TunnelOption
Definition IpSecConfig.h:287
BOOLEAN ExtSeqNum
Definition IpSecConfig.h:262
EFI_IPSEC_MODE Mode
Definition IpSecConfig.h:283
UINT8 EncAlgoId
Definition IpSecConfig.h:302
BOOLEAN FragCheck
Definition IpSecConfig.h:274
EFI_IPSEC_PROTOCOL_TYPE Proto
Definition IpSecConfig.h:291
Definition IpSecConfig.h:460
EFI_IPSEC_SA_LIFETIME SaLifetime
Definition IpSecConfig.h:482
BOOLEAN ManualSet
Definition IpSecConfig.h:497
UINT32 PathMTU
Definition IpSecConfig.h:487
EFI_IP_ADDRESS TunnelDestinationAddress
Definition IpSecConfig.h:505
EFI_IPSEC_ALGO_INFO AlgoInfo
Definition IpSecConfig.h:478
EFI_IP_ADDRESS TunnelSourceAddress
Definition IpSecConfig.h:501
EFI_IPSEC_SPD_SELECTOR * SpdSelector
Definition IpSecConfig.h:491
UINT8 AntiReplayWindows
Definition IpSecConfig.h:474
UINT64 SNCount
Definition IpSecConfig.h:469
EFI_IPSEC_MODE Mode
Definition IpSecConfig.h:464
Definition IpSecConfig.h:417
EFI_IPSEC_SA_LIFETIME SaLifetime
Definition IpSecConfig.h:439
UINT64 SNCount
Definition IpSecConfig.h:426
EFI_IPSEC_ALGO_INFO AlgoInfo
Definition IpSecConfig.h:435
UINT32 PathMTU
Definition IpSecConfig.h:444
BOOLEAN ManualSet
Definition IpSecConfig.h:454
EFI_IPSEC_MODE Mode
Definition IpSecConfig.h:421
EFI_IPSEC_SPD_SELECTOR * SpdSelector
Definition IpSecConfig.h:448
UINT8 AntiReplayWindows
Definition IpSecConfig.h:431
Definition IpSecConfig.h:309
EFI_IP_ADDRESS DestAddress
Definition IpSecConfig.h:323
UINT32 Spi
Definition IpSecConfig.h:315
EFI_IPSEC_PROTOCOL_TYPE Proto
Definition IpSecConfig.h:319
Definition IpSecConfig.h:181
UINT64 HardLifetime
Definition IpSecConfig.h:198
UINT64 ByteCount
Definition IpSecConfig.h:188
UINT64 SoftLifetime
Definition IpSecConfig.h:193
Definition IpSecConfig.h:332
UINT32 PackageFlag
Definition IpSecConfig.h:353
EFI_IPSEC_SA_ID SaId[1]
Definition IpSecConfig.h:375
EFI_IPSEC_ACTION Action
Definition IpSecConfig.h:362
EFI_IPSEC_TRAFFIC_DIR TrafficDirection
Definition IpSecConfig.h:357
UINT8 Name[MAX_PEERID_LEN]
Definition IpSecConfig.h:337
EFI_IPSEC_PROCESS_POLICY * ProcessingPolicy
Definition IpSecConfig.h:366
UINTN SaIdCount
Definition IpSecConfig.h:370
Definition IpSecConfig.h:81
UINT32 RemoteAddressCount
Definition IpSecConfig.h:94
UINT32 LocalAddressCount
Definition IpSecConfig.h:85
UINT16 RemotePort
Definition IpSecConfig.h:124
UINT16 LocalPortRange
Definition IpSecConfig.h:119
EFI_IP_ADDRESS_INFO * RemoteAddress
Definition IpSecConfig.h:99
UINT16 NextLayerProtocol
Definition IpSecConfig.h:106
EFI_IP_ADDRESS_INFO * LocalAddress
Definition IpSecConfig.h:90
UINT16 LocalPort
Definition IpSecConfig.h:112
UINT16 RemotePortRange
Definition IpSecConfig.h:130
Definition IpSecConfig.h:228
EFI_IP_ADDRESS LocalTunnelAddress
Definition IpSecConfig.h:232
EFI_IPSEC_TUNNEL_DF_OPTION DF
Definition IpSecConfig.h:242
EFI_IP_ADDRESS RemoteTunnelAddress
Definition IpSecConfig.h:236
Definition IpSecConfig.h:72
EFI_IP_ADDRESS Address
The IPv4 or IPv6 address.
Definition IpSecConfig.h:73
UINT8 PrefixLength
The length of the prefix associated with the Address.
Definition IpSecConfig.h:74
Definition IpSecConfig.h:409
EFI_IPSEC_AH_ALGO_INFO AhAlgoInfo
Definition IpSecConfig.h:410
EFI_IPSEC_ESP_ALGO_INFO EspAlgoInfo
Definition IpSecConfig.h:411
Definition IpSecConfig.h:539
EFI_IPSEC_SA_ID SaId
Definition IpSecConfig.h:541
EFI_IPSEC_SPD_SELECTOR SpdSelector
Definition IpSecConfig.h:540
EFI_IPSEC_PAD_ID PadId
Definition IpSecConfig.h:542
Definition UefiBaseType.h:108