FD.io VPP  v19.04.2-12-g66b1689
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)
 
static clib_error_tgbp_itf_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static gbp_itf_tgbp_itfs
 
static vlib_cli_command_t gbp_contract_show_node
 (constructor) VLIB_CLI_COMMAND (gbp_contract_show_node) More...
 

Typedef Documentation

typedef struct gbp_itf_t_ gbp_itf_t

Attributes and configurations attached to interfaces by GBP.

Function Documentation

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:

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:

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:

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:

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:

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:

static clib_error_t* gbp_itf_show ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 208 of file gbp_itf.c.

+ Here is the call graph for this function:

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

vlib_cli_command_t gbp_contract_show_node
static
Initial value:
= {
.path = "show gbp interface",
.short_help = "show gbp interface\n",
.function = gbp_itf_show,
}
static clib_error_t * gbp_itf_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: gbp_itf.c:208

(constructor) VLIB_CLI_COMMAND (gbp_contract_show_node)

Definition at line 231 of file gbp_itf.c.

gbp_itf_t* gbp_itfs
static

Definition at line 40 of file gbp_itf.c.