NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
simple_fwd_pkt_tun_format Struct Reference

#include </opt/mellanox/doca/applications/simple_fwd_vnf/simple_fwd_pkt.h>

Data Fields

bool l2
 
enum doca_flow_tun_type type
 
union {
   struct {
      doca_be32_t   vni
 
   } 
 
   struct {
      doca_be32_t   gre_key
 
      doca_be16_t   proto
 
   } 
 
   struct {
      uint8_t   gtp_msg_type
 
      uint8_t   gtp_flags
 
      doca_be32_t   teid
 
   } 
 
}; 
 

Detailed Description

Packet's tunneling parsing result. points to relevant point in packet and classify it.

Definition at line 59 of file simple_fwd_pkt.h.

Field Documentation

◆ 

union { ... }

◆ gre_key

doca_be32_t simple_fwd_pkt_tun_format::gre_key

Definition at line 69 of file simple_fwd_pkt.h.

◆ gtp_flags

uint8_t simple_fwd_pkt_tun_format::gtp_flags

Definition at line 74 of file simple_fwd_pkt.h.

◆ gtp_msg_type

uint8_t simple_fwd_pkt_tun_format::gtp_msg_type

Definition at line 73 of file simple_fwd_pkt.h.

◆ l2

bool simple_fwd_pkt_tun_format::l2

Definition at line 60 of file simple_fwd_pkt.h.

◆ proto

doca_be16_t simple_fwd_pkt_tun_format::proto

Definition at line 70 of file simple_fwd_pkt.h.

◆ teid

doca_be32_t simple_fwd_pkt_tun_format::teid

Definition at line 75 of file simple_fwd_pkt.h.

◆ type

enum doca_flow_tun_type simple_fwd_pkt_tun_format::type

Definition at line 60 of file simple_fwd_pkt.h.

◆ vni

doca_be32_t simple_fwd_pkt_tun_format::vni

Definition at line 66 of file simple_fwd_pkt.h.


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