47 const ip46_address_t *
peer,
53 const ip46_address_t *
peer);
const fib_prefix_t * teib_entry_get_nh(const teib_entry_t *ne)
void(* teib_entry_added_t)(const teib_entry_t *ne)
Notifications for the creation and deletion of TEIB entries.
u32 teib_entry_get_sw_if_index(const teib_entry_t *ne)
accessors for the opaque struct
u8 * format_teib_entry(u8 *s, va_list *args)
teib_entry_t * teib_entry_get(index_t nei)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
void teib_walk_itf(u32 sw_if_index, teib_walk_cb_t fn, void *ctx)
struct teib_vft_t_ teib_vft_t
enum walk_rc_t_ walk_rc_t
Walk return code.
teib_entry_added_t nv_added
void teib_entry_adj_stack(const teib_entry_t *ne, adj_index_t ai)
Aggregate type for a prefix.
walk_rc_t(* teib_walk_cb_t)(index_t nei, void *ctx)
u32 teib_entry_get_fib_index(const teib_entry_t *ne)
int teib_entry_add(u32 sw_if_index, const ip46_address_t *peer, u32 nh_table_id, const ip46_address_t *nh)
Create a new TEIB entry.
teib_entry_deleted_t nv_deleted
u32 adj_index_t
An index for adjacencies.
const ip46_address_t * teib_entry_get_peer(const teib_entry_t *ne)
teib_entry_t * teib_entry_find(u32 sw_if_index, const ip46_address_t *peer)
void(* teib_entry_deleted_t)(const teib_entry_t *ne)
int teib_entry_del(u32 sw_if_index, const ip46_address_t *peer)
void teib_walk(teib_walk_cb_t fn, void *ctx)
vl_api_interface_index_t sw_if_index
void teib_register(const teib_vft_t *vft)