FD.io VPP  v16.06
Vector Packet Processing
lisp_gpe.c File Reference
+ Include dependency graph for lisp_gpe.c:

Go to the source code of this file.

Macros

#define foreach_copy_field
 

Functions

static int lisp_gpe_rewrite (lisp_gpe_tunnel_t *t)
 
static u32 add_del_ip_tunnel (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *tun_index_res)
 
static int add_del_negative_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a)
 
int vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp)
 
static clib_error_tlisp_gpe_add_del_fwd_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_decap_next (u8 *s, va_list *args)
 
u8format_lisp_gpe_tunnel (u8 *s, va_list *args)
 
static clib_error_tshow_lisp_gpe_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
u8 vnet_lisp_gpe_enable_disable_status (void)
 
clib_error_tvnet_lisp_gpe_enable_disable (vnet_lisp_gpe_enable_disable_args_t *a)
 
static clib_error_tlisp_gpe_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tlisp_gpe_init (vlib_main_t *vm)
 
u8format_vnet_lisp_gpe_status (u8 *s, va_list *args)
 

Variables

lisp_gpe_main_t lisp_gpe_main
 
vlib_cli_command_t lisp_gpe_add_del_fwd_entry_command
 (constructor) VLIB_CLI_COMMAND (lisp_gpe_add_del_fwd_entry_command) More...
 
vlib_cli_command_t show_lisp_gpe_tunnel_command
 (constructor) VLIB_CLI_COMMAND (show_lisp_gpe_tunnel_command) More...
 
vlib_cli_command_t enable_disable_lisp_gpe_command
 (constructor) VLIB_CLI_COMMAND (enable_disable_lisp_gpe_command) More...
 

Macro Definition Documentation

#define foreach_copy_field
Value:
_(encap_fib_index) \
_(decap_fib_index) \
_(decap_next_index) \
_(vni)

Definition at line 94 of file lisp_gpe.c.

Function Documentation

static u32 add_del_ip_tunnel ( vnet_lisp_gpe_add_del_fwd_entry_args_t a,
u32 tun_index_res 
)
static

Definition at line 101 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int add_del_negative_fwd_entry ( lisp_gpe_main_t lgm,
vnet_lisp_gpe_add_del_fwd_entry_args_t a 
)
static

Definition at line 178 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* format_decap_next ( u8 s,
va_list *  args 
)
static

Definition at line 365 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_lisp_gpe_tunnel ( u8 s,
va_list *  args 
)

Definition at line 384 of file lisp_gpe.c.

+ Here is the call graph for this function:

u8* format_vnet_lisp_gpe_status ( u8 s,
va_list *  args 
)

Definition at line 581 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 284 of file lisp_gpe.c.

+ Here is the call graph for this function:

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

Definition at line 516 of file lisp_gpe.c.

+ Here is the call graph for this function:

clib_error_t* lisp_gpe_init ( vlib_main_t vm)

Definition at line 550 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int lisp_gpe_rewrite ( lisp_gpe_tunnel_t t)
static

Definition at line 21 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 412 of file lisp_gpe.c.

+ Here is the call graph for this function:

int vnet_lisp_gpe_add_del_fwd_entry ( vnet_lisp_gpe_add_del_fwd_entry_args_t a,
u32 hw_if_indexp 
)

Definition at line 214 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vnet_lisp_gpe_enable_disable ( vnet_lisp_gpe_enable_disable_args_t a)

Definition at line 444 of file lisp_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8 vnet_lisp_gpe_enable_disable_status ( void  )

Definition at line 436 of file lisp_gpe.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t enable_disable_lisp_gpe_command
Initial value:
= {
.path = "lisp gpe",
.short_help = "lisp gpe [enable|disable]",
}
static clib_error_t * lisp_gpe_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lisp_gpe.c:516

(constructor) VLIB_CLI_COMMAND (enable_disable_lisp_gpe_command)

Definition at line 543 of file lisp_gpe.c.

vlib_cli_command_t lisp_gpe_add_del_fwd_entry_command
Initial value:
= {
.path = "lisp gpe maptunnel",
.short_help = "lisp gpe maptunnel eid <eid> sloc <src-locator> "
"dloc <dst-locator> [del]",
}
static clib_error_t * lisp_gpe_add_del_fwd_entry_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lisp_gpe.c:284

(constructor) VLIB_CLI_COMMAND (lisp_gpe_add_del_fwd_entry_command)

Definition at line 357 of file lisp_gpe.c.

Definition at line 18 of file lisp_gpe.c.

vlib_cli_command_t show_lisp_gpe_tunnel_command
Initial value:
= {
.path = "show lisp gpe tunnel",
}
static clib_error_t * show_lisp_gpe_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lisp_gpe.c:412

(constructor) VLIB_CLI_COMMAND (show_lisp_gpe_tunnel_command)

Definition at line 430 of file lisp_gpe.c.