FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
adj_delegate_t_ Struct Reference

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...

Data Fields

adj_index_t ad_adj_index
 The ADJ entry object to which the delagate is attached. More...
 
adj_delegate_type_t ad_type
 The delagate type. More...
 
union {
   struct {
      adj_bfd_state_t   ad_bfd_state
 BFD session state. More...
 
      u32   ad_bfd_index
 BFD session index. More...
 
   } 
 BFD delegate daa. More...
 
}; 
 A union of data for the different delegate types. More...
 

Detailed Description

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.

Definition at line 61 of file adj_delegate.h.

Field Documentation

union { ... }

A union of data for the different delegate types.

adj_index_t adj_delegate_t_::ad_adj_index

The ADJ entry object to which the delagate is attached.

Definition at line 66 of file adj_delegate.h.

u32 adj_delegate_t_::ad_bfd_index

BFD session index.

Definition at line 89 of file adj_delegate.h.

adj_bfd_state_t adj_delegate_t_::ad_bfd_state

BFD session state.

Definition at line 85 of file adj_delegate.h.

adj_delegate_type_t adj_delegate_t_::ad_type

The delagate type.

Definition at line 71 of file adj_delegate.h.


The documentation for this struct was generated from the following file: