FD.io VPP
v19.04.2-12-g66b1689
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ipsec_ah_backend_t |
struct | ipsec_esp_backend_t |
struct | ipsec_main_crypto_alg_t |
struct | ipsec_main_integ_alg_t |
struct | ipsec_per_thread_data_t |
struct | ipsec_main_t |
Typedefs | |
typedef clib_error_t *(* | add_del_sa_sess_cb_t) (u32 sa_index, u8 is_add) |
typedef clib_error_t *(* | check_support_cb_t) (ipsec_sa_t *sa) |
typedef enum ipsec_format_flags_t_ | ipsec_format_flags_t |
Enumerations | |
enum | ipsec_format_flags_t_ { IPSEC_FORMAT_BRIEF = 0, IPSEC_FORMAT_DETAIL = (1 << 0) } |
Functions | |
clib_error_t * | ipsec_add_del_sa_sess_cb (ipsec_main_t *im, u32 sa_index, u8 is_add) |
clib_error_t * | ipsec_check_support_cb (ipsec_main_t *im, ipsec_sa_t *sa) |
u8 * | format_ipsec_replay_window (u8 *s, va_list *args) |
static_always_inline u32 | get_next_output_feature_node_index (vlib_buffer_t *b, vlib_node_runtime_t *nr) |
u32 | ipsec_register_ah_backend (vlib_main_t *vm, ipsec_main_t *im, const char *name, const char *ah4_encrypt_node_name, const char *ah4_decrypt_node_name, const char *ah6_encrypt_node_name, const char *ah6_decrypt_node_name, check_support_cb_t ah_check_support_cb, add_del_sa_sess_cb_t ah_add_del_sa_sess_cb) |
u32 | ipsec_register_esp_backend (vlib_main_t *vm, ipsec_main_t *im, const char *name, const char *esp4_encrypt_node_name, const char *esp4_encrypt_tun_node_name, const char *esp4_decrypt_node_name, const char *esp6_encrypt_node_name, const char *esp6_encrypt_tun_node_name, const char *esp6_decrypt_node_name, check_support_cb_t esp_check_support_cb, add_del_sa_sess_cb_t esp_add_del_sa_sess_cb) |
int | ipsec_select_ah_backend (ipsec_main_t *im, u32 ah_backend_idx) |
int | ipsec_select_esp_backend (ipsec_main_t *im, u32 esp_backend_idx) |
clib_error_t * | ipsec_rsc_in_use (ipsec_main_t *im) |
static ipsec_sa_t * | ipsec_sa_get (u32 sa_index) |
Variables | |
ipsec_main_t | ipsec_main |
vlib_node_registration_t | esp4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_node) More... | |
vlib_node_registration_t | esp4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_decrypt_node) More... | |
vlib_node_registration_t | ah4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_encrypt_node) More... | |
vlib_node_registration_t | ah4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_decrypt_node) More... | |
vlib_node_registration_t | esp6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_node) More... | |
vlib_node_registration_t | esp6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_decrypt_node) More... | |
vlib_node_registration_t | ah6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_encrypt_node) More... | |
vlib_node_registration_t | ah6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_decrypt_node) More... | |
vlib_node_registration_t | ipsec4_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec4_if_input_node) More... | |
vlib_node_registration_t | ipsec6_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec6_if_input_node) More... | |
typedef clib_error_t*(* add_del_sa_sess_cb_t) (u32 sa_index, u8 is_add) |
typedef clib_error_t*(* check_support_cb_t) (ipsec_sa_t *sa) |
typedef enum ipsec_format_flags_t_ ipsec_format_flags_t |
Definition at line 141 of file ipsec_format.c.
static_always_inline u32 get_next_output_feature_node_index | ( | vlib_buffer_t * | b, |
vlib_node_runtime_t * | nr | ||
) |
clib_error_t* ipsec_add_del_sa_sess_cb | ( | ipsec_main_t * | im, |
u32 | sa_index, | ||
u8 | is_add | ||
) |
clib_error_t* ipsec_check_support_cb | ( | ipsec_main_t * | im, |
ipsec_sa_t * | sa | ||
) |
u32 ipsec_register_ah_backend | ( | vlib_main_t * | vm, |
ipsec_main_t * | im, | ||
const char * | name, | ||
const char * | ah4_encrypt_node_name, | ||
const char * | ah4_decrypt_node_name, | ||
const char * | ah6_encrypt_node_name, | ||
const char * | ah6_decrypt_node_name, | ||
check_support_cb_t | ah_check_support_cb, | ||
add_del_sa_sess_cb_t | ah_add_del_sa_sess_cb | ||
) |
u32 ipsec_register_esp_backend | ( | vlib_main_t * | vm, |
ipsec_main_t * | im, | ||
const char * | name, | ||
const char * | esp4_encrypt_node_name, | ||
const char * | esp4_encrypt_tun_node_name, | ||
const char * | esp4_decrypt_node_name, | ||
const char * | esp6_encrypt_node_name, | ||
const char * | esp6_encrypt_tun_node_name, | ||
const char * | esp6_decrypt_node_name, | ||
check_support_cb_t | esp_check_support_cb, | ||
add_del_sa_sess_cb_t | esp_add_del_sa_sess_cb | ||
) |
clib_error_t* ipsec_rsc_in_use | ( | ipsec_main_t * | im | ) |
|
inlinestatic |
int ipsec_select_ah_backend | ( | ipsec_main_t * | im, |
u32 | ah_backend_idx | ||
) |
int ipsec_select_esp_backend | ( | ipsec_main_t * | im, |
u32 | esp_backend_idx | ||
) |
vlib_node_registration_t ah4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_decrypt_node)
Definition at line 294 of file ah_decrypt.c.
vlib_node_registration_t ah4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_encrypt_node)
Definition at line 326 of file ah_encrypt.c.
vlib_node_registration_t ah6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_decrypt_node)
Definition at line 320 of file ah_decrypt.c.
vlib_node_registration_t ah6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_encrypt_node)
Definition at line 352 of file ah_encrypt.c.
vlib_node_registration_t esp4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_decrypt_node)
Definition at line 479 of file esp_decrypt.c.
vlib_node_registration_t esp4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_node)
Definition at line 529 of file esp_encrypt.c.
vlib_node_registration_t esp6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_decrypt_node)
Definition at line 505 of file esp_decrypt.c.
vlib_node_registration_t esp6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_node)
Definition at line 555 of file esp_encrypt.c.
vlib_node_registration_t ipsec4_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec4_if_input_node)
Definition at line 618 of file ipsec_if_in.c.
vlib_node_registration_t ipsec6_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec6_if_input_node)
Definition at line 637 of file ipsec_if_in.c.
ipsec_main_t ipsec_main |