DPDK  16.04.0
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:
bond/main.c, dpdk_qat/main.c, ip_fragmentation/main.c, ip_pipeline/config_check.c, ip_pipeline/pipeline/pipeline_firewall_be.c, ip_pipeline/pipeline/pipeline_flow_actions_be.c, ip_pipeline/pipeline/pipeline_routing_be.c, ip_reassembly/main.c, ipv4_multicast/main.c, l2fwd-crypto/main.c, l3fwd-acl/main.c, l3fwd-power/main.c, l3fwd-vf/main.c, load_balancer/runtime.c, performance-thread/l3fwd-thread/main.c, tep_termination/vxlan.c, tep_termination/vxlan_setup.c, and vhost/main.c.

Definition at line 93 of file rte_ip.h.

Field Documentation

uint8_t version_ihl
uint8_t type_of_service
uint16_t total_length
uint16_t packet_id

packet ID

Examples:
tep_termination/vxlan_setup.c.

Definition at line 97 of file rte_ip.h.

uint16_t fragment_offset

fragmentation offset

Examples:
tep_termination/vxlan_setup.c.

Definition at line 98 of file rte_ip.h.

uint8_t time_to_live
uint8_t next_proto_id

protocol ID

Examples:
l3fwd-power/main.c, l3fwd-vf/main.c, tep_termination/vxlan.c, and tep_termination/vxlan_setup.c.

Definition at line 100 of file rte_ip.h.

uint16_t hdr_checksum
uint32_t src_addr
uint32_t dst_addr

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