FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
interface.c File Reference
+ Include dependency graph for interface.c:

Go to the source code of this file.

Functions

u8 mpls_sw_interface_is_enabled (u32 sw_if_index)
 
void mpls_sw_interface_enable_disable (mpls_main_t *mm, u32 sw_if_index, u8 is_enable)
 
static clib_error_tmpls_interface_enable_disable (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t set_interface_ip_table_command
 (constructor) VLIB_CLI_COMMAND (set_interface_ip_table_command) More...
 

Function Documentation

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

Definition at line 76 of file interface.c.

+ Here is the call graph for this function:

void mpls_sw_interface_enable_disable ( mpls_main_t mm,
u32  sw_if_index,
u8  is_enable 
)

Definition at line 39 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8 mpls_sw_interface_is_enabled ( u32  sw_if_index)

Definition at line 28 of file interface.c.

Variable Documentation

vlib_cli_command_t set_interface_ip_table_command
static
Initial value:
= {
.path = "set interface mpls",
.short_help = "Enable/Disable an interface for MPLS forwarding",
}
static clib_error_t * mpls_interface_enable_disable(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: interface.c:76

(constructor) VLIB_CLI_COMMAND (set_interface_ip_table_command)

Definition at line 118 of file interface.c.