FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
adj_index_t | adj_glean_add_or_lock (fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh_addr) |
Glean Adjacency. More... | |
u8 * | format_adj_glean (u8 *s, va_list *ap) |
Format/display a glean adjacency. More... | |
void | adj_glean_module_init (void) |
Module initialisation. More... | |
adj_index_t adj_glean_add_or_lock | ( | fib_protocol_t | proto, |
u32 | sw_if_index, | ||
const ip46_address_t * | nh_addr | ||
) |
Glean Adjacency.
A gleean adjacency represent the need to discover new peers on an attached link. Packets that hit a glean adjacency will generate an ARP/ND packet addessesed to the packet's destination address. Note this is different to an incomplete neighbour adjacency, which does not send ARP/ND requests to the packet's destination address, but instead to the next-hop address of the adjacency itself.
Add (and lock) a new or lock an existing glean adjacency
proto | The protocol for the neighbours that we wish to glean |
sw_if_index | The interface on which to glean |
nh_addr | the address applied to the interface on which to glean. This as the source address in packets when the ARP/ND packet is sent |
Definition at line 50 of file adj_glean.c.
void adj_glean_module_init | ( | void | ) |
Module initialisation.
Definition at line 283 of file adj_glean.c.
Format/display a glean adjacency.
Definition at line 223 of file adj_glean.c.