FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
gbp_itf.c File Reference
+ Include dependency graph for gbp_itf.c:

Go to the source code of this file.

Data Structures

struct  gbp_itf_t_
 Attributes and configurations attached to interfaces by GBP. More...
 

Typedefs

typedef struct gbp_itf_t_ gbp_itf_t
 Attributes and configurations attached to interfaces by GBP. More...
 

Functions

static gbp_itf_tgbp_itf_get (index_t gii)
 
static index_t gbp_itf_get_itf (u32 sw_if_index)
 
index_t gbp_itf_add_and_lock (u32 sw_if_index, u32 bd_index)
 
void gbp_itf_unlock (index_t gii)
 
void gbp_itf_set_l2_input_feature (index_t gii, index_t useri, l2input_feat_masks_t feats)
 
void gbp_itf_set_l2_output_feature (index_t gii, index_t useri, l2output_feat_masks_t feats)
 
u8format_gbp_itf (u8 *s, va_list *args)
 

Variables

static gbp_itf_tgbp_itfs
 

Typedef Documentation

◆ gbp_itf_t

typedef struct gbp_itf_t_ gbp_itf_t

Attributes and configurations attached to interfaces by GBP.

Function Documentation

◆ format_gbp_itf()

u8* format_gbp_itf ( u8 s,
va_list *  args 
)

Definition at line 190 of file gbp_itf.c.

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

◆ gbp_itf_add_and_lock()

index_t gbp_itf_add_and_lock ( u32  sw_if_index,
u32  bd_index 
)

Definition at line 57 of file gbp_itf.c.

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

◆ gbp_itf_get()

static gbp_itf_t* gbp_itf_get ( index_t  gii)
static

Definition at line 43 of file gbp_itf.c.

+ Here is the caller graph for this function:

◆ gbp_itf_get_itf()

static index_t gbp_itf_get_itf ( u32  sw_if_index)
static

Definition at line 51 of file gbp_itf.c.

+ Here is the caller graph for this function:

◆ gbp_itf_set_l2_input_feature()

void gbp_itf_set_l2_input_feature ( index_t  gii,
index_t  useri,
l2input_feat_masks_t  feats 
)

Definition at line 102 of file gbp_itf.c.

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

◆ gbp_itf_set_l2_output_feature()

void gbp_itf_set_l2_output_feature ( index_t  gii,
index_t  useri,
l2output_feat_masks_t  feats 
)

Definition at line 146 of file gbp_itf.c.

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

◆ gbp_itf_unlock()

void gbp_itf_unlock ( index_t  gii)

Definition at line 81 of file gbp_itf.c.

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

Variable Documentation

◆ gbp_itfs

gbp_itf_t* gbp_itfs
static

Definition at line 40 of file gbp_itf.c.