FD.io VPP  v18.01.2-1-g9b554f3
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, ip_lookup_next_t adj_next_index, u32 complete_next_index, u32 next_index, u8 *rewrite)
 adj_nbr_update_rewrite_internal More...
 
void adj_midchain_setup (adj_index_t adj_index, adj_midchain_fixup_t fixup, adj_flags_t flags)
 adj_midchain_setup More...
 
ip_adjacency_tadj_alloc (fib_protocol_t proto)
 
void adj_nbr_remove (adj_index_t ai, 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)
 
void adj_mcast_remove (fib_protocol_t proto, u32 sw_if_index)
 
u32 adj_dpo_get_urpf (const dpo_id_t *dpo)
 

Macro Definition Documentation

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

big switch to turn on Adjacency debugging

Definition at line 42 of file adj_internal.h.

Function Documentation

ip_adjacency_t* adj_alloc ( fib_protocol_t  proto)

Definition at line 48 of file adj.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 adj_dpo_get_urpf ( const dpo_id_t dpo)

Definition at line 212 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 67 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 86 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 46 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_mcast_remove ( fib_protocol_t  proto,
u32  sw_if_index 
)

Definition at line 186 of file adj_mcast.c.

+ Here is the caller graph for this function:

void adj_midchain_setup ( adj_index_t  adj_index,
adj_midchain_fixup_t  fixup,
adj_flags_t  flags 
)

adj_midchain_setup

Setup the adj as a mid-chain

Definition at line 461 of file adj_midchain.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void adj_nbr_remove ( adj_index_t  ai,
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,
ip_lookup_next_t  adj_next_index,
u32  this_node,
u32  next_node,
u8 rewrite 
)

adj_nbr_update_rewrite_internal

Update the adjacency's rewrite string. A NULL string implies the rewirte is reset (i.e. when ARP/ND etnry is gone). NB: the adj being updated may be handling traffic in the DP.

Definition at line 333 of file adj_nbr.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: