Go to the source code of this file.
|
static adj_delegate_t * | adj_delegate_find_i (const ip_adjacency_t *adj, adj_delegate_type_t type, u32 *index) |
|
adj_delegate_t * | adj_delegate_get (const ip_adjacency_t *adj, adj_delegate_type_t type) |
| Get a delegate from an adjacency. More...
|
|
void | adj_delegate_remove (adj_index_t ai, adj_delegate_type_t type) |
| Remove a delegate from an adjacency. More...
|
|
static int | adj_delegate_cmp_for_sort (void *v1, void *v2) |
|
static void | adj_delegate_init (ip_adjacency_t *adj, adj_delegate_type_t adt, index_t adi) |
|
int | adj_delegate_add (ip_adjacency_t *adj, adj_delegate_type_t adt, index_t adi) |
| Add a delegate to an adjacency. More...
|
|
void | adj_delegate_adj_deleted (ip_adjacency_t *adj) |
|
u8 * | adj_delegate_format (u8 *s, ip_adjacency_t *adj) |
|
void | adj_delegate_register_type (adj_delegate_type_t type, const adj_delegate_vft_t *vft) |
| adj_delegate_register_type More...
|
|
adj_delegate_type_t | adj_delegate_register_new_type (const adj_delegate_vft_t *vft) |
| adj_delegate_register_new_type More...
|
|
Add a delegate to an adjacency.
- Parameters
-
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.
static int adj_delegate_cmp_for_sort |
( |
void * |
v1, |
|
|
void * |
v2 |
|
) |
| |
|
static |
Get a delegate from an adjacency.
- Parameters
-
ai | The adjacency to get the delegate from |
type | The type of delegate being sought |
Definition at line 58 of file adj_delegate.c.
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 190 of file adj_delegate.c.
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 171 of file adj_delegate.c.
Remove a delegate from an adjacency.
- Parameters
-
ai | The adjacency to remove the delegate from |
type | The type of delegate being removed |
Definition at line 65 of file adj_delegate.c.
The value of the last dynamically allocated delegeate value.
Definition at line 28 of file adj_delegate.c.