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

doca flow tunnel information More...

#include <doca_flow_net.h>

Collaboration diagram for doca_flow_tun:

Data Fields

enum doca_flow_tun_type type
 
union {
   struct {
      enum doca_flow_tun_ext_vxlan_type   vxlan_type
 
      union {
         struct {
            uint8_t   vxlan_gpe_flags
 
            uint8_t   vxlan_gpe_next_protocol
 
         } 
 
         struct {
            doca_be16_t   vxlan_gbp_group_policy_id
 
         } 
 
      } 
 
      doca_be32_t   vxlan_tun_id
 
      uint8_t   vxlan_tun_rsvd1
 
   } 
 
   struct {
      enum doca_flow_tun_ext_gre_type   gre_type
 
      doca_be16_t   protocol
 
      union {
         struct {
            bool   key_present
 
            doca_be32_t   gre_key
 
         } 
 
         struct {
            doca_be32_t   nvgre_vs_id
 
            uint8_t   nvgre_flow_id
 
         } 
 
      } 
 
   } 
 
   struct {
      doca_be32_t   gtp_teid
 
      uint8_t   gtp_next_ext_hdr_type
 
      uint8_t   gtp_ext_psc_qfi
 
   } 
 
   struct {
      doca_be32_t   esp_spi
 
      doca_be32_t   esp_sn
 
   } 
 
   struct {
      struct doca_flow_header_mpls   mpls [DOCA_FLOW_MPLS_LABELS_MAX]
 
   } 
 
   struct {
      struct doca_flow_header_geneve   geneve
 
      union doca_flow_geneve_option   geneve_options [DOCA_FLOW_GENEVE_OPT_LEN_MAX]
 
   } 
 
   struct {
      struct doca_flow_header_psp   psp
 
   } 
 
}; 
 

Detailed Description

doca flow tunnel information

Definition at line 470 of file doca_flow_net.h.

Field Documentation

◆ 

union { ... }

◆ esp_sn

doca_be32_t doca_flow_tun::esp_sn

ipsec sequence number

Definition at line 527 of file doca_flow_net.h.

◆ esp_spi

doca_be32_t doca_flow_tun::esp_spi

ipsec session parameter index

Definition at line 525 of file doca_flow_net.h.

◆ geneve

struct doca_flow_header_geneve doca_flow_tun::geneve

geneve header

Definition at line 527 of file doca_flow_net.h.

◆ geneve_options

union doca_flow_geneve_option doca_flow_tun::geneve_options[DOCA_FLOW_GENEVE_OPT_LEN_MAX]

geneve options as array of doca_be32_t

Definition at line 527 of file doca_flow_net.h.

◆ gre_key

doca_be32_t doca_flow_tun::gre_key

gre key

Definition at line 503 of file doca_flow_net.h.

◆ gre_type

enum doca_flow_tun_ext_gre_type doca_flow_tun::gre_type

Definition at line 485 of file doca_flow_net.h.

◆ gtp_ext_psc_qfi

uint8_t doca_flow_tun::gtp_ext_psc_qfi

gtp PSC extension: QoS flow identifier

Definition at line 520 of file doca_flow_net.h.

◆ gtp_next_ext_hdr_type

uint8_t doca_flow_tun::gtp_next_ext_hdr_type

gtp next extension header type

Definition at line 518 of file doca_flow_net.h.

◆ gtp_teid

doca_be32_t doca_flow_tun::gtp_teid

gtp teid

Definition at line 516 of file doca_flow_net.h.

◆ key_present

bool doca_flow_tun::key_present

gre key is present

Definition at line 501 of file doca_flow_net.h.

◆ mpls

struct doca_flow_header_mpls doca_flow_tun::mpls[DOCA_FLOW_MPLS_LABELS_MAX]

mpls labels

Definition at line 527 of file doca_flow_net.h.

◆ nvgre_flow_id

uint8_t doca_flow_tun::nvgre_flow_id

nvgre flow id.

Definition at line 509 of file doca_flow_net.h.

◆ nvgre_vs_id

doca_be32_t doca_flow_tun::nvgre_vs_id

nvgre virtual subnet id(24) + reserved (8).

Definition at line 507 of file doca_flow_net.h.

◆ protocol

doca_be16_t doca_flow_tun::protocol

next protocol

Definition at line 497 of file doca_flow_net.h.

◆ psp

struct doca_flow_header_psp doca_flow_tun::psp

Definition at line 527 of file doca_flow_net.h.

◆ type

enum doca_flow_tun_type doca_flow_tun::type

tunnel type

Definition at line 415 of file doca_flow_net.h.

◆ vxlan_gbp_group_policy_id

doca_be16_t doca_flow_tun::vxlan_gbp_group_policy_id

vxlan gbp group policy id

Definition at line 485 of file doca_flow_net.h.

◆ vxlan_gpe_flags

uint8_t doca_flow_tun::vxlan_gpe_flags

vxlan gpe flags.

Definition at line 479 of file doca_flow_net.h.

◆ vxlan_gpe_next_protocol

uint8_t doca_flow_tun::vxlan_gpe_next_protocol

vxlan gpe next protocol

Definition at line 481 of file doca_flow_net.h.

◆ vxlan_tun_id

doca_be32_t doca_flow_tun::vxlan_tun_id

vxlan vni(24).

Definition at line 489 of file doca_flow_net.h.

◆ vxlan_tun_rsvd1

uint8_t doca_flow_tun::vxlan_tun_rsvd1

vxlan last reserved byte.

Definition at line 491 of file doca_flow_net.h.

◆ vxlan_type

enum doca_flow_tun_ext_vxlan_type doca_flow_tun::vxlan_type

vxlan ext-type, standard, gpe, gbp

Definition at line 415 of file doca_flow_net.h.


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