FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
mfib_signal.c File Reference
+ Include dependency graph for mfib_signal.c:

Go to the source code of this file.

Data Structures

struct  mfib_signal_q_t_
 the list/set of interfaces with signals pending More...
 

Macros

#define MFIB_SIGNAL_CRITICAL_SECTION(_body)
 

Typedefs

typedef struct mfib_signal_q_t_ mfib_signal_q_t
 the list/set of interfaces with signals pending More...
 

Functions

static void mfib_signal_list_init (void)
 
void mfib_signal_module_init (void)
 
static void mfib_signal_lock_aquire (void)
 
static void mfib_signal_lock_release (void)
 
int mfib_signal_send_one (struct vl_api_registration_ *reg, u32 context)
 
void mfib_signal_push (const mfib_entry_t *mfe, mfib_itf_t *mfi, vlib_buffer_t *b0)
 
void mfib_signal_remove_itf (const mfib_itf_t *mfi)
 

Variables

static mfib_signal_tmfib_signal_pool
 Pool of signals. More...
 
static dlist_elt_tmfib_signal_dlist_pool
 pool of dlist elements More...
 
static mfib_signal_q_t mfib_signal_pending
 The pending queue of signals to deliver to the control plane. More...
 

Macro Definition Documentation

#define MFIB_SIGNAL_CRITICAL_SECTION (   _body)
Value:
{ \
do { \
_body; \
} while (0); \
}
static void mfib_signal_lock_release(void)
Definition: mfib_signal.c:79
static void mfib_signal_lock_aquire(void)
Definition: mfib_signal.c:72

Definition at line 84 of file mfib_signal.c.

Typedef Documentation

the list/set of interfaces with signals pending

Function Documentation

static void mfib_signal_list_init ( void  )
static

Definition at line 53 of file mfib_signal.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void mfib_signal_lock_aquire ( void  )
inlinestatic

Definition at line 72 of file mfib_signal.c.

static void mfib_signal_lock_release ( void  )
inlinestatic

Definition at line 79 of file mfib_signal.c.

void mfib_signal_module_init ( void  )

Definition at line 66 of file mfib_signal.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mfib_signal_push ( const mfib_entry_t mfe,
mfib_itf_t mfi,
vlib_buffer_t b0 
)

Definition at line 141 of file mfib_signal.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mfib_signal_remove_itf ( const mfib_itf_t mfi)

Definition at line 184 of file mfib_signal.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int mfib_signal_send_one ( struct vl_api_registration_ reg,
u32  context 
)

Definition at line 94 of file mfib_signal.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

dlist_elt_t* mfib_signal_dlist_pool
static

pool of dlist elements

Definition at line 29 of file mfib_signal.c.

mfib_signal_q_t mfib_signal_pending
static

The pending queue of signals to deliver to the control plane.

Definition at line 50 of file mfib_signal.c.

mfib_signal_t* mfib_signal_pool
static

Pool of signals.

Definition at line 24 of file mfib_signal.c.