FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
ip_punt_drop.c File Reference
+ Include dependency graph for ip_punt_drop.c:

Go to the source code of this file.

Functions

u8format_ip_punt_redirect_trace (u8 *s, va_list *args)
 
static void ip_punt_redirect_stack (ip_punt_redirect_rx_t *ipr)
 
index_t ip_punt_redirect_find (fib_protocol_t fproto, u32 rx_sw_if_index)
 
void ip_punt_redirect_add (fib_protocol_t fproto, u32 rx_sw_if_index, fib_forward_chain_type_t ct, fib_route_path_t *rpaths)
 Add a punt redirect entry. More...
 
void ip_punt_redirect_del (fib_protocol_t fproto, u32 rx_sw_if_index)
 
u8format_ip_punt_redirect (u8 *s, va_list *args)
 
void ip_punt_redirect_walk (fib_protocol_t fproto, ip_punt_redirect_walk_cb_t cb, void *ctx)
 
static fib_node_tip_punt_redirect_get_node (fib_node_index_t index)
 
static ip_punt_redirect_rx_tip_punt_redirect_get_from_node (fib_node_t *node)
 
static void ip_punt_redirect_last_lock_gone (fib_node_t *node)
 
static fib_node_back_walk_rc_t ip_punt_redirect_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
 
static clib_error_tip_punt_drop_init (vlib_main_t *vm)
 

Variables

ip_punt_redirect_cfg_t ip_punt_redirect_cfg
 
static const fib_node_vft_t ip_punt_redirect_vft
 

Function Documentation

◆ format_ip_punt_redirect()

u8* format_ip_punt_redirect ( u8 s,
va_list *  args 
)

Definition at line 131 of file ip_punt_drop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ip_punt_redirect_trace()

u8* format_ip_punt_redirect_trace ( u8 s,
va_list *  args 
)

Definition at line 25 of file ip_punt_drop.c.

+ Here is the call graph for this function:

◆ ip_punt_drop_init()

static clib_error_t* ip_punt_drop_init ( vlib_main_t vm)
static

Definition at line 235 of file ip_punt_drop.c.

+ Here is the call graph for this function:

◆ ip_punt_redirect_add()

void ip_punt_redirect_add ( fib_protocol_t  fproto,
u32  rx_sw_if_index,
fib_forward_chain_type_t  ct,
fib_route_path_t rpaths 
)

Add a punt redirect entry.

Definition at line 74 of file ip_punt_drop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_punt_redirect_back_walk_notify()

static fib_node_back_walk_rc_t ip_punt_redirect_back_walk_notify ( fib_node_t node,
fib_node_back_walk_ctx_t ctx 
)
static

Definition at line 209 of file ip_punt_drop.c.

+ Here is the call graph for this function:

◆ ip_punt_redirect_del()

void ip_punt_redirect_del ( fib_protocol_t  fproto,
u32  rx_sw_if_index 
)

Definition at line 107 of file ip_punt_drop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_punt_redirect_find()

index_t ip_punt_redirect_find ( fib_protocol_t  fproto,
u32  rx_sw_if_index 
)

Definition at line 61 of file ip_punt_drop.c.

+ Here is the caller graph for this function:

◆ ip_punt_redirect_get_from_node()

static ip_punt_redirect_rx_t* ip_punt_redirect_get_from_node ( fib_node_t node)
static

Definition at line 189 of file ip_punt_drop.c.

+ Here is the caller graph for this function:

◆ ip_punt_redirect_get_node()

static fib_node_t* ip_punt_redirect_get_node ( fib_node_index_t  index)
static

Definition at line 182 of file ip_punt_drop.c.

+ Here is the call graph for this function:

◆ ip_punt_redirect_last_lock_gone()

static void ip_punt_redirect_last_lock_gone ( fib_node_t node)
static

Definition at line 197 of file ip_punt_drop.c.

◆ ip_punt_redirect_stack()

static void ip_punt_redirect_stack ( ip_punt_redirect_rx_t ipr)
static

Definition at line 40 of file ip_punt_drop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip_punt_redirect_walk()

void ip_punt_redirect_walk ( fib_protocol_t  fproto,
ip_punt_redirect_walk_cb_t  cb,
void *  ctx 
)

Definition at line 160 of file ip_punt_drop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ip_punt_redirect_cfg

ip_punt_redirect_cfg_t ip_punt_redirect_cfg

Definition at line 22 of file ip_punt_drop.c.

◆ ip_punt_redirect_vft

const fib_node_vft_t ip_punt_redirect_vft
static
Initial value:
= {
}
static void ip_punt_redirect_last_lock_gone(fib_node_t *node)
Definition: ip_punt_drop.c:197
static fib_node_back_walk_rc_t ip_punt_redirect_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
Definition: ip_punt_drop.c:209
static fib_node_t * ip_punt_redirect_get_node(fib_node_index_t index)
Definition: ip_punt_drop.c:182

Definition at line 228 of file ip_punt_drop.c.