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) |
|
◆ create_p2pe_key()
static void create_p2pe_key |
( |
p2p_key_t * |
p2pe_key, |
|
|
u32 |
parent_if_index, |
|
|
u8 * |
client_mac |
|
) |
| |
|
static |
◆ p2p_ethernet_add_del()
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 |
|
) |
| |
◆ p2p_ethernet_init()
◆ p2p_ethernet_lookup()
u32 p2p_ethernet_lookup |
( |
u32 |
parent_if_index, |
|
|
u8 * |
client_mac |
|
) |
| |
◆ vnet_p2p_ethernet_add_del()
◆ p2p_ethernet_add_del_command
Initial value:=
{
"p2p_ethernet <intfc> <mac-address> [sub-id <id> | del]",}
(constructor) VLIB_CLI_COMMAND (p2p_ethernet_add_del_command)
Definition at line 251 of file p2p_ethernet.c.
◆ p2p_main