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

doca flow packet format More...

#include <doca_flow.h>

Collaboration diagram for doca_flow_header_format:

Data Fields

struct doca_flow_header_eth eth
 
uint16_t l2_valid_headers
 
struct doca_flow_header_eth_vlan eth_vlan [DOCA_FLOW_VLAN_MAX]
 
enum doca_flow_l3_type l3_type
 
union {
   struct doca_flow_header_ip4   ip4
 
   struct doca_flow_header_ip6   ip6
 
}; 
 
enum doca_flow_l4_type_ext l4_type_ext
 
union {
   struct doca_flow_header_icmp   icmp
 
   struct doca_flow_header_udp   udp
 
   struct doca_flow_header_tcp   tcp
 
   struct doca_flow_header_l4_port   transport
 
   struct doca_flow_header_roce_v2   roce_v2
 
}; 
 

Detailed Description

doca flow packet format

Definition at line 439 of file doca_flow.h.

Field Documentation

◆ 

union { ... }

◆ 

union { ... }

◆ eth

struct doca_flow_header_eth doca_flow_header_format::eth

ether head

Definition at line 396 of file doca_flow.h.

◆ eth_vlan

struct doca_flow_header_eth_vlan doca_flow_header_format::eth_vlan[DOCA_FLOW_VLAN_MAX]

vlan header array

Definition at line 442 of file doca_flow.h.

◆ icmp

struct doca_flow_header_icmp doca_flow_header_format::icmp

icmp header

Definition at line 442 of file doca_flow.h.

◆ ip4

struct doca_flow_header_ip4 doca_flow_header_format::ip4

ipv4 head

Definition at line 442 of file doca_flow.h.

◆ ip6

struct doca_flow_header_ip6 doca_flow_header_format::ip6

ipv6 head

Definition at line 442 of file doca_flow.h.

◆ l2_valid_headers

uint16_t doca_flow_header_format::l2_valid_headers

indicate which headers are valid

Definition at line 442 of file doca_flow.h.

◆ l3_type

enum doca_flow_l3_type doca_flow_header_format::l3_type

layer 3 protocol type

Definition at line 442 of file doca_flow.h.

◆ l4_type_ext

enum doca_flow_l4_type_ext doca_flow_header_format::l4_type_ext

l4 layer extend type

Definition at line 442 of file doca_flow.h.

◆ roce_v2

struct doca_flow_header_roce_v2 doca_flow_header_format::roce_v2

ROCEv2 header

Definition at line 442 of file doca_flow.h.

◆ tcp

struct doca_flow_header_tcp doca_flow_header_format::tcp

tcp header

Definition at line 442 of file doca_flow.h.

◆ transport

struct doca_flow_header_l4_port doca_flow_header_format::transport

transport layer source and destination port

Definition at line 442 of file doca_flow.h.

◆ udp

struct doca_flow_header_udp doca_flow_header_format::udp

udp header

Definition at line 442 of file doca_flow.h.


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