DPDK  18.11.11
Data Fields
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/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 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.

uint16_t total_length
uint16_t packet_id

packet ID

Examples:
examples/tep_termination/vxlan_setup.c.

Definition at line 37 of file rte_ip.h.

uint16_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
uint16_t hdr_checksum
uint32_t src_addr
uint32_t dst_addr

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