43 const ip46_address_t *
peer,
49 const ip46_address_t *
peer);
void(* nhrp_entry_added_t)(const nhrp_entry_t *ne)
Notifications for the creation and deletion of NHRP entries.
const fib_prefix_t * nhrp_entry_get_nh(const nhrp_entry_t *ne)
void nhrp_entry_adj_stack(const nhrp_entry_t *ne, adj_index_t ai)
const ip46_address_t * nhrp_entry_get_peer(const nhrp_entry_t *ne)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
void nhrp_walk(nhrp_walk_cb_t fn, void *ctx)
enum walk_rc_t_ walk_rc_t
Walk return code.
vl_api_interface_index_t sw_if_index
Aggregate type for a prefix.
nhrp_entry_t * nhrp_entry_find(u32 sw_if_index, const ip46_address_t *peer)
void nhrp_register(const nhrp_vft_t *vft)
void(* nhrp_entry_deleted_t)(const nhrp_entry_t *ne)
walk_rc_t(* nhrp_walk_cb_t)(index_t nei, void *ctx)
struct nhrp_vft_t_ nhrp_vft_t
u32 adj_index_t
An index for adjacencies.
u8 * format_nhrp_entry(u8 *s, va_list *args)
int nhrp_entry_add(u32 sw_if_index, const ip46_address_t *peer, u32 nh_table_id, const ip46_address_t *nh)
Create a new NHRP entry.
u32 nhrp_entry_get_fib_index(const nhrp_entry_t *ne)
nhrp_entry_added_t nv_added
nhrp_entry_t * nhrp_entry_get(index_t nei)
nhrp_entry_deleted_t nv_deleted
void nhrp_walk_itf(u32 sw_if_index, nhrp_walk_cb_t fn, void *ctx)
u32 nhrp_entry_get_sw_if_index(const nhrp_entry_t *ne)
accessors for the opaque struct
int nhrp_entry_del(u32 sw_if_index, const ip46_address_t *peer)