Go to the source code of this file.
|
| VNET_FEATURE_ARC_INIT (ip6_punt) |
|
| VNET_FEATURE_ARC_INIT (ip6_drop) |
|
static uword | ip6_punt_policer (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_punt_policer_node, ip6_punt_policer) |
|
| VNET_FEATURE_INIT (ip6_punt_policer_node, static) |
|
static uword | ip6_drop (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_not_enabled (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_drop_node, ip6_drop) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_not_enabled_node, ip6_not_enabled) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_punt_node, ip6_punt) |
|
| 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) |
|
static uword | ip6_punt_redirect (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_punt_redirect_node, ip6_punt_redirect) |
|
| 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_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) |
|
ip_punt_redirect_detail_t * | ip6_punt_redirect_entries (u32 sw_if_index) |
|
static clib_error_t * | ip6_punt_redirect_show_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
◆ foreach_ip6_punt_redirect_error
#define foreach_ip6_punt_redirect_error _(DROP, "ip6 punt redirect drop") |
◆ ip6_punt_redirect_error_t
◆ ip6_drop()
◆ ip6_not_enabled()
◆ ip6_punt()
◆ ip6_punt_police_cmd()
◆ ip6_punt_policer()
◆ ip6_punt_policer_add_del()
void ip6_punt_policer_add_del |
( |
u8 |
is_add, |
|
|
u32 |
policer_index |
|
) |
| |
◆ ip6_punt_redirect()
◆ ip6_punt_redirect_add()
void ip6_punt_redirect_add |
( |
u32 |
rx_sw_if_index, |
|
|
u32 |
tx_sw_if_index, |
|
|
ip46_address_t * |
nh |
|
) |
| |
◆ ip6_punt_redirect_cmd()
◆ ip6_punt_redirect_del()
void ip6_punt_redirect_del |
( |
u32 |
rx_sw_if_index | ) |
|
◆ ip6_punt_redirect_entries()
◆ ip6_punt_redirect_show_cmd()
◆ VLIB_NODE_FUNCTION_MULTIARCH() [1/5]
◆ VLIB_NODE_FUNCTION_MULTIARCH() [2/5]
◆ VLIB_NODE_FUNCTION_MULTIARCH() [3/5]
◆ VLIB_NODE_FUNCTION_MULTIARCH() [4/5]
◆ VLIB_NODE_FUNCTION_MULTIARCH() [5/5]
◆ VNET_FEATURE_ARC_INIT() [1/2]
◆ VNET_FEATURE_ARC_INIT() [2/2]
◆ VNET_FEATURE_INIT() [1/4]
◆ VNET_FEATURE_INIT() [2/4]
VNET_FEATURE_INIT |
( |
ip6_punt_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/4]
VNET_FEATURE_INIT |
( |
ip6_drop_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [4/4]
◆ ip6_drop_node
Initial value:=
{
.name = "ip6-drop",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static uword ip6_drop(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
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.
◆ ip6_not_enabled_node
Initial value:=
{
.name = "ip6-not-enabled",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static uword ip6_not_enabled(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_not_enabled_node)
Definition at line 128 of file ip6_punt_drop.c.
◆ ip6_punt_node
Initial value:=
{
.name = "ip6-punt",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-punt",
},
}
static uword ip6_punt(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_punt_node)
Definition at line 142 of file ip6_punt_drop.c.
◆ ip6_punt_policer_cfg
◆ ip6_punt_policer_command
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 230 of file ip6_punt_drop.c.
◆ ip6_punt_policer_error_strings
char* ip6_punt_policer_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip_punt_policer_error
Definition at line 37 of file ip6_punt_drop.c.
◆ ip6_punt_policer_node
Initial value:= {
.name = "ip6-punt-policer",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword ip6_punt_policer(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
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 55 of file ip6_punt_drop.c.
◆ ip6_punt_redirect_cfg
Initial value:= {
.any_rx_sw_if_index = {
.tx_sw_if_index = ~0,
},
}
#define ADJ_INDEX_INVALID
Invalid ADJ index - used when no adj is known likewise blazoned capitals INVALID speak volumes where ...
Definition at line 238 of file ip6_punt_drop.c.
◆ ip6_punt_redirect_command
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 394 of file ip6_punt_drop.c.
◆ ip6_punt_redirect_error_strings
char* ip6_punt_redirect_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip6_punt_redirect_error
Definition at line 257 of file ip6_punt_drop.c.
◆ ip6_punt_redirect_node
Initial value:= {
.name = "ip6-punt-redirect",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
u8 * format_ip_punt_redirect_trace(u8 *s, va_list *args)
static uword ip6_punt_redirect(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * ip6_punt_redirect_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_punt_redirect_node)
Definition at line 273 of file ip6_punt_drop.c.
◆ show_ip6_punt_redirect_command
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 458 of file ip6_punt_drop.c.