Go to the source code of this file.
|
static void | create_p2pe_key (p2p_key_t *p2pe_key, u32 parent_if_index, u8 *client_mac) |
|
u32 | p2p_ethernet_lookup (u32 parent_if_index, u8 *client_mac) |
|
int | p2p_ethernet_add_del (vlib_main_t *vm, u32 parent_if_index, u8 *client_mac, u32 p2pe_subif_id, int is_add, u32 *p2pe_if_index) |
|
static clib_error_t * | vnet_p2p_ethernet_add_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | p2p_ethernet_init (vlib_main_t *vm) |
|
static void create_p2pe_key |
( |
p2p_key_t * |
p2pe_key, |
|
|
u32 |
parent_if_index, |
|
|
u8 * |
client_mac |
|
) |
| |
|
static |
int p2p_ethernet_add_del |
( |
vlib_main_t * |
vm, |
|
|
u32 |
parent_if_index, |
|
|
u8 * |
client_mac, |
|
|
u32 |
p2pe_subif_id, |
|
|
int |
is_add, |
|
|
u32 * |
p2pe_if_index |
|
) |
| |
u32 p2p_ethernet_lookup |
( |
u32 |
parent_if_index, |
|
|
u8 * |
client_mac |
|
) |
| |
Initial value:=
{
"p2p_ethernet <intfc> <mac-address> [sub-id <id> | del]",}
static clib_error_t * vnet_p2p_ethernet_add_del(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (p2p_ethernet_add_del_command)
Definition at line 251 of file p2p_ethernet.c.