FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
mfib_entry_delegate_t_ Struct Reference

A Delagate is a means to implmenet the Delagation design pattern; the extension of an objects functionality through the composition of, and delgation to, other objects. More...

Data Fields

fib_node_index_t mfd_entry_index
 The MFIB entry object to which the delagate is attached. More...
 
mfib_entry_delegate_type_t mfd_type
 The delagate type. More...
 
union {
   fib_node_list_t   mfd_list
 For the cover tracking. More...
 
}; 
 A union of data for the different delegate types These delegates are stored in a sparse vector on the entry, so they must all be of the same size. More...
 

Detailed Description

A Delagate is a means to implmenet the Delagation design pattern; the extension of an objects functionality through the composition of, and delgation to, other objects.

These 'other' objects are delegates. Delagates are thus attached to other MFIB objects to extend their functionality.

Definition at line 52 of file mfib_entry_delegate.h.

Field Documentation

◆ @332

union { ... }

A union of data for the different delegate types These delegates are stored in a sparse vector on the entry, so they must all be of the same size.

◆ mfd_entry_index

fib_node_index_t mfib_entry_delegate_t_::mfd_entry_index

The MFIB entry object to which the delagate is attached.

Definition at line 57 of file mfib_entry_delegate.h.

◆ mfd_list

fib_node_list_t mfib_entry_delegate_t_::mfd_list

For the cover tracking.

The node list;

Definition at line 74 of file mfib_entry_delegate.h.

◆ mfd_type

mfib_entry_delegate_type_t mfib_entry_delegate_t_::mfd_type

The delagate type.

Definition at line 62 of file mfib_entry_delegate.h.


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