FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
p2p_ethernet.h File Reference
+ Include dependency graph for p2p_ethernet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  p2p_ethernet_main_t
 
struct  p2p_ethernet_trace_t
 
struct  p2p_key_t
 Key struct for P2P Ethernet Key fields: parent sw_if_index and client mac address all fields in NET byte order. More...
 

Functions

u32 p2p_ethernet_lookup (u32 parent_sw_if_index, u8 *client_mac)
 
int p2p_ethernet_add_del (vlib_main_t *vm, u32 parent_if_index, u8 *client_mac, u32 sub_id, int is_add, u32 *p2pe_if_index)
 

Variables

p2p_ethernet_main_t p2p_main
 

Function Documentation

◆ p2p_ethernet_add_del()

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

Definition at line 50 of file p2p_ethernet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ p2p_ethernet_lookup()

u32 p2p_ethernet_lookup ( u32  parent_sw_if_index,
u8 client_mac 
)

Definition at line 35 of file p2p_ethernet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ p2p_main

Definition at line 23 of file p2p_ethernet.c.