DPDK  20.05.0
Data Fields
rte_ipv4_hdr Struct Reference

#include <rte_ip.h>

Data Fields

uint8_t version_ihl
 
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
 

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/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_lpm.c, examples/performance-thread/l3fwd-thread/main.c, examples/server_node_efd/node/node.c, examples/server_node_efd/server/main.c, examples/tep_termination/vxlan.c, examples/tep_termination/vxlan_setup.c, and examples/vhost/main.c.

Definition at line 33 of file rte_ip.h.

Field Documentation

uint8_t version_ihl
uint8_t type_of_service

type of service

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 35 of file rte_ip.h.

rte_be16_t total_length
rte_be16_t packet_id

packet ID

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 37 of file rte_ip.h.

rte_be16_t fragment_offset

fragmentation offset

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 38 of file rte_ip.h.

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

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