FD.io VPP  v16.09
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
 
         } 
 
         struct {
            u32   listener_index
 
            u32   established_connection_index
 
            u32   mini_connection_index
 
            u32   transmit_stamp
 
         }   tcp
 
         struct {
            u8   type
 
            u8   code
 
            u32   data
 
         }   icmp
 
      } 
 
   }   ip
 
   struct {
      u32   pad [3]
 
      u32   mcast_group_index
 
      u32   mcast_current_index
 
      u32   original_free_list_index
 
   }   mcast
 
   struct {
      u8   swt_disable
 
      u32   mapping_index
 
   }   swt
 
   struct {
      u32   feature_bitmap
 
      u16   bd_index
 
      u8   l2_len
 
      u8   shg
 
   }   l2
 
   struct {
      u32   pad [4]
 
      u8   next_index
 
      u32   session_index
 
   }   l2t
 
   struct {
      u32   src
 
      u32   dst
 
   }   gre
 
   struct {
      u64   pad
 
      u32   opaque_index
 
      u32   table_index
 
      u64   hash
 
   }   l2_classify
 
   struct {
      u32   next_index
 
   }   handoff
 
   struct {
      u32   pad [8-VLIB_N_RX_TX-1]
 
      u32   index
 
   }   policer
 
   struct {
      u32   ipsec_flags
 
      u32   ipsec_sad_index
 
      u32   unused [3]
 
      u32   bitmap
 
   }   output_features
 
   struct {
      union {
         u32   roddick_info
 
         struct _tx_pkt_info {
            u32   uidb_index:16
 
            u32   packet_type:2
 
            u32   ipv4_defrag:1
 
            u32   dst_ip_port_idx:4
 
            u32   from_node:4
 
            u32   calc_chksum:1
 
            u32   reserved:4
 
         }   tx
 
         struct _rx_pkt_info {
            u32   uidb_index:16
 
            u32   packet_type:2
 
            u32   icmp_type:1
 
            u32   protocol_type:2
 
            u32   ipv4_defrag:1
 
            u32   direction:1
 
            u32   frag:1
 
            u32   option:1
 
            u32   df_bit:1
 
            u32   reserved1:6
 
         }   rx
 
      }   ru
 
      union {
         struct {
            u32   ipv4
 
            u16   port
 
            u16   vrf
 
         }   k
 
         u64   key64
 
      }   key
 
      u32   bucket
 
      u16   ovrf
 
      u8   frag_pkt
 
      u8   vcgn_unused1
 
   }   vcgn_uii
 
   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
 
   u32   unused [6]
 
}; 
 

Detailed Description

Definition at line 97 of file buffer.h.

Field Documentation

union { ... }
u32 vnet_buffer_opaque_t::adj_index[VLIB_N_RX_TX]

Definition at line 116 of file buffer.h.

u16 vnet_buffer_opaque_t::bd_index

Definition at line 172 of file buffer.h.

u32 vnet_buffer_opaque_t::bitmap

Definition at line 218 of file buffer.h.

u32 vnet_buffer_opaque_t::bucket

Definition at line 280 of file buffer.h.

u32 vnet_buffer_opaque_t::calc_chksum

Definition at line 243 of file buffer.h.

u16 vnet_buffer_opaque_t::checksum_offset

Definition at line 304 of file buffer.h.

u8 vnet_buffer_opaque_t::code

Definition at line 146 of file buffer.h.

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

Definition at line 321 of file buffer.h.

u32 vnet_buffer_opaque_t::daddr

Definition at line 299 of file buffer.h.

u32 vnet_buffer_opaque_t::data

Definition at line 147 of file buffer.h.

u32 vnet_buffer_opaque_t::df_bit

Definition at line 262 of file buffer.h.

u32 vnet_buffer_opaque_t::direction

Definition at line 257 of file buffer.h.

u32 vnet_buffer_opaque_t::dst

Definition at line 187 of file buffer.h.

u32 vnet_buffer_opaque_t::dst_ip_port_idx

Definition at line 241 of file buffer.h.

u32 vnet_buffer_opaque_t::established_connection_index

Definition at line 135 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ethernet
u32 vnet_buffer_opaque_t::feature_bitmap

Definition at line 171 of file buffer.h.

u8 vnet_buffer_opaque_t::flags

Definition at line 314 of file buffer.h.

u32 vnet_buffer_opaque_t::flow_hash

Definition at line 124 of file buffer.h.

u32 vnet_buffer_opaque_t::frag

Definition at line 258 of file buffer.h.

u16 vnet_buffer_opaque_t::frag_offset

Definition at line 300 of file buffer.h.

u8 vnet_buffer_opaque_t::frag_pkt

Definition at line 283 of file buffer.h.

u32 vnet_buffer_opaque_t::from_node

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

u16 vnet_buffer_opaque_t::header_offset

Definition at line 311 of file buffer.h.

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

Definition at line 250 of file buffer.h.

u32 vnet_buffer_opaque_t::index

Definition at line 209 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::ip
struct { ... } vnet_buffer_opaque_t::ip_frag
u32 vnet_buffer_opaque_t::ipsec_flags

Definition at line 215 of file buffer.h.

u32 vnet_buffer_opaque_t::ipsec_sad_index

Definition at line 216 of file buffer.h.

u32 vnet_buffer_opaque_t::ipv4

Definition at line 272 of file buffer.h.

u32 vnet_buffer_opaque_t::ipv4_defrag

Definition at line 236 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::k
union { ... } vnet_buffer_opaque_t::key
u64 vnet_buffer_opaque_t::key64

Definition at line 277 of file buffer.h.

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 301 of file buffer.h.

u8 vnet_buffer_opaque_t::l4_protocol

Definition at line 302 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::lisp
u32 vnet_buffer_opaque_t::listener_index

Definition at line 133 of file buffer.h.

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

Definition at line 296 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::mcast
u32 vnet_buffer_opaque_t::mcast_current_index

Definition at line 157 of file buffer.h.

u32 vnet_buffer_opaque_t::mcast_group_index

Definition at line 156 of file buffer.h.

u32 vnet_buffer_opaque_t::mini_connection_index

Definition at line 137 of file buffer.h.

u16 vnet_buffer_opaque_t::mtu

Definition at line 290 of file buffer.h.

u8 vnet_buffer_opaque_t::next_index

Definition at line 181 of file buffer.h.

u32 vnet_buffer_opaque_t::next_index

Definition at line 202 of file buffer.h.

u32 vnet_buffer_opaque_t::opaque_index

Definition at line 194 of file buffer.h.

u32 vnet_buffer_opaque_t::option

Definition at line 259 of file buffer.h.

u32 vnet_buffer_opaque_t::original_free_list_index

Definition at line 158 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::output_features
u16 vnet_buffer_opaque_t::overlay_afi

Definition at line 328 of file buffer.h.

u16 vnet_buffer_opaque_t::ovrf

Definition at line 282 of file buffer.h.

u32 vnet_buffer_opaque_t::packet_type

Definition at line 235 of file buffer.h.

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

Definition at line 155 of file buffer.h.

u64 vnet_buffer_opaque_t::pad

Definition at line 193 of file buffer.h.

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

Definition at line 273 of file buffer.h.

u32 vnet_buffer_opaque_t::protocol_type

Definition at line 251 of file buffer.h.

u32 vnet_buffer_opaque_t::reserved

Definition at line 244 of file buffer.h.

u32 vnet_buffer_opaque_t::reserved1

Definition at line 263 of file buffer.h.

u32 vnet_buffer_opaque_t::roddick_info

Definition at line 231 of file buffer.h.

union { ... } vnet_buffer_opaque_t::ru
struct { ... } ::_rx_pkt_info vnet_buffer_opaque_t::rx
u32 vnet_buffer_opaque_t::saddr

Definition at line 299 of file buffer.h.

u32 vnet_buffer_opaque_t::save_protocol

Definition at line 127 of file buffer.h.

u32 vnet_buffer_opaque_t::session_index

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

i32 vnet_buffer_opaque_t::start_of_ethernet_header

Definition at line 107 of file buffer.h.

u32 vnet_buffer_opaque_t::sw_if_index[VLIB_N_RX_TX]

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

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

Definition at line 139 of file buffer.h.

struct { ... } ::_tx_pkt_info vnet_buffer_opaque_t::tx
u8 vnet_buffer_opaque_t::type

Definition at line 145 of file buffer.h.

u32 vnet_buffer_opaque_t::uidb_index

Definition at line 234 of file buffer.h.

u32 vnet_buffer_opaque_t::unused[6]

Definition at line 217 of file buffer.h.

struct { ... } vnet_buffer_opaque_t::v6
struct { ... } vnet_buffer_opaque_t::vcgn_uii
u8 vnet_buffer_opaque_t::vcgn_unused1

Definition at line 284 of file buffer.h.

u16 vnet_buffer_opaque_t::vrf

Definition at line 274 of file buffer.h.


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