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) |
|
static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| 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) |
|
u8* format_l2t_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_l2t_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static u8* format_l2tp_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_l2tpv3_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int l2tpv3_interface_enable_disable |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
sw_if_index, |
|
|
int |
enable_disable |
|
) |
| |
int l2tpv3_set_tunnel_cookies |
( |
l2t_main_t * |
lm, |
|
|
u32 |
sw_if_index, |
|
|
u64 |
new_local_cookie, |
|
|
u64 |
new_remote_cookie |
|
) |
| |
VNET_DEVICE_CLASS |
( |
l2tpv3_device_class |
, |
|
|
static |
|
|
) |
| |
VNET_HW_INTERFACE_CLASS |
( |
l2tpv3_hw_class |
| ) |
|
Initial value:= {
.path = "clear counters",
.short_help = "clear all active counters",
}
static clib_error_t * clear_counters_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_counters_command)
Definition at line 222 of file l2tp.c.
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>",
}
static clib_error_t * create_l2tpv3_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (create_l2tpv3_tunnel_command)
Definition at line 524 of file l2tp.c.
Initial value:=
{
.path = "set interface ip6 l2tpv3",
.short_help = "set interface ip6 l2tpv3 <intfc> [del]",
}
static clib_error_t * set_ip6_l2tpv3(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_interface_ip6_l2tpv3)
Definition at line 672 of file l2tp.c.
Initial value:=
{
.path = "set l2tpv3 tunnel cookie",
.short_help =
"set l2tpv3 tunnel cookie <intfc> local <hex> remote <hex>",
}
static clib_error_t * set_l2tp_tunnel_cookie_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_l2tp_tunnel_cookie_command)
Definition at line 607 of file l2tp.c.
Initial value:= {
.path = "show l2tpv3",
.short_help = "show l2tpv3 [verbose]",
}
static clib_error_t * show_l2tp_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_session_detail_command)
Definition at line 144 of file l2tp.c.
Initial value:= {
.path = "test counters",
.short_help = "increment all active counters",
}
static clib_error_t * test_counters_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (test_counters_command)
Definition at line 187 of file l2tp.c.