FD.io VPP
v18.01-8-g0eacf49
Vector Packet Processing
|
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_main_callbacks_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 |
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_main_t | ipsec_main |
vlib_node_registration_t | esp_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp_encrypt_node) More... | |
vlib_node_registration_t | esp_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp_decrypt_node) More... | |
vlib_node_registration_t | ah_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah_encrypt_node) More... | |
vlib_node_registration_t | ah_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah_decrypt_node) More... | |
vlib_node_registration_t | ipsec_if_output_node |
(constructor) VLIB_REGISTER_NODE (ipsec_if_output_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 |
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.
Definition at line 50 of file ipsec_if_out.c.
Definition at line 90 of file ipsec_format.c.
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 291 of file ipsec_if.c.
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 | ||
) |
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 143 of file ipsec_if.c.
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 151 of file ipsec_if.c.
|
inlinestatic |
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 353 of file ipsec_if.c.
int ipsec_set_interface_sa | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | sa_id, | ||
u8 | is_outbound | ||
) |
Definition at line 403 of file ipsec_if.c.
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 ah_decrypt_node |
(constructor) VLIB_REGISTER_NODE (ah_decrypt_node)
Definition at line 317 of file ah_decrypt.c.
vlib_node_registration_t ah_encrypt_node |
(constructor) VLIB_REGISTER_NODE (ah_encrypt_node)
Definition at line 59 of file ah_encrypt.c.
vlib_node_registration_t esp_decrypt_node |
(constructor) VLIB_REGISTER_NODE (esp_decrypt_node)
Definition at line 418 of file esp_decrypt.c.
vlib_node_registration_t esp_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp_encrypt_node)
Definition at line 62 of file esp_encrypt.c.
vlib_node_registration_t ipsec_if_input_node |
(constructor) VLIB_REGISTER_NODE (ipsec_if_input_node)
Definition at line 202 of file ipsec_if_in.c.
vlib_node_registration_t ipsec_if_output_node |
(constructor) VLIB_REGISTER_NODE (ipsec_if_output_node)
Definition at line 151 of file ipsec_if_out.c.
ipsec_main_t ipsec_main |