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

Go to the source code of this file.

Functions

u8format_gre_tunnel (u8 *s, va_list *args)
 
int vnet_gre_add_del_tunnel (vnet_gre_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
 
static clib_error_tcreate_gre_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_gre_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tgre_interface_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t create_gre_tunnel_command
 (constructor) VLIB_CLI_COMMAND (create_gre_tunnel_command) More...
 
static vlib_cli_command_t show_gre_tunnel_command
 (constructor) VLIB_CLI_COMMAND (show_gre_tunnel_command) More...
 

Function Documentation

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

Definition at line 151 of file interface.c.

+ Here is the call graph for this function:

u8* format_gre_tunnel ( u8 s,
va_list *  args 
)

Definition at line 23 of file interface.c.

+ Here is the call graph for this function:

clib_error_t* gre_interface_init ( vlib_main_t vm)

Definition at line 246 of file interface.c.

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

Definition at line 222 of file interface.c.

+ Here is the call graph for this function:

int vnet_gre_add_del_tunnel ( vnet_gre_add_del_tunnel_args_t a,
u32 sw_if_indexp 
)

Definition at line 38 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t create_gre_tunnel_command
static
Initial value:
= {
.path = "create gre tunnel",
.short_help = "create gre tunnel src <addr> dst <addr> "
"[outer-fib-id <fib>] [del]",
}
static clib_error_t * create_gre_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: interface.c:151

(constructor) VLIB_CLI_COMMAND (create_gre_tunnel_command)

Definition at line 214 of file interface.c.

vlib_cli_command_t show_gre_tunnel_command
static
Initial value:
= {
.path = "show gre tunnel",
}
static clib_error_t * show_gre_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: interface.c:222

(constructor) VLIB_CLI_COMMAND (show_gre_tunnel_command)

Definition at line 240 of file interface.c.