![]() |
FD.io VPP
v19.01.1-17-ge106252
Vector Packet Processing
|
Include dependency graph for ipsec.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ipsec_sa_t |
| struct | ip46_address_range_t |
| struct | port_range_t |
| struct | ipsec_add_del_tunnel_args_t |
| struct | ipsec_add_del_ipsec_gre_tunnel_args_t |
| struct | ipsec_policy_t |
| struct | ipsec_spd_t |
| struct | ip4_ipsec_config_t |
| struct | ip6_ipsec_config_t |
| struct | ipsec_tunnel_if_t |
| struct | ipsec_ah_backend_t |
| struct | ipsec_esp_backend_t |
| struct | ipsec_proto_main_crypto_alg_t |
| struct | ipsec_proto_main_integ_alg_t |
| struct | ipsec_proto_main_per_thread_data_t |
| struct | ipsec_proto_main_t |
| struct | ipsec_main_t |
Macros | |
| #define | IPSEC_FLAG_IPSEC_GRE_TUNNEL (1 << 0) |
| #define | foreach_ipsec_output_next |
| #define | foreach_ipsec_input_next |
| #define | foreach_ipsec_policy_action |
| #define | foreach_ipsec_crypto_alg |
| #define | foreach_ipsec_integ_alg |
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) |
Enumerations | |
| enum | ipsec_output_next_t { IPSEC_OUTPUT_N_NEXT } |
| enum | ipsec_input_next_t { IPSEC_INPUT_N_NEXT } |
| enum | ipsec_policy_action_t { IPSEC_POLICY_N_ACTION } |
| enum | ipsec_crypto_alg_t { IPSEC_CRYPTO_N_ALG } |
| enum | ipsec_integ_alg_t { IPSEC_INTEG_N_ALG } |
| enum | ipsec_protocol_t { IPSEC_PROTOCOL_AH = 0, IPSEC_PROTOCOL_ESP = 1 } |
| enum | ipsec_if_set_key_type_t { IPSEC_IF_SET_KEY_TYPE_NONE, IPSEC_IF_SET_KEY_TYPE_LOCAL_CRYPTO, IPSEC_IF_SET_KEY_TYPE_REMOTE_CRYPTO, IPSEC_IF_SET_KEY_TYPE_LOCAL_INTEG, IPSEC_IF_SET_KEY_TYPE_REMOTE_INTEG } |
Variables | |
| ipsec_proto_main_t | ipsec_proto_main |
| 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 | ipsec_if_input_node |
| (constructor) VLIB_REGISTER_NODE (ipsec_if_input_node) More... | |
| #define foreach_ipsec_crypto_alg |
| #define foreach_ipsec_input_next |
| #define foreach_ipsec_integ_alg |
| #define foreach_ipsec_output_next |
| #define foreach_ipsec_policy_action |
| 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) |
| enum ipsec_crypto_alg_t |
| enum ipsec_input_next_t |
| enum ipsec_integ_alg_t |
| enum ipsec_output_next_t |
| enum ipsec_protocol_t |
Definition at line 58 of file ipsec_format.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 90 of file ipsec_format.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline u32 get_next_output_feature_node_index | ( | vlib_buffer_t * | b, |
| vlib_node_runtime_t * | nr | ||
| ) |
| int ipsec_add_del_ipsec_gre_tunnel | ( | vnet_main_t * | vnm, |
| ipsec_add_del_ipsec_gre_tunnel_args_t * | args | ||
| ) |
Definition at line 416 of file ipsec_if.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ipsec_add_del_policy | ( | vlib_main_t * | vm, |
| ipsec_policy_t * | policy, | ||
| int | is_add | ||
| ) |
| int ipsec_add_del_sa | ( | vlib_main_t * | vm, |
| ipsec_sa_t * | new_sa, | ||
| int | is_add | ||
| ) |
| clib_error_t* ipsec_add_del_sa_sess_cb | ( | ipsec_main_t * | im, |
| u32 | sa_index, | ||
| u8 | is_add | ||
| ) |
| int ipsec_add_del_spd | ( | vlib_main_t * | vm, |
| u32 | spd_id, | ||
| int | is_add | ||
| ) |
| int ipsec_add_del_tunnel_if | ( | ipsec_add_del_tunnel_args_t * | args | ) |
Definition at line 246 of file ipsec_if.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ipsec_add_del_tunnel_if_internal | ( | vnet_main_t * | vnm, |
| ipsec_add_del_tunnel_args_t * | args, | ||
| u32 * | sw_if_index | ||
| ) |
Definition at line 254 of file ipsec_if.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| 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_decrypt_node_name, | ||
| const char * | esp6_encrypt_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 | ||
| ) |
| int ipsec_set_interface_key | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| ipsec_if_set_key_type_t | type, | ||
| u8 | alg, | ||
| u8 * | key | ||
| ) |
Definition at line 478 of file ipsec_if.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ipsec_set_interface_sa | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | sa_id, | ||
| u8 | is_outbound | ||
| ) |
Definition at line 528 of file ipsec_if.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ipsec_set_interface_spd | ( | vlib_main_t * | vm, |
| u32 | sw_if_index, | ||
| u32 | spd_id, | ||
| int | is_add | ||
| ) |
| int ipsec_set_sa_key | ( | vlib_main_t * | vm, |
| ipsec_sa_t * | sa_update | ||
| ) |
| uword unformat_ipsec_crypto_alg | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
| uword unformat_ipsec_integ_alg | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
| uword unformat_ipsec_policy_action | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
| vlib_node_registration_t ah4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_decrypt_node)
Definition at line 317 of file ah_decrypt.c.
| vlib_node_registration_t ah4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah4_encrypt_node)
Definition at line 328 of file ah_encrypt.c.
| vlib_node_registration_t ah6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_decrypt_node)
Definition at line 343 of file ah_decrypt.c.
| vlib_node_registration_t ah6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah6_encrypt_node)
Definition at line 354 of file ah_encrypt.c.
| vlib_node_registration_t esp4_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_decrypt_node)
Definition at line 417 of file esp_decrypt.c.
| vlib_node_registration_t esp4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_node)
Definition at line 448 of file esp_encrypt.c.
| vlib_node_registration_t esp6_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_decrypt_node)
Definition at line 443 of file esp_decrypt.c.
| vlib_node_registration_t esp6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_node)
Definition at line 474 of file esp_encrypt.c.
| vlib_node_registration_t ipsec_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec_if_input_node)
Definition at line 224 of file ipsec_if_in.c.
| ipsec_main_t ipsec_main |
| ipsec_proto_main_t ipsec_proto_main |
Definition at line 26 of file esp_encrypt.c.