Go to the source code of this file.
|
int | svs_table_add (fib_protocol_t fproto, u32 table_id) |
|
int | svs_table_delete (fib_protocol_t fproto, u32 table_id) |
|
static int | svs_route_add_i (u32 fib_index, const fib_prefix_t *pfx, u32 src_fib_index) |
|
int | svs_route_add (u32 table_id, const fib_prefix_t *pfx, u32 source_table_id) |
|
int | svs_route_delete (u32 table_id, const fib_prefix_t *pfx) |
|
int | svs_enable (fib_protocol_t fproto, u32 table_id, u32 sw_if_index) |
|
static void | svs_table_bind (fib_protocol_t fproto, u32 sw_if_index, u32 itf_fib_index) |
|
static void | svs_ip6_table_bind (ip6_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
|
static void | svs_ip4_table_bind (ip4_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
|
int | svs_disable (fib_protocol_t fproto, u32 table_id, u32 sw_if_index) |
|
void | svs_walk (svs_walk_fn_t fn, void *ctx) |
|
static uword | svs_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, fib_protocol_t fproto) |
|
static uword | svs_input_ip4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | svs_input_ip6 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_svs_input_trace (u8 *s, va_list *args) |
|
| VNET_FEATURE_INIT (svs_ip4_feat, static) |
|
| VNET_FEATURE_INIT (svs_ip6_feat, static) |
|
static clib_error_t * | svs_table_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | svs_enable_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | svs_route_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | svs_show_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | svs_init (vlib_main_t *vm) |
|
◆ svs_input_trace_t
◆ svs_next_t
◆ svs_next_t_
Enumerator |
---|
SVS_NEXT_DROP | |
SVS_N_NEXT | |
Definition at line 245 of file svs.c.
◆ format_svs_input_trace()
static u8* format_svs_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ svs_disable()
◆ svs_enable()
◆ svs_enable_cli()
◆ svs_init()
◆ svs_input_inline()
◆ svs_input_ip4()
◆ svs_input_ip6()
◆ svs_ip4_table_bind()
◆ svs_ip6_table_bind()
◆ svs_route_add()
Definition at line 80 of file svs.c.
◆ svs_route_add_i()
Definition at line 59 of file svs.c.
◆ svs_route_cli()
◆ svs_route_delete()
◆ svs_show_cli()
◆ svs_table_add()
Definition at line 30 of file svs.c.
◆ svs_table_bind()
◆ svs_table_cli()
◆ svs_table_delete()
Definition at line 38 of file svs.c.
◆ svs_walk()
◆ VNET_FEATURE_INIT() [1/2]
VNET_FEATURE_INIT |
( |
svs_ip4_feat |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/2]
VNET_FEATURE_INIT |
( |
svs_ip6_feat |
, |
|
|
static |
|
|
) |
| |
◆ svs_enable_cli_cmd
Initial value:= {
.path = "svs enable",
.short_help = "Source VRF select [enable|disable] [ip4|ip6] <table-id> X <interface>",
}
static clib_error_t * svs_enable_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (svs_enable_cli_cmd)
Definition at line 499 of file svs.c.
◆ svs_ip4_node
Initial value:=
{
.name = "svs-ip4",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
static uword svs_input_ip4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_svs_input_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
(constructor) VLIB_REGISTER_NODE (svs_ip4_node)
Definition at line 365 of file svs.c.
◆ svs_ip6_node
Initial value:=
{
.name = "svs-ip6",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
static u8 * format_svs_input_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static uword svs_input_ip6(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (svs_ip6_node)
Definition at line 379 of file svs.c.
◆ svs_itf_db
Definition at line 27 of file svs.c.
◆ svs_route_cmd_cli
Initial value:= {
.path = "svs route",
.short_help = "Source VRF select route [add|delete] <table-id> <prefix> <src-table-id>",
}
static clib_error_t * svs_route_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (svs_route_cmd_cli)
Definition at line 561 of file svs.c.
◆ svs_show_cli_cmd
Initial value:= {
.path = "show svs",
.short_help = "Source VRF select show",
}
static clib_error_t * svs_show_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (svs_show_cli_cmd)
Definition at line 590 of file svs.c.
◆ svs_table_cmd_cli
Initial value:= {
.path = "svs table",
.short_help = "Source VRF select table [add|delete] [ip4|ip6] table-id X",
}
static clib_error_t * svs_table_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (svs_table_cmd_cli)
Definition at line 445 of file svs.c.