Go to the source code of this file.
|
| VNET_FEATURE_ARC_INIT (ip6_punt) |
|
| VNET_FEATURE_ARC_INIT (ip6_drop) |
|
VLIB_NODE_FN() | ip6_punt_policer_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip6_punt_policer_node, static) |
|
VLIB_NODE_FN() | ip6_drop_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip6_not_enabled_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip6_punt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip6_punt_end_of_arc, static) |
|
| VNET_FEATURE_INIT (ip6_drop_end_of_arc, static) |
|
void | ip6_punt_policer_add_del (u8 is_add, u32 policer_index) |
|
static clib_error_t * | ip6_punt_police_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
VLIB_NODE_FN() | ip6_punt_redirect_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip6_punt_redirect_node, static) |
|
void | ip6_punt_redirect_add (u32 rx_sw_if_index, u32 tx_sw_if_index, ip46_address_t *nh) |
|
void | ip6_punt_redirect_add_paths (u32 rx_sw_if_index, fib_route_path_t *rpaths) |
|
void | ip6_punt_redirect_del (u32 rx_sw_if_index) |
|
static clib_error_t * | ip6_punt_redirect_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ip6_punt_redirect_show_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
#define foreach_ip6_punt_redirect_error _(DROP, "ip6 punt redirect drop") |
void ip6_punt_policer_add_del |
( |
u8 |
is_add, |
|
|
u32 |
policer_index |
|
) |
| |
void ip6_punt_redirect_add |
( |
u32 |
rx_sw_if_index, |
|
|
u32 |
tx_sw_if_index, |
|
|
ip46_address_t * |
nh |
|
) |
| |
void ip6_punt_redirect_del |
( |
u32 |
rx_sw_if_index | ) |
|
VNET_FEATURE_ARC_INIT |
( |
ip6_punt |
| ) |
|
VNET_FEATURE_ARC_INIT |
( |
ip6_drop |
| ) |
|
VNET_FEATURE_INIT |
( |
ip6_punt_end_of_arc |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
ip6_drop_end_of_arc |
, |
|
|
static |
|
|
) |
| |
Initial value:=
{
.name = "ip6-drop",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_drop_node)
Definition at line 114 of file ip6_punt_drop.c.
Initial value:=
{
.name = "ip6-not-enabled",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_not_enabled_node)
Definition at line 125 of file ip6_punt_drop.c.
Initial value:=
{
.name = "ip6-punt",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-punt",
},
}
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_punt_node)
Definition at line 136 of file ip6_punt_drop.c.
Initial value:=
{
.path = "ip6 punt policer",
.short_help = "ip6 punt policer [add|del] <index>",
}
static clib_error_t * ip6_punt_police_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_punt_policer_command)
Definition at line 223 of file ip6_punt_drop.c.
char* ip6_punt_policer_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip_punt_policer_error
Definition at line 41 of file ip6_punt_drop.c.
Initial value:= {
.name = "ip6-punt-policer",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * ip6_punt_policer_error_strings[]
u8 * format_ip_punt_policer_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_punt_policer_node)
Definition at line 59 of file ip6_punt_drop.c.
Initial value:=
{
.path = "ip6 punt redirect",
.short_help = "ip6 punt redirect [add|del] rx [<interface>|all] via [<nh>] <tx_interface>",
}
static clib_error_t * ip6_punt_redirect_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_punt_redirect_command)
Definition at line 390 of file ip6_punt_drop.c.
char* ip6_punt_redirect_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip6_punt_redirect_error
Definition at line 243 of file ip6_punt_drop.c.
Initial value:= {
.name = "ip6-punt-redirect",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
u8 * format_ip_punt_redirect_trace(u8 *s, va_list *args)
static char * ip6_punt_redirect_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_punt_redirect_node)
Definition at line 259 of file ip6_punt_drop.c.
Initial value:=
{
.path = "show ip6 punt redirect",
.short_help = "show ip6 punt redirect",
.is_mp_safe = 1,
}
static clib_error_t * ip6_punt_redirect_show_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_ip6_punt_redirect_command)
Definition at line 418 of file ip6_punt_drop.c.