FD.io VPP  v21.06-3-gbb25fbf28
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 129 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 23 of file ip_punt_drop.c.

◆ ip_punt_drop_init()

static clib_error_t* ip_punt_drop_init ( vlib_main_t vm)
static

Definition at line 233 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 72 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 207 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 105 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 59 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 187 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 180 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 195 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 38 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 158 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 20 of file ip_punt_drop.c.

◆ ip_punt_redirect_vft

const fib_node_vft_t ip_punt_redirect_vft
static
Initial value:

Definition at line 226 of file ip_punt_drop.c.

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)
Definition: ip_punt_drop.c:207
ip_punt_redirect_last_lock_gone
static void ip_punt_redirect_last_lock_gone(fib_node_t *node)
Definition: ip_punt_drop.c:195
ip_punt_redirect_get_node
static fib_node_t * ip_punt_redirect_get_node(fib_node_index_t index)
Definition: ip_punt_drop.c:180