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

Go to the source code of this file.

Functions

int p2p_ethernet_add_del (vlib_main_t *vm, u32 parent_if_index, u8 *client_mac, int is_add)
 
static clib_error_tvnet_p2p_ethernet_add_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tp2p_ethernet_init (vlib_main_t *vm)
 

Variables

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

Function Documentation

int p2p_ethernet_add_del ( vlib_main_t vm,
u32  parent_if_index,
u8 client_mac,
int  is_add 
)

Definition at line 23 of file p2p_ethernet.c.

+ Here is the caller graph for this function:

static clib_error_t* p2p_ethernet_init ( vlib_main_t vm)
static

Definition at line 89 of file p2p_ethernet.c.

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

Definition at line 30 of file p2p_ethernet.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t p2p_ethernet_add_del_command
static
Initial value:
=
{
.path = "p2p_ethernet ",
.short_help = "p2p_ethernet <intfc> <mac-address> [del]",}
static clib_error_t * vnet_p2p_ethernet_add_del(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: p2p_ethernet.c:30

(constructor) VLIB_CLI_COMMAND (p2p_ethernet_add_del_command)

Definition at line 81 of file p2p_ethernet.c.