Go to the source code of this file.
|
u8 * | format_l2t_trace (u8 *s, va_list *args) |
|
u8 * | format_l2t_session (u8 *s, va_list *args) |
|
static clib_error_t * | show_l2tp_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_counters_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_counters_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_l2tpv3_name (u8 *s, va_list *args) |
|
static int | l2tpv3_name_renumber (vnet_hw_interface_t *hi, u32 new_dev_instance) |
|
| VNET_DEVICE_CLASS (l2tpv3_device_class, static) |
|
static u8 * | format_l2tp_header_with_length (u8 *s, va_list *args) |
|
| VNET_HW_INTERFACE_CLASS (l2tpv3_hw_class) |
|
int | create_l2tpv3_ipv6_tunnel (l2t_main_t *lm, ip6_address_t *client_address, ip6_address_t *our_address, u32 local_session_id, u32 remote_session_id, u64 local_cookie, u64 remote_cookie, int l2_sublayer_present, u32 encap_fib_index, u32 *sw_if_index) |
|
static clib_error_t * | create_l2tpv3_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | l2tpv3_set_tunnel_cookies (l2t_main_t *lm, u32 sw_if_index, u64 new_local_cookie, u64 new_remote_cookie) |
|
static clib_error_t * | set_l2tp_tunnel_cookie_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | l2tpv3_interface_enable_disable (vnet_main_t *vnm, u32 sw_if_index, int enable_disable) |
|
static clib_error_t * | set_ip6_l2tpv3 (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2tp_config (vlib_main_t *vm, unformat_input_t *input) |
|
clib_error_t * | l2tp_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (l2tp_sw_interface_up_down) |
|
clib_error_t * | l2tp_init (vlib_main_t *vm) |
|
clib_error_t * | l2tp_worker_init (vlib_main_t *vm) |
|
| VLIB_WORKER_INIT_FUNCTION (l2tp_worker_init) |
|
◆ clear_counters_command_fn()
◆ create_l2tpv3_ipv6_tunnel()
int create_l2tpv3_ipv6_tunnel |
( |
l2t_main_t * |
lm, |
|
|
ip6_address_t * |
client_address, |
|
|
ip6_address_t * |
our_address, |
|
|
u32 |
local_session_id, |
|
|
u32 |
remote_session_id, |
|
|
u64 |
local_cookie, |
|
|
u64 |
remote_cookie, |
|
|
int |
l2_sublayer_present, |
|
|
u32 |
encap_fib_index, |
|
|
u32 * |
sw_if_index |
|
) |
| |
◆ create_l2tpv3_tunnel_command_fn()
◆ format_l2t_session()
u8* format_l2t_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_l2t_trace()
u8* format_l2t_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_l2tp_header_with_length()
static u8* format_l2tp_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_l2tpv3_name()
static u8* format_l2tpv3_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ l2tp_config()
◆ l2tp_init()
◆ l2tp_sw_interface_up_down()
◆ l2tp_worker_init()
◆ l2tpv3_interface_enable_disable()
int l2tpv3_interface_enable_disable |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
sw_if_index, |
|
|
int |
enable_disable |
|
) |
| |
◆ l2tpv3_name_renumber()
◆ l2tpv3_set_tunnel_cookies()
int l2tpv3_set_tunnel_cookies |
( |
l2t_main_t * |
lm, |
|
|
u32 |
sw_if_index, |
|
|
u64 |
new_local_cookie, |
|
|
u64 |
new_remote_cookie |
|
) |
| |
◆ set_ip6_l2tpv3()
◆ set_l2tp_tunnel_cookie_command_fn()
◆ show_l2tp_command_fn()
◆ test_counters_command_fn()
◆ VLIB_WORKER_INIT_FUNCTION()
◆ VNET_DEVICE_CLASS()
VNET_DEVICE_CLASS |
( |
l2tpv3_device_class |
, |
|
|
static |
|
|
) |
| |
◆ VNET_HW_INTERFACE_CLASS()
VNET_HW_INTERFACE_CLASS |
( |
l2tpv3_hw_class |
| ) |
|
◆ VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION()
◆ clear_counters_command
Initial value:= {
.path = "clear l2tp counters",
.short_help = "clear all active counters",
}
(constructor) VLIB_CLI_COMMAND (clear_counters_command)
Definition at line 222 of file l2tp.c.
◆ create_l2tpv3_tunnel_command
Initial value:=
{
.path = "create l2tpv3 tunnel",
.short_help =
"create l2tpv3 tunnel client <ip6> our <ip6> local-cookie <hex> remote-cookie <hex> local-session <dec> remote-session <dec>",
}
(constructor) VLIB_CLI_COMMAND (create_l2tpv3_tunnel_command)
Definition at line 521 of file l2tp.c.
◆ l2t_main
◆ set_interface_ip6_l2tpv3
Initial value:=
{
.path = "set interface ip6 l2tpv3",
.short_help = "set interface ip6 l2tpv3 <intfc> [del]",
}
(constructor) VLIB_CLI_COMMAND (set_interface_ip6_l2tpv3)
Definition at line 669 of file l2tp.c.
◆ set_l2tp_tunnel_cookie_command
Initial value:=
{
.path = "set l2tpv3 tunnel cookie",
.short_help =
"set l2tpv3 tunnel cookie <intfc> local <hex> remote <hex>",
}
(constructor) VLIB_CLI_COMMAND (set_l2tp_tunnel_cookie_command)
Definition at line 604 of file l2tp.c.
◆ show_session_detail_command
Initial value:= {
.path = "show l2tpv3",
.short_help = "show l2tpv3 [verbose]",
}
(constructor) VLIB_CLI_COMMAND (show_session_detail_command)
Definition at line 144 of file l2tp.c.
◆ test_counters_command
Initial value:= {
.path = "test lt2p counters",
.short_help = "increment all active counters",
}
(constructor) VLIB_CLI_COMMAND (test_counters_command)
Definition at line 187 of file l2tp.c.