DPDK  19.08.0-rc0
Data Fields
rte_ipv4_hdr Struct Reference

#include <rte_ip.h>

Data Fields

uint8_t version_ihl
 
uint8_t type_of_service
 
uint16_t total_length
 
uint16_t packet_id
 
uint16_t fragment_offset
 
uint8_t time_to_live
 
uint8_t next_proto_id
 
uint16_t hdr_checksum
 
uint32_t src_addr
 
uint32_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-vf/main.c, examples/l3fwd/l3fwd_em.c, examples/l3fwd/l3fwd_lpm.c, examples/load_balancer/runtime.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 31 of file rte_ip.h.

Field Documentation

◆ version_ihl

uint8_t version_ihl

◆ type_of_service

uint8_t type_of_service

type of service

Examples
examples/tep_termination/vxlan_setup.c.

Definition at line 33 of file rte_ip.h.

◆ total_length

uint16_t total_length

◆ packet_id

uint16_t packet_id

packet ID

Examples
examples/tep_termination/vxlan_setup.c.

Definition at line 35 of file rte_ip.h.

◆ fragment_offset

uint16_t fragment_offset

fragmentation offset

Examples
examples/tep_termination/vxlan_setup.c.

Definition at line 36 of file rte_ip.h.

◆ time_to_live

uint8_t time_to_live

◆ next_proto_id

uint8_t next_proto_id

◆ hdr_checksum

uint16_t hdr_checksum

◆ src_addr

uint32_t src_addr

◆ dst_addr

uint32_t dst_addr

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