FD.io VPP  v16.09
Vector Packet Processing
packet.h File Reference
+ Include dependency graph for packet.h:
+ This graph shows which files directly or indirectly include this file:

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
 

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)
 

Enumerations

enum  ethernet_type_t { ethernet_type, ethernet_type }
 

Functions

static uword ethernet_address_cast (u8 *a)
 
static uword ethernet_address_is_locally_administered (u8 *a)
 
static void ethernet_address_set_locally_administered (u8 *a)
 

Macro Definition Documentation

#define ETHERNET_ADDRESS_MULTICAST   1

Definition at line 61 of file packet.h.

#define ETHERNET_ADDRESS_UNICAST   0

Definition at line 60 of file packet.h.

#define ETHERNET_N_VLAN   (1 << 12)

Definition at line 88 of file packet.h.

#define ethernet_type (   n,
 
)    ETHERNET_TYPE_##s = n,

Definition at line 45 of file packet.h.

Enumeration Type Documentation

Enumerator
ethernet_type 
ethernet_type 

Definition at line 43 of file packet.h.

Function Documentation

static uword ethernet_address_cast ( u8 a)
inlinestatic

Definition at line 65 of file packet.h.

+ Here is the caller graph for this function:

static uword ethernet_address_is_locally_administered ( u8 a)
inlinestatic

Definition at line 71 of file packet.h.

static void ethernet_address_set_locally_administered ( u8 a)
inlinestatic

Definition at line 77 of file packet.h.