FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
lisp_gpe.c File Reference

Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels. More...

+ Include dependency graph for lisp_gpe.c:

Go to the source code of this file.

Functions

static clib_error_tlisp_gpe_add_del_fwd_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 CLI command to add/del forwarding entry. More...
 
u8 vnet_lisp_gpe_enable_disable_status (void)
 Check if LISP-GPE is enabled. More...
 
clib_error_tvnet_lisp_gpe_enable_disable (vnet_lisp_gpe_enable_disable_args_t *a)
 Enable/disable LISP-GPE. More...
 
static clib_error_tlisp_gpe_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 CLI command to enable/disable LISP-GPE. More...
 
static clib_error_tlisp_show_iface_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 CLI command to show LISP-GPE interfaces. More...
 
u8format_vnet_lisp_gpe_status (u8 *s, va_list *args)
 Format LISP-GPE status. More...
 
clib_error_tlisp_gpe_init (vlib_main_t *vm)
 LISP-GPE init function. More...
 

Variables

lisp_gpe_main_t lisp_gpe_main
 LISP-GPE global state. More...
 
static vlib_cli_command_t lisp_gpe_add_del_fwd_entry_command
 (constructor) VLIB_CLI_COMMAND (lisp_gpe_add_del_fwd_entry_command) More...
 
static vlib_cli_command_t enable_disable_lisp_gpe_command
 (constructor) VLIB_CLI_COMMAND (enable_disable_lisp_gpe_command) More...
 
vlib_cli_command_t lisp_show_iface_command
 (constructor) VLIB_CLI_COMMAND (lisp_show_iface_command) More...
 

Detailed Description

Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels.

Definition in file lisp_gpe.c.

Function Documentation

u8* format_vnet_lisp_gpe_status ( u8 s,
va_list *  args 
)

Format LISP-GPE status.

Definition at line 282 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

CLI command to add/del forwarding entry.

Definition at line 32 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

CLI command to enable/disable LISP-GPE.

Definition at line 207 of file lisp_gpe.c.

+ Here is the call graph for this function:

clib_error_t* lisp_gpe_init ( vlib_main_t vm)

LISP-GPE init function.

Definition at line 291 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_show_iface_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

CLI command to show LISP-GPE interfaces.

Definition at line 245 of file lisp_gpe.c.

+ Here is the call graph for this function:

clib_error_t* vnet_lisp_gpe_enable_disable ( vnet_lisp_gpe_enable_disable_args_t a)

Enable/disable LISP-GPE.

Definition at line 183 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  )

Check if LISP-GPE is enabled.

Read LISP-GPE status.

Definition at line 174 of file lisp_gpe.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t enable_disable_lisp_gpe_command
static
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)
CLI command to enable/disable LISP-GPE.
Definition: lisp_gpe.c:207

(constructor) VLIB_CLI_COMMAND (enable_disable_lisp_gpe_command)

Definition at line 236 of file lisp_gpe.c.

vlib_cli_command_t lisp_gpe_add_del_fwd_entry_command
static
Initial value:
= {
.path = "lisp gpe entry",
.short_help = "lisp gpe entry add/del vni <vni> vrf <vrf> [leid <leid>]"
"reid <reid> [loc-pair <lloc> <rloc> p <priority> w <weight>] "
"[negative action <action>]",
}
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)
CLI command to add/del forwarding entry.
Definition: lisp_gpe.c:32

(constructor) VLIB_CLI_COMMAND (lisp_gpe_add_del_fwd_entry_command)

Definition at line 163 of file lisp_gpe.c.

LISP-GPE global state.

Definition at line 27 of file lisp_gpe.c.

vlib_cli_command_t lisp_show_iface_command
Initial value:
= {
.path = "show lisp gpe interface",
.short_help = "show lisp gpe interface",
}
static clib_error_t * lisp_show_iface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
CLI command to show LISP-GPE interfaces.
Definition: lisp_gpe.c:245

(constructor) VLIB_CLI_COMMAND (lisp_show_iface_command)

Definition at line 273 of file lisp_gpe.c.