FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | adj_delegate_t_ |
A Delagate is a means to implement the Delagation design pattern; the extension of an object's functionality through the composition of, and delgation to, other objects. More... | |
Macros | |
#define | FOR_EACH_ADJ_DELEGATE(_adj, _adt, _aed, _body) |
Typedefs | |
typedef enum adj_delegate_type_t_ | adj_delegate_type_t |
Delegate types. More... | |
typedef enum adj_bfd_state_t_ | adj_bfd_state_t |
Distillation of the BFD session states into a go/no-go for using the associated tracked adjacency. More... | |
typedef struct adj_delegate_t_ | adj_delegate_t |
A Delagate is a means to implement the Delagation design pattern; the extension of an object's functionality through the composition of, and delgation to, other objects. More... | |
Enumerations | |
enum | adj_delegate_type_t_ { ADJ_DELEGATE_BFD } |
Delegate types. More... | |
enum | adj_bfd_state_t_ { ADJ_BFD_STATE_DOWN, ADJ_BFD_STATE_UP } |
Distillation of the BFD session states into a go/no-go for using the associated tracked adjacency. More... | |
Functions | |
void | adj_delegate_remove (ip_adjacency_t *adj, adj_delegate_type_t type) |
adj_delegate_t * | adj_delegate_find_or_add (ip_adjacency_t *adj, adj_delegate_type_t fdt) |
adj_delegate_t * | adj_delegate_get (const ip_adjacency_t *adj, adj_delegate_type_t type) |
u8 * | format_adj_deletegate (u8 *s, va_list *args) |
#define FOR_EACH_ADJ_DELEGATE | ( | _adj, | |
_adt, | |||
_aed, | |||
_body | |||
) |
Definition at line 31 of file adj_delegate.h.
typedef enum adj_bfd_state_t_ adj_bfd_state_t |
Distillation of the BFD session states into a go/no-go for using the associated tracked adjacency.
typedef struct adj_delegate_t_ adj_delegate_t |
A Delagate is a means to implement the Delagation design pattern; the extension of an object's functionality through the composition of, and delgation to, other objects.
These 'other' objects are delegates. Delagates are thus attached to ADJ objects to extend their functionality.
typedef enum adj_delegate_type_t_ adj_delegate_type_t |
Delegate types.
enum adj_bfd_state_t_ |
Distillation of the BFD session states into a go/no-go for using the associated tracked adjacency.
Enumerator | |
---|---|
ADJ_BFD_STATE_DOWN | |
ADJ_BFD_STATE_UP |
Definition at line 48 of file adj_delegate.h.
enum adj_delegate_type_t_ |
Delegate types.
Enumerator | |
---|---|
ADJ_DELEGATE_BFD |
BFD session state. |
Definition at line 24 of file adj_delegate.h.
adj_delegate_t* adj_delegate_find_or_add | ( | ip_adjacency_t * | adj, |
adj_delegate_type_t | fdt | ||
) |
Definition at line 93 of file adj_delegate.c.
adj_delegate_t* adj_delegate_get | ( | const ip_adjacency_t * | adj, |
adj_delegate_type_t | type | ||
) |
Definition at line 48 of file adj_delegate.c.
void adj_delegate_remove | ( | ip_adjacency_t * | adj, |
adj_delegate_type_t | type | ||
) |
Definition at line 55 of file adj_delegate.c.