FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
gbp_recirc.c File Reference
+ Include dependency graph for gbp_recirc.c:

Go to the source code of this file.

Macros

#define GBP_RECIRC_DBG(...)   vlib_log_debug (gr_logger, __VA_ARGS__);
 

Functions

u8format_gbp_recirc (u8 *s, va_list *args)
 
int gbp_recirc_add (u32 sw_if_index, sclass_t sclass, u8 is_ext)
 
int gbp_recirc_delete (u32 sw_if_index)
 
void gbp_recirc_walk (gbp_recirc_cb_t cb, void *ctx)
 
static walk_rc_t gbp_recirc_show_one (gbp_recirc_t *gr, void *ctx)
 
static clib_error_tgbp_recirc_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tgbp_recirc_init (vlib_main_t *vm)
 

Variables

gbp_recirc_tgbp_recirc_pool
 Pool of GBP recircs. More...
 
index_tgbp_recirc_db
 Recirc configs keyed by sw_if_index. More...
 
vlib_log_class_t gr_logger
 logger More...
 
static void(* l2e_enable )(u32 sw_if_index)
 L2 Emulation enable/disable symbols. More...
 
static void(* l2e_disable )(u32 sw_if_index)
 
static vlib_cli_command_t gbp_recirc_show_node
 (constructor) VLIB_CLI_COMMAND (gbp_recirc_show_node) More...
 

Macro Definition Documentation

◆ GBP_RECIRC_DBG

#define GBP_RECIRC_DBG (   ...)    vlib_log_debug (gr_logger, __VA_ARGS__);

Definition at line 47 of file gbp_recirc.c.

Function Documentation

◆ format_gbp_recirc()

u8* format_gbp_recirc ( u8 s,
va_list *  args 
)

Definition at line 51 of file gbp_recirc.c.

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

◆ gbp_recirc_add()

int gbp_recirc_add ( u32  sw_if_index,
sclass_t  sclass,
u8  is_ext 
)

Definition at line 62 of file gbp_recirc.c.

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

◆ gbp_recirc_delete()

int gbp_recirc_delete ( u32  sw_if_index)

Definition at line 175 of file gbp_recirc.c.

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

◆ gbp_recirc_init()

static clib_error_t* gbp_recirc_init ( vlib_main_t vm)
static

Definition at line 272 of file gbp_recirc.c.

+ Here is the call graph for this function:

◆ gbp_recirc_show()

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

Definition at line 247 of file gbp_recirc.c.

+ Here is the call graph for this function:

◆ gbp_recirc_show_one()

static walk_rc_t gbp_recirc_show_one ( gbp_recirc_t gr,
void *  ctx 
)
static

Definition at line 239 of file gbp_recirc.c.

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

◆ gbp_recirc_walk()

void gbp_recirc_walk ( gbp_recirc_cb_t  cb,
void *  ctx 
)

Definition at line 225 of file gbp_recirc.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ gbp_recirc_db

index_t* gbp_recirc_db

Recirc configs keyed by sw_if_index.

Definition at line 34 of file gbp_recirc.c.

◆ gbp_recirc_pool

gbp_recirc_t* gbp_recirc_pool

Pool of GBP recircs.

Data plane functions.

Definition at line 29 of file gbp_recirc.c.

◆ gbp_recirc_show_node

vlib_cli_command_t gbp_recirc_show_node
static
Initial value:
= {
.path = "show gbp recirc",
.short_help = "show gbp recirc\n",
.function = gbp_recirc_show,
}
static clib_error_t * gbp_recirc_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: gbp_recirc.c:247

(constructor) VLIB_CLI_COMMAND (gbp_recirc_show_node)

Definition at line 264 of file gbp_recirc.c.

◆ gr_logger

vlib_log_class_t gr_logger

logger

Definition at line 39 of file gbp_recirc.c.

◆ l2e_disable

void(* l2e_disable) (u32 sw_if_index)
static

Definition at line 45 of file gbp_recirc.c.

◆ l2e_enable

void(* l2e_enable) (u32 sw_if_index)
static

L2 Emulation enable/disable symbols.

Definition at line 44 of file gbp_recirc.c.