|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
27 #ifndef __ADJ_GLEAN_H__
28 #define __ADJ_GLEAN_H__
adj_index_t adj_glean_get(fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh_addr)
Get an existing glean.
void adj_glean_walk(u32 sw_if_index, adj_walk_cb_t, void *)
Walk all the gleans on an interface.
u32 adj_glean_db_size(void)
Return the size of the adjacency database.
void adj_glean_module_init(void)
Module initialisation.
void adj_glean_update_rewrite(adj_index_t adj_index)
adj_glean_update_rewrite
void adj_glean_update_rewrite_itf(u32 sw_if_index)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
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.
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.
u8 * format_adj_glean(u8 *s, va_list *ap)
Format/display a glean adjacency.
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.
adj_walk_rc_t(* adj_walk_cb_t)(adj_index_t ai, void *ctx)
Call back function when walking adjacencies.
vl_api_interface_index_t sw_if_index
Aggregate type for a prefix.