FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
vnet_buffer_opaque_t Struct Reference

Data Fields

u32 sw_if_index [VLIB_N_RX_TX]
 
i16 l2_hdr_offset
 
i16 l3_hdr_offset
 
i16 l4_hdr_offset
 
u8 feature_arc_index
 
u8 dont_waste_me
 
union {
   struct {
      u32   adj_index [VLIB_N_RX_TX]
 
      union {
         struct {
            u32   flow_hash
 
            union {
               u32   save_protocol
 
               u32   fib_index
 
            } 
 
            u32   save_rewrite_length
 
            u32   rpf_id
 
         } 
 
         struct {
            u8   type
 
            u8   code
 
            u32   data
 
         }   icmp
 
         union {
            u32   pad [2]
 
            struct {
               u32   next_index
 
               u16   estimated_mtu
 
            } 
 
            struct {
               u16   fragment_first
 
               u16   fragment_last
 
               u16   range_first
 
               u16   range_last
 
               u32   next_range_bi
 
               u16   ip6_frag_hdr_offset
 
            } 
 
         }   reass
 
      } 
 
   }   ip
 
   struct {
      u32   pad [VLIB_N_RX_TX+1]
 
      u8   ttl
 
      u8   exp
 
      u8   first
 
      u32   save_rewrite_length
 
      struct {
         u8   n_bytes
 
      }   bier
 
   }   mpls
 
   struct opaque_l2 {
      u32   feature_bitmap
 
      u16   bd_index
 
      u8   l2_len
 
      u8   shg
 
      u16   l2fib_sn
 
      u8   bd_age
 
   }   l2
 
   struct {
      u32   pad [4]
 
      u8   next_index
 
      u32   session_index
 
   }   l2t
 
   struct {
      struct opaque_l2   pad
 
      union {
         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 {
      u32   pad [2]
 
      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
 
      u16   hdr_offset
 offset relative to ip hdr More...
 
      u16   data_offset
 offset relative to ip hdr More...
 
      u16   data_len
 data len More...
 
      u8   flags
 
   }   tcp
 
   struct {
      u32   connection_index
 
      u16   sid
 Stream ID. More...
 
      u16   ssn
 Stream Sequence Number. More...
 
      u32   tsn
 Transmission Sequence Number. More...
 
      u16   hdr_offset
 offset relative to ip hdr More...
 
      u16   data_offset
 offset relative to ip hdr More...
 
      u16   data_len
 data len More...
 
      u8   subconn_idx
 index of the sub_connection being used More...
 
      u8   flags
 
   }   sctp
 
   struct {
      u32   flags
 
   }   snat
 
   u32   unused [6]
 
}; 
 

Detailed Description

Definition at line 111 of file buffer.h.

Field Documentation

union { ... }
u32 vnet_buffer_opaque_t::ack_number

Definition at line 321 of file buffer.h.

u32 vnet_buffer_opaque_t::adj_index[VLIB_N_RX_TX]

Definition at line 128 of file buffer.h.

u8 vnet_buffer_opaque_t::bd_age

Definition at line 220 of file buffer.h.

u16 vnet_buffer_opaque_t::bd_index

Definition at line 216 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::bier
u16 vnet_buffer_opaque_t::buffer_advance

Definition at line 312 of file buffer.h.

u16 vnet_buffer_opaque_t::checksum_offset

Definition at line 280 of file buffer.h.

u8 vnet_buffer_opaque_t::code

Definition at line 158 of file buffer.h.

u32 vnet_buffer_opaque_t::connection_index

Definition at line 318 of file buffer.h.

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

Definition at line 298 of file buffer.h.

u32 vnet_buffer_opaque_t::daddr

Definition at line 275 of file buffer.h.

u32 vnet_buffer_opaque_t::data

Definition at line 159 of file buffer.h.

u16 vnet_buffer_opaque_t::data_len

data len

Definition at line 324 of file buffer.h.

u16 vnet_buffer_opaque_t::data_offset

offset relative to ip hdr

Definition at line 323 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::device_input_feat
u8 vnet_buffer_opaque_t::dont_waste_me

Definition at line 118 of file buffer.h.

u16 vnet_buffer_opaque_t::estimated_mtu

Definition at line 170 of file buffer.h.

u8 vnet_buffer_opaque_t::exp

Definition at line 197 of file buffer.h.

u8 vnet_buffer_opaque_t::feature_arc_index

Definition at line 117 of file buffer.h.

u32 vnet_buffer_opaque_t::feature_bitmap

Definition at line 215 of file buffer.h.

u32 vnet_buffer_opaque_t::fib_index

Definition at line 144 of file buffer.h.

u8 vnet_buffer_opaque_t::first

Definition at line 198 of file buffer.h.

u32 vnet_buffer_opaque_t::flags

Definition at line 259 of file buffer.h.

u8 vnet_buffer_opaque_t::flags

Definition at line 291 of file buffer.h.

u32 vnet_buffer_opaque_t::flow_hash

Definition at line 136 of file buffer.h.

u16 vnet_buffer_opaque_t::frag_offset

Definition at line 276 of file buffer.h.

u16 vnet_buffer_opaque_t::fragment_first

Definition at line 175 of file buffer.h.

u16 vnet_buffer_opaque_t::fragment_last

Definition at line 176 of file buffer.h.

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

Definition at line 240 of file buffer.h.

u16 vnet_buffer_opaque_t::hdr_offset

offset relative to ip hdr

Definition at line 322 of file buffer.h.

u16 vnet_buffer_opaque_t::header_offset

Definition at line 288 of file buffer.h.

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

Definition at line 253 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ip
u16 vnet_buffer_opaque_t::ip6_frag_hdr_offset

Definition at line 180 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ip_frag
struct { ... } vnet_buffer_opaque_t::ipsec
struct { ... } ::opaque_l2 vnet_buffer_opaque_t::l2
struct { ... } vnet_buffer_opaque_t::l2_classify
i16 vnet_buffer_opaque_t::l2_hdr_offset

Definition at line 114 of file buffer.h.

u8 vnet_buffer_opaque_t::l2_len

Definition at line 217 of file buffer.h.

u16 vnet_buffer_opaque_t::l2fib_sn

Definition at line 219 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::l2t
i16 vnet_buffer_opaque_t::l3_hdr_offset

Definition at line 115 of file buffer.h.

i16 vnet_buffer_opaque_t::l4_hdr_offset

Definition at line 116 of file buffer.h.

u16 vnet_buffer_opaque_t::l4_offset

Definition at line 277 of file buffer.h.

u8 vnet_buffer_opaque_t::l4_protocol

Definition at line 278 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 272 of file buffer.h.

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

Definition at line 266 of file buffer.h.

u8 vnet_buffer_opaque_t::n_bytes

Definition at line 208 of file buffer.h.

u32 vnet_buffer_opaque_t::next_index

Definition at line 169 of file buffer.h.

u8 vnet_buffer_opaque_t::next_index

Definition at line 227 of file buffer.h.

u32 vnet_buffer_opaque_t::next_range_bi

Definition at line 179 of file buffer.h.

u32 vnet_buffer_opaque_t::opaque_index

Definition at line 238 of file buffer.h.

u16 vnet_buffer_opaque_t::overlay_afi

Definition at line 305 of file buffer.h.

u32 vnet_buffer_opaque_t::pad[2]

Definition at line 165 of file buffer.h.

struct opaque_l2 vnet_buffer_opaque_t::pad

Definition at line 234 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::policer
u16 vnet_buffer_opaque_t::range_first

Definition at line 177 of file buffer.h.

u16 vnet_buffer_opaque_t::range_last

Definition at line 178 of file buffer.h.

union { ... } vnet_buffer_opaque_t::reass
u32 vnet_buffer_opaque_t::rpf_id

Definition at line 151 of file buffer.h.

u32 vnet_buffer_opaque_t::sad_index

Definition at line 260 of file buffer.h.

u32 vnet_buffer_opaque_t::saddr

Definition at line 275 of file buffer.h.

u32 vnet_buffer_opaque_t::save_protocol

Definition at line 141 of file buffer.h.

u32 vnet_buffer_opaque_t::save_rewrite_length

Definition at line 148 of file buffer.h.

u32 vnet_buffer_opaque_t::saved_next_index

saved by drivers for short-cut

Definition at line 311 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::sctp
u32 vnet_buffer_opaque_t::seq_end

Definition at line 320 of file buffer.h.

u32 vnet_buffer_opaque_t::seq_number

Definition at line 319 of file buffer.h.

u32 vnet_buffer_opaque_t::session_index

Definition at line 228 of file buffer.h.

u8 vnet_buffer_opaque_t::shg

Definition at line 218 of file buffer.h.

u16 vnet_buffer_opaque_t::sid

Stream ID.

Definition at line 332 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::snat
u16 vnet_buffer_opaque_t::ssn

Stream Sequence Number.

Definition at line 333 of file buffer.h.

u8 vnet_buffer_opaque_t::subconn_idx

index of the sub_connection being used

Definition at line 338 of file buffer.h.

u32 vnet_buffer_opaque_t::sw_if_index[VLIB_N_RX_TX]

Definition at line 113 of file buffer.h.

u32 vnet_buffer_opaque_t::table_index

Definition at line 237 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::tcp
u32 vnet_buffer_opaque_t::tsn

Transmission Sequence Number.

Definition at line 334 of file buffer.h.

u8 vnet_buffer_opaque_t::ttl

Definition at line 196 of file buffer.h.

u8 vnet_buffer_opaque_t::type

Definition at line 157 of file buffer.h.

u32 vnet_buffer_opaque_t::unused[6]

Definition at line 348 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::v6

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