Go to the source code of this file.
static void adj_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
static void adj_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
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
- Parameters
-
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 |
| ) |
|
u8* format_adj_glean |
( |
u8 * |
s, |
|
|
va_list * |
ap |
|
) |
| |
Format/display a glean adjacency.
Definition at line 184 of file adj_glean.c.
Initial value:= {
}
static void adj_dpo_unlock(dpo_id_t *dpo)
static void adj_dpo_lock(dpo_id_t *dpo)
u8 * format_adj_glean(u8 *s, va_list *ap)
Format/display a glean adjacency.
Definition at line 211 of file adj_glean.c.
const char* const glean_ip4_nodes[] |
|
static |
Initial value:
The per-protocol VLIB graph nodes that are assigned to a glean object.
this means that these graph nodes are ones from which a glean is the parent object in the DPO-graph.
Definition at line 224 of file adj_glean.c.
const char* const glean_ip6_nodes[] |
|
static |
Initial value:=
{
}
static const char *const glean_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a glean object.
static const char *const glean_ip6_nodes[]
Definition at line 235 of file adj_glean.c.