FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ethernet_header_t |
struct | ethernet_vlan_header_t |
struct | ethernet_vlan_header_tv_t |
struct | ethernet_pbb_header_t |
Macros | |
#define | ethernet_type(n, s) ETHERNET_TYPE_##s = n, |
#define | ETHERNET_ADDRESS_UNICAST 0 |
#define | ETHERNET_ADDRESS_MULTICAST 1 |
#define | ETHERNET_N_VLAN (1 << 12) |
#define | ETHERNET_N_PBB (1 << 24) |
Enumerations | |
enum | ethernet_type_t |
Functions | |
static uword | ethernet_address_cast (u8 *a) |
static int | ethernet_address_is_broadcast (u8 *a) |
static uword | ethernet_address_is_locally_administered (u8 *a) |
static void | ethernet_address_set_locally_administered (u8 *a) |
static int | eh_dst_addr_to_rx_ctype (ethernet_header_t *eh) |
static int | eh_dst_addr_to_tx_ctype (ethernet_header_t *eh) |
static void | ethernet_vlan_header_set_priority_net_order (ethernet_vlan_header_t *h, u8 prio) |
typedef | CLIB_PACKED (struct{u8 b_dst_address[6];u8 b_src_address[6];u16 b_type;u16 priority_dei_id;u16 i_type;u32 priority_dei_uca_res_sid;}) ethernet_pbb_header_packed_t |
enum ethernet_type_t |
typedef CLIB_PACKED | ( | struct{u8 b_dst_address[6];u8 b_src_address[6];u16 b_type;u16 priority_dei_id;u16 i_type;u32 priority_dei_uca_res_sid;} | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |