27 #ifndef __ADJ_GLEAN_H__ 28 #define __ADJ_GLEAN_H__ const ip46_address_t * adj_glean_get_src(fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh_addr)
Return the source address from the glean.
void adj_glean_module_init(void)
Module initialisation.
u32 adj_glean_db_size(void)
Return the size of the adjacency database.
void adj_glean_walk(u32 sw_if_index, adj_walk_cb_t, void *)
Walk all the gleans on an interface.
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
Aggregate type for a prefix.
void adj_glean_update_rewrite(adj_index_t adj_index)
adj_glean_update_rewrite
u8 * format_adj_glean(u8 *s, va_list *ap)
Format/display a glean adjacency.
adj_walk_rc_t(* adj_walk_cb_t)(adj_index_t ai, void *ctx)
Call back function when walking adjacencies.
u32 adj_index_t
An index for adjacencies.
void adj_glean_update_rewrite_itf(u32 sw_if_index)
enum vnet_link_t_ vnet_link_t
Link Type: A description of the protocol of packets on the link.
adj_index_t adj_glean_add_or_lock(fib_protocol_t proto, vnet_link_t linkt, u32 sw_if_index, const fib_prefix_t *conn)
Glean Adjacency.
adj_index_t adj_glean_get(fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh_addr)
Get an existing glean.
vl_api_interface_index_t sw_if_index