Go to the source code of this file.
|
static ipsec_itf_t * | ipsec_itf_find_by_sw_if_index (u32 sw_if_index) |
|
static u8 * | format_ipsec_itf_name (u8 *s, va_list *args) |
|
void | ipsec_itf_adj_unstack (adj_index_t ai) |
|
void | ipsec_itf_adj_stack (adj_index_t ai, u32 sai) |
|
static adj_walk_rc_t | ipsec_itf_adj_stack_cb (adj_index_t ai, void *arg) |
|
static void | ipsec_itf_restack (index_t itpi, const ipsec_itf_t *itf) |
|
static walk_rc_t | ipsec_tun_protect_walk_state_change (index_t itpi, void *arg) |
|
static clib_error_t * | ipsec_itf_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static int | ipsec_itf_tunnel_desc (u32 sw_if_index, ip46_address_t *src, ip46_address_t *dst, u8 *is_l2) |
|
static u8 * | ipsec_itf_build_rewrite (void) |
|
static u8 * | ipsec_itf_build_rewrite_i (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) |
|
void | ipsec_itf_update_adj (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
|
| VNET_DEVICE_CLASS (ipsec_itf_device_class) |
|
| VNET_HW_INTERFACE_CLASS (ipsec_hw_interface_class) |
|
static u32 | ipsec_itf_instance_alloc (u32 want) |
|
static int | ipsec_itf_instance_free (u32 instance) |
|
int | ipsec_itf_create (u32 user_instance, tunnel_mode_t mode, u32 *sw_if_indexp) |
|
int | ipsec_itf_delete (u32 sw_if_index) |
|
static clib_error_t * | ipsec_itf_create_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ipsec_itf_delete_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ IPSEC_ITF_MAX_INSTANCE
#define IPSEC_ITF_MAX_INSTANCE (16 * 1024) |
◆ format_ipsec_itf_name()
static u8* format_ipsec_itf_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ipsec_itf_adj_stack()
◆ ipsec_itf_adj_stack_cb()
◆ ipsec_itf_adj_unstack()
◆ ipsec_itf_admin_up_down()
◆ ipsec_itf_build_rewrite()
static u8* ipsec_itf_build_rewrite |
( |
void |
| ) |
|
|
static |
◆ ipsec_itf_build_rewrite_i()
◆ ipsec_itf_create()
◆ ipsec_itf_create_cli()
◆ ipsec_itf_delete()
int ipsec_itf_delete |
( |
u32 |
sw_if_index | ) |
|
◆ ipsec_itf_delete_cli()
◆ ipsec_itf_find_by_sw_if_index()
◆ ipsec_itf_instance_alloc()
static u32 ipsec_itf_instance_alloc |
( |
u32 |
want | ) |
|
|
static |
◆ ipsec_itf_instance_free()
static int ipsec_itf_instance_free |
( |
u32 |
instance | ) |
|
|
static |
◆ ipsec_itf_restack()
◆ ipsec_itf_tunnel_desc()
static int ipsec_itf_tunnel_desc |
( |
u32 |
sw_if_index, |
|
|
ip46_address_t * |
src, |
|
|
ip46_address_t * |
dst, |
|
|
u8 * |
is_l2 |
|
) |
| |
|
static |
◆ ipsec_itf_update_adj()
◆ ipsec_tun_protect_walk_state_change()
static walk_rc_t ipsec_tun_protect_walk_state_change |
( |
index_t |
itpi, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ VNET_DEVICE_CLASS()
VNET_DEVICE_CLASS |
( |
ipsec_itf_device_class |
| ) |
|
◆ VNET_HW_INTERFACE_CLASS()
VNET_HW_INTERFACE_CLASS |
( |
ipsec_hw_interface_class |
| ) |
|
◆ ipsec_itf_create_command
Initial value:= {
.path = "ipsec itf create",
.short_help = "ipsec itf create [instance <instance>]",
}
static clib_error_t * ipsec_itf_create_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ipsec_itf_create_command)
Definition at line 397 of file ipsec_itf.c.
◆ ipsec_itf_delete_command
Initial value:= {
.path = "ipsec itf delete",
.short_help = "ipsec itf delete <interface>",
}
static clib_error_t * ipsec_itf_delete_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ipsec_itf_delete_command)
Definition at line 448 of file ipsec_itf.c.
◆ ipsec_itf_index_by_sw_if_index
u32* ipsec_itf_index_by_sw_if_index |
|
static |
◆ ipsec_itf_instances
uword* ipsec_itf_instances |
|
static |
◆ ipsec_itf_pool