16 #ifndef __ADJ_INTERNAL_H__ 17 #define __ADJ_INTERNAL_H__ 34 #define ADJ_DBG(_adj, _fmt, _args...) \ 36 clib_warning("adj:[%d:%p]:" _fmt, \ 37 _adj - adj_pool, _adj, \ 41 #define ADJ_DBG(_e, _fmt, _args...) 92 u32 complete_next_index,
101 const ip46_address_t *nh_addr,
ip_lookup_next_t
Common (IP4/IP6) next index stored in adjacency.
ip_adjacency_t * adj_pool
The global adjacnecy pool.
void adj_glean_remove(fib_protocol_t proto, u32 sw_if_index)
vlib_node_registration_t ip6_rewrite_node
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_node)
vlib_node_registration_t adj_nsh_rewrite_node
(constructor) VLIB_REGISTER_NODE (adj_nsh_rewrite_node)
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)
ip_adjacency_t * adj_alloc(fib_protocol_t proto)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
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)
static adj_index_t adj_get_index(ip_adjacency_t *adj)
Get a pointer to an adjacency object from its index.
void adj_mcast_remove(fib_protocol_t proto, u32 sw_if_index)
vlib_node_registration_t ip4_rewrite_node
(constructor) VLIB_REGISTER_NODE (ip4_rewrite_node)
u32 adj_index_t
An index for adjacencies.
enum vnet_link_t_ vnet_link_t
Link Type: A description of the protocol of packets on the link.
static u32 adj_get_rewrite_node(vnet_link_t linkt)
static vnet_link_t adj_fib_proto_2_nd(fib_protocol_t fp)
vlib_node_registration_t adj_l2_rewrite_node
(constructor) VLIB_REGISTER_NODE (adj_l2_rewrite_node)
vlib_node_registration_t mpls_output_node
(constructor) VLIB_REGISTER_NODE (mpls_output_node)