FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Variables | |
static adj_delegate_vft_t * | ad_vfts |
static adj_delegate_type_t | ad_max_id = ADJ_DELEGATE_LAST |
The value of the last dynamically allocated delegate value. More... | |
int adj_delegate_add | ( | ip_adjacency_t * | adj, |
adj_delegate_type_t | fdt, | ||
index_t | adi | ||
) |
Add a delegate to an adjacency.
ai | The adjacency to add the delegate to |
type | The type of delegate being added |
adi | The provider's [pool] index of its attached objet |
Definition at line 107 of file adj_delegate.c.
void adj_delegate_adj_created | ( | ip_adjacency_t * | adj | ) |
Definition at line 144 of file adj_delegate.c.
void adj_delegate_adj_deleted | ( | ip_adjacency_t * | adj | ) |
|
static |
|
static |
u8* adj_delegate_format | ( | u8 * | s, |
ip_adjacency_t * | adj | ||
) |
Definition at line 158 of file adj_delegate.c.
adj_delegate_t* adj_delegate_get | ( | const ip_adjacency_t * | adj, |
adj_delegate_type_t | type | ||
) |
Get a delegate from an adjacency.
ai | The adjacency to get the delegate from |
type | The type of delegate being sought |
Definition at line 58 of file adj_delegate.c.
|
static |
Definition at line 90 of file adj_delegate.c.
adj_delegate_type_t adj_delegate_register_new_type | ( | const adj_delegate_vft_t * | vft | ) |
adj_delegate_register_new_type
create a new delegate type and register a new VFT
Register the function table for a new type
Definition at line 204 of file adj_delegate.c.
void adj_delegate_register_type | ( | adj_delegate_type_t | type, |
const adj_delegate_vft_t * | vft | ||
) |
adj_delegate_register_type
Register a VFT for one of the built-in types.
Register the function table for a given type
Definition at line 185 of file adj_delegate.c.
void adj_delegate_remove | ( | adj_index_t | ai, |
adj_delegate_type_t | type | ||
) |
Remove a delegate from an adjacency.
ai | The adjacency to remove the delegate from |
type | The type of delegate being removed |
Definition at line 65 of file adj_delegate.c.
|
static |
The value of the last dynamically allocated delegate value.
Definition at line 28 of file adj_delegate.c.
|
static |
Definition at line 23 of file adj_delegate.c.