FD.io VPP  v16.06
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
 

Functions

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

Macro Definition Documentation

#define ETHERNET_ADDRESS_MULTICAST   1

Definition at line 59 of file packet.h.

#define ETHERNET_ADDRESS_UNICAST   0

Definition at line 58 of file packet.h.

#define ETHERNET_N_VLAN   (1 << 12)

Definition at line 79 of file packet.h.

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

Definition at line 44 of file packet.h.

Enumeration Type Documentation

Definition at line 43 of file packet.h.

Function Documentation

always_inline uword ethernet_address_cast ( u8 a)

Definition at line 63 of file packet.h.

+ Here is the caller graph for this function:

always_inline uword ethernet_address_is_locally_administered ( u8 a)

Definition at line 67 of file packet.h.

always_inline void ethernet_address_set_locally_administered ( u8 a)

Definition at line 71 of file packet.h.