Go to the source code of this file.
|
u32 | nhrp_entry_get_sw_if_index (const nhrp_entry_t *ne) |
| accessors for the opaque struct More...
|
|
u32 | nhrp_entry_get_fib_index (const nhrp_entry_t *ne) |
|
const ip46_address_t * | nhrp_entry_get_peer (const nhrp_entry_t *ne) |
|
const fib_prefix_t * | nhrp_entry_get_nh (const nhrp_entry_t *ne) |
|
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. More...
|
|
int | nhrp_entry_del (u32 sw_if_index, const ip46_address_t *peer) |
|
nhrp_entry_t * | nhrp_entry_find (u32 sw_if_index, const ip46_address_t *peer) |
|
nhrp_entry_t * | nhrp_entry_get (index_t nei) |
|
void | nhrp_entry_adj_stack (const nhrp_entry_t *ne, adj_index_t ai) |
|
void | nhrp_walk (nhrp_walk_cb_t fn, void *ctx) |
|
void | nhrp_walk_itf (u32 sw_if_index, nhrp_walk_cb_t fn, void *ctx) |
|
void | nhrp_register (const nhrp_vft_t *vft) |
|
◆ nhrp_entry_added_t
Notifications for the creation and deletion of NHRP entries.
Definition at line 62 of file nhrp.h.
◆ nhrp_entry_deleted_t
typedef void(* nhrp_entry_deleted_t) (const nhrp_entry_t *ne) |
◆ nhrp_entry_t
An NHRP entry represents the mapping between a peer on an interface in the overlay and a next-hop address in the underlay.
i.e. there's a multipoint tunnel providing the overlay (henace a peer on that tunnel) which is reachable via 'tunnel destination' address in the underlay.
Definition at line 30 of file nhrp.h.
◆ nhrp_vft_t
◆ nhrp_walk_cb_t
◆ format_nhrp_entry()
u8* format_nhrp_entry |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ nhrp_entry_add()
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.
Definition at line 119 of file nhrp.c.
◆ nhrp_entry_adj_stack()
◆ nhrp_entry_del()
int nhrp_entry_del |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
peer |
|
) |
| |
◆ nhrp_entry_find()
nhrp_entry_t* nhrp_entry_find |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
peer |
|
) |
| |
◆ nhrp_entry_get()
◆ nhrp_entry_get_fib_index()
◆ nhrp_entry_get_nh()
◆ nhrp_entry_get_peer()
const ip46_address_t* nhrp_entry_get_peer |
( |
const nhrp_entry_t * |
ne | ) |
|
◆ nhrp_entry_get_sw_if_index()
accessors for the opaque struct
Definition at line 50 of file nhrp.c.
◆ nhrp_register()
◆ nhrp_walk()
◆ nhrp_walk_itf()