![]() |
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Include dependency graph for ip_punt_drop.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ip_punt_policer_t_ |
| IP4 punt policer configuration we police the punt rate to prevent overloading the host. More... | |
| struct | ip_punt_policer_trace_t_ |
| struct | ip_punt_redirect_rx_t_ |
| IP4 punt redirect per-rx interface configuration redirect punted traffic to another location. More... | |
| struct | ip_punt_redirect_t_ |
| IP punt redirect configuration. More... | |
| struct | ip4_punt_redirect_trace_t_ |
| IP Punt redirect trace. More... | |
Macros | |
| #define | foreach_ip_punt_policer_error _(DROP, "ip punt policer drop") |
Typedefs | |
| typedef struct ip_punt_policer_t_ | ip_punt_policer_t |
| IP4 punt policer configuration we police the punt rate to prevent overloading the host. More... | |
| typedef enum ip_punt_policer_next_t_ | ip_punt_policer_next_t |
| typedef struct ip_punt_policer_trace_t_ | ip_punt_policer_trace_t |
| typedef struct ip_punt_redirect_rx_t_ | ip_punt_redirect_rx_t |
| IP4 punt redirect per-rx interface configuration redirect punted traffic to another location. More... | |
| typedef struct ip_punt_redirect_t_ | ip_punt_redirect_cfg_t |
| IP punt redirect configuration. More... | |
| typedef enum ip_punt_redirect_next_t_ | ip_punt_redirect_next_t |
| IP punt redirect next nodes. More... | |
| typedef struct ip4_punt_redirect_trace_t_ | ip_punt_redirect_trace_t |
| IP Punt redirect trace. More... | |
| typedef walk_rc_t(* | ip_punt_redirect_walk_cb_t) (u32 rx_sw_if_index, const ip_punt_redirect_rx_t *redirect, void *arg) |
Enumerations | |
| enum | ip_punt_policer_next_t_ { IP_PUNT_POLICER_NEXT_DROP, IP_PUNT_POLICER_NEXT_HANDOFF, IP_PUNT_POLICER_N_NEXT } |
| enum | ip_punt_policer_error_t { IP4_PUNT_POLICER_N_ERROR } |
| enum | ip_punt_redirect_next_t_ { IP_PUNT_REDIRECT_NEXT_DROP, IP_PUNT_REDIRECT_NEXT_TX, IP_PUNT_REDIRECT_NEXT_ARP, IP_PUNT_REDIRECT_N_NEXT } |
| IP punt redirect next nodes. More... | |
Variables | |
| vlib_node_registration_t | ip4_punt_policer_node |
| (constructor) VLIB_REGISTER_NODE (ip4_punt_policer_node) More... | |
| ip_punt_policer_t | ip4_punt_policer_cfg |
| vlib_node_registration_t | ip6_punt_policer_node |
| (constructor) VLIB_REGISTER_NODE (ip6_punt_policer_node) More... | |
| ip_punt_policer_t | ip6_punt_policer_cfg |
| ip_punt_redirect_cfg_t | ip_punt_redirect_cfg |
Definition at line 46 of file ip_punt_drop.h.
| typedef enum ip_punt_policer_next_t_ ip_punt_policer_next_t |
| typedef struct ip_punt_policer_t_ ip_punt_policer_t |
IP4 punt policer configuration we police the punt rate to prevent overloading the host.
| typedef struct ip_punt_policer_trace_t_ ip_punt_policer_trace_t |
| typedef struct ip_punt_redirect_t_ ip_punt_redirect_cfg_t |
IP punt redirect configuration.
| typedef enum ip_punt_redirect_next_t_ ip_punt_redirect_next_t |
IP punt redirect next nodes.
| typedef struct ip_punt_redirect_rx_t_ ip_punt_redirect_rx_t |
IP4 punt redirect per-rx interface configuration redirect punted traffic to another location.
| typedef struct ip4_punt_redirect_trace_t_ ip_punt_redirect_trace_t |
IP Punt redirect trace.
| typedef walk_rc_t(* ip_punt_redirect_walk_cb_t) (u32 rx_sw_if_index, const ip_punt_redirect_rx_t *redirect, void *arg) |
Definition at line 281 of file ip_punt_drop.h.
| Enumerator | |
|---|---|
| IP4_PUNT_POLICER_N_ERROR | |
Definition at line 49 of file ip_punt_drop.h.
| Enumerator | |
|---|---|
| IP_PUNT_POLICER_NEXT_DROP | |
| IP_PUNT_POLICER_NEXT_HANDOFF | |
| IP_PUNT_POLICER_N_NEXT | |
Definition at line 33 of file ip_punt_drop.h.
IP punt redirect next nodes.
| Enumerator | |
|---|---|
| IP_PUNT_REDIRECT_NEXT_DROP | |
| IP_PUNT_REDIRECT_NEXT_TX | |
| IP_PUNT_REDIRECT_NEXT_ARP | |
| IP_PUNT_REDIRECT_N_NEXT | |
Definition at line 250 of file ip_punt_drop.h.
Definition at line 39 of file ip4_punt_drop.c.
Definition at line 129 of file ip_punt_drop.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 23 of file ip_punt_drop.c.
|
inlinestatic |
Definition at line 377 of file ip_punt_drop.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
IP punt policing node function.
Definition at line 67 of file ip_punt_drop.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 294 of file ip_punt_drop.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip_punt_redirect_add | ( | fib_protocol_t | fproto, |
| u32 | rx_sw_if_index, | ||
| fib_forward_chain_type_t | ct, | ||
| const fib_route_path_t * | rpaths | ||
| ) |
Add a punt redirect entry.
Definition at line 72 of file ip_punt_drop.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip_punt_redirect_del | ( | fib_protocol_t | fproto, |
| u32 | rx_sw_if_index | ||
| ) |
Definition at line 105 of file ip_punt_drop.c.
Here is the call graph for this function:
Here is the caller graph for this function:| index_t ip_punt_redirect_find | ( | fib_protocol_t | fproto, |
| u32 | rx_sw_if_index | ||
| ) |
| static_always_inline ip_punt_redirect_rx_t* ip_punt_redirect_get | ( | index_t | rrxi | ) |
| void ip_punt_redirect_walk | ( | fib_protocol_t | fproto, |
| ip_punt_redirect_walk_cb_t | cb, | ||
| void * | ctx | ||
| ) |
Definition at line 158 of file ip_punt_drop.c.
Here is the call graph for this function:
Here is the caller graph for this function:| ip_punt_policer_t ip4_punt_policer_cfg |
Definition at line 49 of file ip4_punt_drop.c.
| vlib_node_registration_t ip4_punt_policer_node |
(constructor) VLIB_REGISTER_NODE (ip4_punt_policer_node)
Definition at line 93 of file ip4_punt_drop.c.
| ip_punt_policer_t ip6_punt_policer_cfg |
Definition at line 38 of file ip6_punt_drop.c.
| vlib_node_registration_t ip6_punt_policer_node |
(constructor) VLIB_REGISTER_NODE (ip6_punt_policer_node)
Definition at line 82 of file ip6_punt_drop.c.
| ip_punt_redirect_cfg_t ip_punt_redirect_cfg |
Definition at line 20 of file ip_punt_drop.c.