#include <doca_dev.h>
#include <doca_flow.h>
#include <dpdk_utils.h>
Go to the source code of this file.
|
| enum | ipsec_security_gw_mode { IPSEC_SECURITY_GW_TUNNEL
, IPSEC_SECURITY_GW_TRANSPORT
, IPSEC_SECURITY_GW_UDP_TRANSPORT
} |
| |
| enum | ipsec_security_gw_flow_mode { IPSEC_SECURITY_GW_VNF
, IPSEC_SECURITY_GW_SWITCH
} |
| |
| enum | ipsec_security_gw_esp_offload { IPSEC_SECURITY_GW_ESP_OFFLOAD_BOTH
, IPSEC_SECURITY_GW_ESP_OFFLOAD_ENCAP
, IPSEC_SECURITY_GW_ESP_OFFLOAD_DECAP
, IPSEC_SECURITY_GW_ESP_OFFLOAD_NONE
} |
| |
| enum | ipsec_security_gw_perf { IPSEC_SECURITY_GW_PERF_NONE
, IPSEC_SECURITY_GW_PERF_INSERTION_RATE
, IPSEC_SECURITY_GW_PERF_BW
, IPSEC_SECURITY_GW_PERF_BOTH
} |
| |
| enum | ipsec_security_gw_fwd_syndrome { IPSEC_SECURITY_GW_FWD_SYNDROME_DROP
, IPSEC_SECURITY_GW_FWD_SYNDROME_RSS
} |
| |
◆ DYN_RESERVED_RULES
| #define DYN_RESERVED_RULES (1024) /* Reserved rules for dynamic rules */ |
◆ HW_WINDOW_SIZE
| #define HW_WINDOW_SIZE 128 /* The size of the replay window when anti replay is done by HW*/ |
◆ MAX_ACTIONS_MEM_SIZE
| #define MAX_ACTIONS_MEM_SIZE (8388608 * 64) /* 2^23 * size of max_entry */ |
◆ MAX_FILE_NAME
| #define MAX_FILE_NAME (255) /* Maximum file name length */ |
◆ MAX_KEY_LEN
| #define MAX_KEY_LEN (32) /* Maximal GCM key size is 256bit==32B */ |
◆ MAX_NAME_LEN
◆ MAX_NB_RULES
| #define MAX_NB_RULES (1048576) /* Maximal number of rules == 2^20 */ |
◆ MAX_SOCKET_PATH_NAME
| #define MAX_SOCKET_PATH_NAME (108) /* Maximum socket file name length */ |
◆ NUM_OF_SYNDROMES
| #define NUM_OF_SYNDROMES (4) /* Number of bad syndromes */ |
◆ SW_WINDOW_SIZE
| #define SW_WINDOW_SIZE 64 /* The size of the replay window when anti replay is done by SW */ |
◆ ipsec_security_gw_esp_offload
| Enumerator |
|---|
| IPSEC_SECURITY_GW_ESP_OFFLOAD_BOTH | |
| IPSEC_SECURITY_GW_ESP_OFFLOAD_ENCAP | |
| IPSEC_SECURITY_GW_ESP_OFFLOAD_DECAP | |
| IPSEC_SECURITY_GW_ESP_OFFLOAD_NONE | |
Definition at line 192 of file ipsec_ctx.h.
◆ ipsec_security_gw_flow_mode
| Enumerator |
|---|
| IPSEC_SECURITY_GW_VNF | |
| IPSEC_SECURITY_GW_SWITCH | |
Definition at line 186 of file ipsec_ctx.h.
◆ ipsec_security_gw_fwd_syndrome
| Enumerator |
|---|
| IPSEC_SECURITY_GW_FWD_SYNDROME_DROP | |
| IPSEC_SECURITY_GW_FWD_SYNDROME_RSS | |
Definition at line 208 of file ipsec_ctx.h.
◆ ipsec_security_gw_mode
| Enumerator |
|---|
| IPSEC_SECURITY_GW_TUNNEL | |
| IPSEC_SECURITY_GW_TRANSPORT | |
| IPSEC_SECURITY_GW_UDP_TRANSPORT | |
Definition at line 179 of file ipsec_ctx.h.
◆ ipsec_security_gw_perf
| Enumerator |
|---|
| IPSEC_SECURITY_GW_PERF_NONE | |
| IPSEC_SECURITY_GW_PERF_INSERTION_RATE | |
| IPSEC_SECURITY_GW_PERF_BW | |
| IPSEC_SECURITY_GW_PERF_BOTH | |
Definition at line 200 of file ipsec_ctx.h.
◆ find_port_action_type_switch()
| doca_error_t find_port_action_type_switch |
( |
int |
port_id, |
|
|
int * |
idx |
|
) |
| |
◆ find_port_action_type_vnf()
◆ ipsec_security_gw_close_devices()
◆ ipsec_security_gw_init_devices()