DPDK 21.11.9
Data Fields
rte_ipv4_hdr Struct Reference

#include <rte_ip.h>

Data Fields

uint8_t type_of_service
 
rte_be16_t total_length
 
rte_be16_t packet_id
 
rte_be16_t fragment_offset
 
uint8_t time_to_live
 
uint8_t next_proto_id
 
rte_be16_t hdr_checksum
 
rte_be32_t src_addr
 
rte_be32_t dst_addr
 
uint8_t version_ihl
 
uint8_t ihl:4
 
uint8_t version:4
 

Detailed Description

IPv4 Header

Examples
examples/bond/main.c, examples/flow_classify/flow_classify.c, 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/sa.c, examples/ipv4_multicast/main.c, examples/l2fwd-crypto/main.c, examples/l3fwd-acl/main.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_em.c, examples/l3fwd/l3fwd_fib.c, examples/l3fwd/l3fwd_lpm.c, examples/performance-thread/l3fwd-thread/main.c, examples/server_node_efd/node/node.c, examples/server_node_efd/server/main.c, and examples/vhost/main.c.

Definition at line 41 of file rte_ip.h.

Field Documentation

◆ version_ihl

uint8_t version_ihl

◆ ihl

uint8_t ihl

header length

Definition at line 47 of file rte_ip.h.

◆ version

uint8_t version

version

Definition at line 48 of file rte_ip.h.

◆ type_of_service

uint8_t type_of_service

type of service

Definition at line 55 of file rte_ip.h.

◆ total_length

rte_be16_t total_length

◆ packet_id

rte_be16_t packet_id

packet ID

Definition at line 57 of file rte_ip.h.

◆ fragment_offset

rte_be16_t fragment_offset

fragmentation offset

Definition at line 58 of file rte_ip.h.

◆ time_to_live

uint8_t time_to_live

◆ next_proto_id

uint8_t next_proto_id

◆ hdr_checksum

rte_be16_t hdr_checksum

◆ src_addr

rte_be32_t src_addr

◆ dst_addr

rte_be32_t dst_addr

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