FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
mfib_itf.h File Reference
+ Include dependency graph for mfib_itf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mfib_itf_t_
 An interface associated with a particular MFIB entry. More...
 

Typedefs

typedef struct mfib_itf_t_ mfib_itf_t
 An interface associated with a particular MFIB entry. More...
 

Functions

int mfib_itf_update (mfib_itf_t *itf, fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
 update an interface from a path. More...
 
index_t mfib_itf_create (fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
 
void mfib_itf_delete (mfib_itf_t *itf)
 
u8format_mfib_itf (u8 *s, va_list *args)
 
static mfib_itf_tmfib_itf_get (index_t mi)
 Get the MFIB interface representation. More...
 
static index_t mfib_itf_get_index (const mfib_itf_t *mfi)
 

Variables

mfib_itf_tmfib_itf_pool
 

Typedef Documentation

◆ mfib_itf_t

typedef struct mfib_itf_t_ mfib_itf_t

An interface associated with a particular MFIB entry.

Function Documentation

◆ format_mfib_itf()

u8* format_mfib_itf ( u8 s,
va_list *  args 
)

Definition at line 121 of file mfib_itf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mfib_itf_create()

index_t mfib_itf_create ( fib_node_index_t  path_index,
mfib_itf_flags_t  mfi_flags 
)

Definition at line 25 of file mfib_itf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mfib_itf_delete()

void mfib_itf_delete ( mfib_itf_t itf)

Definition at line 113 of file mfib_itf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mfib_itf_get()

static mfib_itf_t* mfib_itf_get ( index_t  mi)
inlinestatic

Get the MFIB interface representation.

Definition at line 78 of file mfib_itf.h.

+ Here is the caller graph for this function:

◆ mfib_itf_get_index()

static index_t mfib_itf_get_index ( const mfib_itf_t mfi)
inlinestatic

Definition at line 84 of file mfib_itf.h.

+ Here is the caller graph for this function:

◆ mfib_itf_update()

int mfib_itf_update ( mfib_itf_t itf,
fib_node_index_t  path_index,
mfib_itf_flags_t  mfi_flags 
)

update an interface from a path.

returns 1 if the entry is removed, i.e. has no flags left, as a result of the update.

Definition at line 66 of file mfib_itf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ mfib_itf_pool

mfib_itf_t* mfib_itf_pool

Definition at line 22 of file mfib_itf.c.