FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
adj_internal.h File Reference
+ Include dependency graph for adj_internal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADJ_DBG(_e, _fmt, _args...)
 big switch to turn on Adjacency debugging More...
 

Functions

static u32 adj_get_rewrite_node (vnet_link_t linkt)
 
static vnet_link_t adj_fib_proto_2_nd (fib_protocol_t fp)
 
static adj_index_t adj_get_index (ip_adjacency_t *adj)
 Get a pointer to an adjacency object from its index. More...
 
void adj_nbr_update_rewrite_internal (ip_adjacency_t *adj, adj_nbr_rewrite_flag_t flags, u32 complete_next_index, u32 next_index, u8 *rewrite)
 
ip_adjacency_tadj_alloc (fib_protocol_t proto)
 
void adj_nbr_remove (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index)
 
void adj_glean_remove (fib_protocol_t proto, u32 sw_if_index)
 

Macro Definition Documentation

#define ADJ_DBG (   _e,
  _fmt,
  _args... 
)

big switch to turn on Adjacency debugging

Definition at line 41 of file adj_internal.h.

Function Documentation

ip_adjacency_t* adj_alloc ( fib_protocol_t  proto)

Definition at line 47 of file adj.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static vnet_link_t adj_fib_proto_2_nd ( fib_protocol_t  fp)
inlinestatic

Definition at line 64 of file adj_internal.h.

+ Here is the caller graph for this function:

static adj_index_t adj_get_index ( ip_adjacency_t adj)
inlinestatic

Get a pointer to an adjacency object from its index.

Definition at line 83 of file adj_internal.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 adj_get_rewrite_node ( vnet_link_t  linkt)
inlinestatic

Definition at line 45 of file adj_internal.h.

+ Here is the caller graph for this function:

void adj_glean_remove ( fib_protocol_t  proto,
u32  sw_if_index 
)

Definition at line 92 of file adj_glean.c.

+ Here is the caller graph for this function:

void adj_nbr_remove ( fib_protocol_t  nh_proto,
vnet_link_t  link_type,
const ip46_address_t *  nh_addr,
u32  sw_if_index 
)

Definition at line 79 of file adj_nbr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void adj_nbr_update_rewrite_internal ( ip_adjacency_t adj,
adj_nbr_rewrite_flag_t  flags,
u32  complete_next_index,
u32  next_index,
u8 rewrite 
)

+ Here is the caller graph for this function: