|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
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) |
|
◆ foreach_ip6_punt_redirect_error
#define foreach_ip6_punt_redirect_error _(DROP, "ip6 punt redirect drop") |
◆ ip6_punt_redirect_error_t
◆ ip6_drop_node()
◆ ip6_not_enabled_node()
◆ ip6_punt_node()
◆ ip6_punt_police_cmd()
◆ ip6_punt_policer_add_del()
void ip6_punt_policer_add_del |
( |
u8 |
is_add, |
|
|
u32 |
policer_index |
|
) |
| |
◆ ip6_punt_policer_node()
◆ 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_add_paths()
◆ ip6_punt_redirect_cmd()
◆ ip6_punt_redirect_del()
void ip6_punt_redirect_del |
( |
u32 |
rx_sw_if_index | ) |
|
◆ ip6_punt_redirect_node()
◆ ip6_punt_redirect_show_cmd()
◆ VNET_FEATURE_ARC_INIT() [1/2]
VNET_FEATURE_ARC_INIT |
( |
ip6_drop |
| ) |
|
◆ VNET_FEATURE_ARC_INIT() [2/2]
VNET_FEATURE_ARC_INIT |
( |
ip6_punt |
| ) |
|
◆ VNET_FEATURE_INIT() [1/4]
VNET_FEATURE_INIT |
( |
ip6_drop_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/4]
VNET_FEATURE_INIT |
( |
ip6_punt_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/4]
◆ VNET_FEATURE_INIT() [4/4]
◆ frame
◆ ip6_drop_node
Initial value:=
{
.name = "ip6-drop",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (ip6_drop_node)
Definition at line 138 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",
},
}
(constructor) VLIB_REGISTER_NODE (ip6_not_enabled_node)
Definition at line 149 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",
},
}
(constructor) VLIB_REGISTER_NODE (ip6_punt_node)
Definition at line 160 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>",
}
(constructor) VLIB_CLI_COMMAND (ip6_punt_policer_command)
Definition at line 247 of file ip6_punt_drop.c.
◆ ip6_punt_policer_error_strings
char* ip6_punt_policer_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 64 of file ip6_punt_drop.c.
◆ ip6_punt_policer_handoff_error_strings
char* ip6_punt_policer_handoff_error_strings[] = { "congestion drop" } |
|
static |
◆ ip6_punt_policer_handoff_node
Initial value:= {
.name = "ip6-punt-policer-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (ip6_punt_policer_handoff_node)
Definition at line 50 of file ip6_punt_drop.c.
◆ ip6_punt_policer_node
Initial value:= {
.name = "ip6-punt-policer",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (ip6_punt_policer_node)
Definition at line 82 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>",
}
(constructor) VLIB_CLI_COMMAND (ip6_punt_redirect_command)
Definition at line 414 of file ip6_punt_drop.c.
◆ ip6_punt_redirect_error_strings
char* ip6_punt_redirect_error_strings[] |
|
static |
◆ ip6_punt_redirect_node
Initial value:= {
.name = "ip6-punt-redirect",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (ip6_punt_redirect_node)
Definition at line 283 of file ip6_punt_drop.c.
◆ node
◆ show_ip6_punt_redirect_command
Initial value:=
{
.path = "show ip6 punt redirect",
.short_help = "show ip6 punt redirect",
.is_mp_safe = 1,
}
(constructor) VLIB_CLI_COMMAND (show_ip6_punt_redirect_command)
Definition at line 442 of file ip6_punt_drop.c.
◆ vm
static clib_error_t * ip6_punt_redirect_show_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
static char * ip6_punt_policer_error_strings[]
@ IP_PUNT_REDIRECT_NEXT_TX
@ IP_PUNT_POLICER_NEXT_DROP
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
@ VLIB_NODE_TYPE_INTERNAL
#define foreach_ip_punt_policer_error
static char * ip6_punt_policer_handoff_error_strings[]
static_always_inline uword policer_handoff(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u32 fq_index, u32 policer_index)
ip_punt_policer_t ip6_punt_policer_cfg
u8 * format_policer_handoff_trace(u8 *s, va_list *args)
@ IP_PUNT_POLICER_NEXT_HANDOFF
static clib_error_t * ip6_punt_police_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
static char * ip6_punt_redirect_error_strings[]
vlib_main_t vlib_node_runtime_t * node
u8 * format_ip_punt_redirect_trace(u8 *s, va_list *args)
#define foreach_ip6_punt_redirect_error
@ IP_PUNT_REDIRECT_NEXT_ARP
@ IP_PUNT_REDIRECT_N_NEXT
@ IP_PUNT_REDIRECT_NEXT_DROP
static clib_error_t * ip6_punt_redirect_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
u8 * format_ip6_forward_next_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
u8 * format_ip_punt_policer_trace(u8 *s, va_list *args)