16 #ifndef __ADJ_DELEGATE_T__ 17 #define __ADJ_DELEGATE_T__ 31 #define FOR_EACH_ADJ_DELEGATE(_adj, _adt, _aed, _body) \ 33 for (_adt = ADJ_DELEGATE_BFD; \ 34 _adt <= ADJ_DELEGATE_BFD; \ 37 _aed = adj_delegate_get(_adj, _adt); \ adj_delegate_type_t ad_type
The delagate type.
adj_bfd_state_t ad_bfd_state
BFD session state.
u32 ad_bfd_index
BFD session index.
A Delagate is a means to implement the Delagation design pattern; the extension of an object's functi...
u8 * format_adj_deletegate(u8 *s, va_list *args)
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...
struct adj_delegate_t_ adj_delegate_t
A Delagate is a means to implement the Delagation design pattern; the extension of an object's functi...
enum adj_delegate_type_t_ adj_delegate_type_t
Delegate types.
adj_index_t ad_adj_index
The ADJ entry object to which the delagate is attached.
adj_bfd_state_t_
Distillation of the BFD session states into a go/no-go for using the associated tracked adjacency...
u32 adj_index_t
An index for adjacencies.
adj_delegate_t * adj_delegate_find_or_add(ip_adjacency_t *adj, adj_delegate_type_t fdt)
void adj_delegate_remove(ip_adjacency_t *adj, adj_delegate_type_t type)
adj_delegate_t * adj_delegate_get(const ip_adjacency_t *adj, adj_delegate_type_t type)
adj_delegate_type_t_
Delegate types.