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

#include </opt/mellanox/doca/applications/common/packet_parser.h>

Data Fields

size_t len
 
uint8_t ip_version
 
uint8_t next_proto
 
bool frag
 
union {
   struct rte_ipv4_hdr *   ipv4_hdr
 
   struct {
      struct rte_ipv6_hdr *   hdr
 
      struct rte_ipv6_fragment_ext *   frag_ext
 
   }   ipv6
 
}; 
 

Detailed Description

Definition at line 48 of file packet_parser.h.

Field Documentation

◆ 

union { ... }

◆ frag

bool network_parser_ctx::frag

Definition at line 52 of file packet_parser.h.

◆ frag_ext

struct rte_ipv6_fragment_ext* network_parser_ctx::frag_ext

Definition at line 57 of file packet_parser.h.

◆ hdr

struct rte_ipv6_hdr* network_parser_ctx::hdr

Definition at line 56 of file packet_parser.h.

◆ ip_version

uint8_t network_parser_ctx::ip_version

Definition at line 50 of file packet_parser.h.

◆ ipv4_hdr

struct rte_ipv4_hdr* network_parser_ctx::ipv4_hdr

Definition at line 54 of file packet_parser.h.

◆ 

struct { ... } network_parser_ctx::ipv6

◆ len

size_t network_parser_ctx::len

Definition at line 49 of file packet_parser.h.

◆ next_proto

uint8_t network_parser_ctx::next_proto

Definition at line 51 of file packet_parser.h.


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