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

Go to the source code of this file.

Data Structures

struct  vnet_buffer_opaque_t
 
struct  vnet_buffer_opaque2_t
 

Macros

#define LOG2_IP_BUFFER_L4_CHECKSUM_COMPUTED   LOG2_VLIB_BUFFER_FLAG_USER(1)
 
#define LOG2_IP_BUFFER_L4_CHECKSUM_CORRECT   LOG2_VLIB_BUFFER_FLAG_USER(2)
 
#define IP_BUFFER_L4_CHECKSUM_COMPUTED   (1 << LOG2_IP_BUFFER_L4_CHECKSUM_COMPUTED)
 
#define IP_BUFFER_L4_CHECKSUM_CORRECT   (1 << LOG2_IP_BUFFER_L4_CHECKSUM_CORRECT)
 
#define LOG2_ETH_BUFFER_VLAN_2_DEEP   LOG2_VLIB_BUFFER_FLAG_USER(3)
 
#define LOG2_ETH_BUFFER_VLAN_1_DEEP   LOG2_VLIB_BUFFER_FLAG_USER(4)
 
#define ETH_BUFFER_VLAN_2_DEEP   (1 << LOG2_ETH_BUFFER_VLAN_2_DEEP)
 
#define ETH_BUFFER_VLAN_1_DEEP   (1 << LOG2_ETH_BUFFER_VLAN_1_DEEP)
 
#define ETH_BUFFER_VLAN_BITS
 
#define LOG2_BUFFER_OUTPUT_FEAT_DONE   LOG2_VLIB_BUFFER_FLAG_USER(5)
 
#define BUFFER_OUTPUT_FEAT_DONE   (1 << LOG2_BUFFER_OUTPUT_FEAT_DONE)
 
#define foreach_buffer_opaque_union_subtype
 
#define vnet_buffer(b)   ((vnet_buffer_opaque_t *) (b)->opaque)
 

Macro Definition Documentation

#define BUFFER_OUTPUT_FEAT_DONE   (1 << LOG2_BUFFER_OUTPUT_FEAT_DONE)

Definition at line 65 of file buffer.h.

#define ETH_BUFFER_VLAN_1_DEEP   (1 << LOG2_ETH_BUFFER_VLAN_1_DEEP)

Definition at line 60 of file buffer.h.

#define ETH_BUFFER_VLAN_2_DEEP   (1 << LOG2_ETH_BUFFER_VLAN_2_DEEP)

Definition at line 59 of file buffer.h.

#define ETH_BUFFER_VLAN_BITS
Value:
#define ETH_BUFFER_VLAN_1_DEEP
Definition: buffer.h:60
#define ETH_BUFFER_VLAN_2_DEEP
Definition: buffer.h:59

Definition at line 61 of file buffer.h.

#define foreach_buffer_opaque_union_subtype
Value:
_(ethernet) \
_(ip) \
_(mcast) \
_(swt) \
_(l2) \
_(l2t) \
_(gre) \
_(l2_classify) \
_(io_handoff) \
_(policer) \
_(output_features) \
_(map) \
_(map_t) \
_(ip_frag)

Definition at line 67 of file buffer.h.

#define IP_BUFFER_L4_CHECKSUM_COMPUTED   (1 << LOG2_IP_BUFFER_L4_CHECKSUM_COMPUTED)

Definition at line 49 of file buffer.h.

#define IP_BUFFER_L4_CHECKSUM_CORRECT   (1 << LOG2_IP_BUFFER_L4_CHECKSUM_CORRECT)

Definition at line 50 of file buffer.h.

#define LOG2_BUFFER_OUTPUT_FEAT_DONE   LOG2_VLIB_BUFFER_FLAG_USER(5)

Definition at line 64 of file buffer.h.

#define LOG2_ETH_BUFFER_VLAN_1_DEEP   LOG2_VLIB_BUFFER_FLAG_USER(4)

Definition at line 58 of file buffer.h.

#define LOG2_ETH_BUFFER_VLAN_2_DEEP   LOG2_VLIB_BUFFER_FLAG_USER(3)

Definition at line 57 of file buffer.h.

#define LOG2_IP_BUFFER_L4_CHECKSUM_COMPUTED   LOG2_VLIB_BUFFER_FLAG_USER(1)

Definition at line 47 of file buffer.h.

#define LOG2_IP_BUFFER_L4_CHECKSUM_CORRECT   LOG2_VLIB_BUFFER_FLAG_USER(2)

Definition at line 48 of file buffer.h.

#define vnet_buffer (   b)    ((vnet_buffer_opaque_t *) (b)->opaque)

Definition at line 300 of file buffer.h.