DPDK  24.11.0-rc1
Data Fields
rte_ipv6_hdr Struct Reference

#include <rte_ip6.h>

Data Fields

rte_be16_t payload_len
 
uint8_t proto
 
uint8_t hop_limits
 
struct rte_ipv6_addr src_addr
 
struct rte_ipv6_addr dst_addr
 
rte_be32_t vtc_flow
 
uint32_t flow_label:20
 
uint32_t ecn:2
 
uint32_t ds:6
 
uint32_t version:4
 

Detailed Description

IPv6 Header

Examples:
examples/ip_fragmentation/main.c, examples/ip_pipeline/pipeline.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/flow.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec_worker.c, examples/ipsec-secgw/sa.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_acl.c, examples/l3fwd/l3fwd_em.c, examples/l3fwd/l3fwd_fib.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 463 of file rte_ip6.h.

Field Documentation

◆ vtc_flow

rte_be32_t vtc_flow

IP version, traffic class & flow label.

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 465 of file rte_ip6.h.

◆ flow_label

uint32_t flow_label

Flow label

Definition at line 469 of file rte_ip6.h.

◆ ecn

uint32_t ecn

ECN

Definition at line 470 of file rte_ip6.h.

◆ ds

uint32_t ds

Differentiated services

Definition at line 471 of file rte_ip6.h.

◆ version

uint32_t version

Version

Definition at line 472 of file rte_ip6.h.

◆ payload_len

rte_be16_t payload_len

IP payload size, including ext. headers

Definition at line 481 of file rte_ip6.h.

◆ proto

uint8_t proto

◆ hop_limits

uint8_t hop_limits

Hop limits.

Definition at line 483 of file rte_ip6.h.

◆ src_addr

struct rte_ipv6_addr src_addr

IP address of source host.

Examples:
examples/ipsec-secgw/flow.c, examples/ipsec-secgw/sa.c, examples/l3fwd-power/main.c, and examples/l3fwd/l3fwd_acl.c.

Definition at line 484 of file rte_ip6.h.

◆ dst_addr

struct rte_ipv6_addr dst_addr

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