FD.io VPP  v21.06-3-gbb25fbf28
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

◆ MFIB_SIGNAL_CRITICAL_SECTION

#define MFIB_SIGNAL_CRITICAL_SECTION (   _body)
Value:
{ \
mfib_signal_lock_aquire(); \
do { \
_body; \
} while (0); \
mfib_signal_lock_release(); \
}

Definition at line 84 of file mfib_signal.c.

Typedef Documentation

◆ mfib_signal_q_t

the list/set of interfaces with signals pending

Function Documentation

◆ mfib_signal_list_init()

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:

◆ mfib_signal_lock_aquire()

static void mfib_signal_lock_aquire ( void  )
inlinestatic

Definition at line 72 of file mfib_signal.c.

◆ mfib_signal_lock_release()

static void mfib_signal_lock_release ( void  )
inlinestatic

Definition at line 79 of file mfib_signal.c.

◆ mfib_signal_module_init()

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:

◆ mfib_signal_push()

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:

◆ mfib_signal_remove_itf()

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:

◆ mfib_signal_send_one()

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

◆ mfib_signal_dlist_pool

dlist_elt_t* mfib_signal_dlist_pool
static

pool of dlist elements

Definition at line 29 of file mfib_signal.c.

◆ mfib_signal_pending

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_pool

mfib_signal_t* mfib_signal_pool
static

Pool of signals.

Definition at line 24 of file mfib_signal.c.