14#ifndef __EFI_IPSE_CCONFIG_PROTOCOL_H__
15#define __EFI_IPSE_CCONFIG_PROTOCOL_H__
17#define EFI_IPSEC_CONFIG_PROTOCOL_GUID \
19 0xce5e5929, 0xc7a3, 0x4602, {0xad, 0x9e, 0xc9, 0xda, 0xf9, 0x4e, 0xbf, 0xcf } \
59 IPsecConfigDataTypeMaximum
318#define MAX_PEERID_LEN 128
541 EfiIPsecAuthProtocolIKEv1,
542 EfiIPsecAuthProtocolIKEv2,
543 EfiIPsecAuthProtocolMaximum
558 EfiIPsecAuthMethodMaximum
794extern EFI_GUID gEfiIpSecConfigProtocolGuid;
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)
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)
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)
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)
struct _EFI_IP_ADDRESS_INFO EFI_IP_ADDRESS_INFO
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
struct _EFI_IPSEC_AH_ALGO_INFO EFI_IPSEC_AH_ALGO_INFO
struct _EFI_IPSEC_SA_LIFETIME EFI_IPSEC_SA_LIFETIME
@ EfiIPsecESP
IP Encapsulating Security Payload which is specified in RFC 4303.
@ EfiIPsecAH
IP Authentication Header protocol which is specified in RFC 4302.
EFI_IPSEC_AUTH_PROTOCOL_TYPE
struct _EFI_IPSEC_PAD_DATA EFI_IPSEC_PAD_DATA
struct _EFI_IPSEC_PROCESS_POLICY EFI_IPSEC_PROCESS_POLICY
struct _EFI_IPSEC_TUNNEL_OPTION EFI_IPSEC_TUNNEL_OPTION
@ EfiIPsecAuthMethodCertificates
@ EfiIPsecAuthMethodPreSharedSecret
EFI_IPSEC_TUNNEL_DF_OPTION
@ EfiIPsecTunnelCopyDf
Copy DF bit from inner header.
@ EfiIPsecTunnelClearDf
Clear DF bit from inner header.
@ EfiIPsecTunnelSetDf
Set DF bit from inner header.
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)
EFI_IP_ADDRESS Address
The IPv4 or IPv6 address.
UINT8 PrefixLength
The length of the prefix associated with the Address.
EFI_IPSEC_AUTH_PROTOCOL_TYPE AuthProtocol
EFI_IPSEC_AUTH_METHOD AuthMethod
UINT8 PeerId[MAX_PEERID_LEN]
EFI_IP_ADDRESS_INFO IpAddress
EFI_IPSEC_SA_LIFETIME SaLifetime
EFI_IPSEC_TUNNEL_OPTION * TunnelOption
EFI_IPSEC_PROTOCOL_TYPE Proto
EFI_IPSEC_SA_LIFETIME SaLifetime
EFI_IP_ADDRESS TunnelDestinationAddress
EFI_IPSEC_ALGO_INFO AlgoInfo
EFI_IP_ADDRESS TunnelSourceAddress
EFI_IPSEC_SPD_SELECTOR * SpdSelector
EFI_IPSEC_SA_LIFETIME SaLifetime
EFI_IPSEC_ALGO_INFO AlgoInfo
EFI_IPSEC_SPD_SELECTOR * SpdSelector
EFI_IP_ADDRESS DestAddress
EFI_IPSEC_PROTOCOL_TYPE Proto
EFI_IPSEC_TRAFFIC_DIR TrafficDirection
UINT8 Name[MAX_PEERID_LEN]
EFI_IPSEC_PROCESS_POLICY * ProcessingPolicy
UINT32 RemoteAddressCount
EFI_IP_ADDRESS_INFO * RemoteAddress
EFI_IP_ADDRESS_INFO * LocalAddress
EFI_IP_ADDRESS LocalTunnelAddress
EFI_IPSEC_TUNNEL_DF_OPTION DF
EFI_IP_ADDRESS RemoteTunnelAddress