FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
vnet_buffer_opaque_t Struct Reference

Data Fields

u32 sw_if_index [VLIB_N_RX_TX]
 
union {
   struct {
      i32   start_of_ethernet_header
 
   }   ethernet
 
   struct {
      u32   adj_index [VLIB_N_RX_TX]
 
      union {
         struct {
            u32   flow_hash
 
            u32   save_protocol
 
            u32   save_rewrite_length
 
         } 
 
         struct {
            u8   type
 
            u8   code
 
            u32   data
 
         }   icmp
 
         i32   start_of_ip_header
 
      } 
 
   }   ip
 
   struct {
      u8   ttl
 
      u8   exp
 
      u8   first
 
   }   mpls
 
   struct {
      u8   swt_disable
 
      u32   mapping_index
 
   }   swt
 
   struct {
      u32   feature_bitmap
 
      u16   bd_index
 
      u8   l2_len
 
      u8   shg
 
      u8   bd_sn
 
      u8   int_sn
 
   }   l2
 
   struct {
      u32   pad [4]
 
      u8   next_index
 
      u32   session_index
 
   }   l2t
 
   struct {
      u32   src
 
      u32   dst
 
   }   gre
 
   struct {
      u64   pad
 
      u32   table_index
 
      u32   opaque_index
 
      u64   hash
 
   }   l2_classify
 
   struct {
      u32   next_index
 
   }   handoff
 
   struct {
      u32   pad [8-VLIB_N_RX_TX-1]
 
      u32   index
 
   }   policer
 
   struct {
      u32   flags
 
      u32   sad_index
 
   }   ipsec
 
   struct {
      u16   mtu
 
   }   map
 
   struct {
      u32   map_domain_index
 
      struct {
         u32   saddr
 
         u32   daddr
 
         u16   frag_offset
 
         u16   l4_offset
 
         u8   l4_protocol
 
      }   v6
 
      u16   checksum_offset
 
      u16   mtu
 
   }   map_t
 
   struct {
      u16   header_offset
 
      u16   mtu
 
      u8   next_index
 
      u8   flags
 
   }   ip_frag
 
   struct {
      u32   current_config_index
 
   }   cop
 
   struct {
      u16   overlay_afi
 
   }   lisp
 
   struct {
      u32   saved_next_index
 saved by drivers for short-cut More...
 
      u16   buffer_advance
 
   }   device_input_feat
 
   struct {
      u32   connection_index
 
      u32   seq_number
 
      u32   seq_end
 
      u32   ack_number
 
      u8   flags
 
   }   tcp
 
   u32   unused [6]
 
}; 
 

Detailed Description

Definition at line 99 of file buffer.h.

Field Documentation

union { ... }
u32 vnet_buffer_opaque_t::ack_number

Definition at line 278 of file buffer.h.

u32 vnet_buffer_opaque_t::adj_index[VLIB_N_RX_TX]

Definition at line 118 of file buffer.h.

u16 vnet_buffer_opaque_t::bd_index

Definition at line 172 of file buffer.h.

u8 vnet_buffer_opaque_t::bd_sn

Definition at line 175 of file buffer.h.

u16 vnet_buffer_opaque_t::buffer_advance

Definition at line 269 of file buffer.h.

u16 vnet_buffer_opaque_t::checksum_offset

Definition at line 238 of file buffer.h.

u8 vnet_buffer_opaque_t::code

Definition at line 139 of file buffer.h.

u32 vnet_buffer_opaque_t::connection_index

Definition at line 275 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::cop
u32 vnet_buffer_opaque_t::current_config_index

Definition at line 255 of file buffer.h.

u32 vnet_buffer_opaque_t::daddr

Definition at line 233 of file buffer.h.

u32 vnet_buffer_opaque_t::data

Definition at line 140 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::device_input_feat
u32 vnet_buffer_opaque_t::dst

Definition at line 189 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ethernet
u8 vnet_buffer_opaque_t::exp

Definition at line 157 of file buffer.h.

u32 vnet_buffer_opaque_t::feature_bitmap

Definition at line 171 of file buffer.h.

u8 vnet_buffer_opaque_t::first

Definition at line 158 of file buffer.h.

u32 vnet_buffer_opaque_t::flags

Definition at line 217 of file buffer.h.

u8 vnet_buffer_opaque_t::flags

Definition at line 248 of file buffer.h.

u32 vnet_buffer_opaque_t::flow_hash

Definition at line 126 of file buffer.h.

u16 vnet_buffer_opaque_t::frag_offset

Definition at line 234 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::gre
struct { ... } vnet_buffer_opaque_t::handoff
u64 vnet_buffer_opaque_t::hash

Definition at line 198 of file buffer.h.

u16 vnet_buffer_opaque_t::header_offset

Definition at line 245 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::icmp
u32 vnet_buffer_opaque_t::index

Definition at line 211 of file buffer.h.

u8 vnet_buffer_opaque_t::int_sn

Definition at line 176 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ip
struct { ... } vnet_buffer_opaque_t::ip_frag
struct { ... } vnet_buffer_opaque_t::ipsec
struct { ... } vnet_buffer_opaque_t::l2
struct { ... } vnet_buffer_opaque_t::l2_classify
u8 vnet_buffer_opaque_t::l2_len

Definition at line 173 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::l2t
u16 vnet_buffer_opaque_t::l4_offset

Definition at line 235 of file buffer.h.

u8 vnet_buffer_opaque_t::l4_protocol

Definition at line 236 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::lisp
struct { ... } vnet_buffer_opaque_t::map
u32 vnet_buffer_opaque_t::map_domain_index

Definition at line 230 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::map_t
u32 vnet_buffer_opaque_t::mapping_index

Definition at line 165 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::mpls
u16 vnet_buffer_opaque_t::mtu

Definition at line 224 of file buffer.h.

u8 vnet_buffer_opaque_t::next_index

Definition at line 183 of file buffer.h.

u32 vnet_buffer_opaque_t::next_index

Definition at line 204 of file buffer.h.

u32 vnet_buffer_opaque_t::opaque_index

Definition at line 197 of file buffer.h.

u16 vnet_buffer_opaque_t::overlay_afi

Definition at line 262 of file buffer.h.

u32 vnet_buffer_opaque_t::pad[8-VLIB_N_RX_TX-1]

Definition at line 182 of file buffer.h.

u64 vnet_buffer_opaque_t::pad

Definition at line 195 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::policer
u32 vnet_buffer_opaque_t::sad_index

Definition at line 218 of file buffer.h.

u32 vnet_buffer_opaque_t::saddr

Definition at line 233 of file buffer.h.

u32 vnet_buffer_opaque_t::save_protocol

Definition at line 129 of file buffer.h.

u32 vnet_buffer_opaque_t::save_rewrite_length

Definition at line 132 of file buffer.h.

u32 vnet_buffer_opaque_t::saved_next_index

saved by drivers for short-cut

Definition at line 268 of file buffer.h.

u32 vnet_buffer_opaque_t::seq_end

Definition at line 277 of file buffer.h.

u32 vnet_buffer_opaque_t::seq_number

Definition at line 276 of file buffer.h.

u32 vnet_buffer_opaque_t::session_index

Definition at line 184 of file buffer.h.

u8 vnet_buffer_opaque_t::shg

Definition at line 174 of file buffer.h.

u32 vnet_buffer_opaque_t::src

Definition at line 189 of file buffer.h.

i32 vnet_buffer_opaque_t::start_of_ethernet_header

Definition at line 109 of file buffer.h.

i32 vnet_buffer_opaque_t::start_of_ip_header

Definition at line 144 of file buffer.h.

u32 vnet_buffer_opaque_t::sw_if_index[VLIB_N_RX_TX]

Definition at line 101 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::swt
u8 vnet_buffer_opaque_t::swt_disable

Definition at line 164 of file buffer.h.

u32 vnet_buffer_opaque_t::table_index

Definition at line 196 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::tcp
u8 vnet_buffer_opaque_t::ttl

Definition at line 156 of file buffer.h.

u8 vnet_buffer_opaque_t::type

Definition at line 138 of file buffer.h.

u32 vnet_buffer_opaque_t::unused[6]

Definition at line 282 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::v6

The documentation for this struct was generated from the following file: