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) |
|
Enumerator |
---|
SVS_NEXT_DROP |
|
SVS_N_NEXT |
|
Definition at line 245 of file svs.c.
static u8* format_svs_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Definition at line 80 of file svs.c.
Definition at line 59 of file svs.c.
Definition at line 30 of file svs.c.
Definition at line 38 of file svs.c.
VNET_FEATURE_INIT |
( |
svs_ip4_feat |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
svs_ip6_feat |
, |
|
|
static |
|
|
) |
| |
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 500 of file svs.c.
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)
(constructor) VLIB_REGISTER_NODE (svs_ip4_node)
Definition at line 366 of file svs.c.
Initial value:=
{
.name = "svs-ip6",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
static u8 * format_svs_input_trace(u8 *s, va_list *args)
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 380 of file svs.c.
Definition at line 27 of file svs.c.
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 562 of file svs.c.
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 591 of file svs.c.
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 446 of file svs.c.