DPDK  2.1.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

Definition at line 93 of file rte_ip.h.

Field Documentation

uint8_t version_ihl

version and header length

Definition at line 94 of file rte_ip.h.

uint8_t type_of_service

type of service

Definition at line 95 of file rte_ip.h.

uint16_t total_length

length of packet

Definition at line 96 of file rte_ip.h.

uint16_t packet_id

packet ID

Definition at line 97 of file rte_ip.h.

uint16_t fragment_offset

fragmentation offset

Definition at line 98 of file rte_ip.h.

uint8_t time_to_live

time to live

Definition at line 99 of file rte_ip.h.

uint8_t next_proto_id

protocol ID

Definition at line 100 of file rte_ip.h.

uint16_t hdr_checksum

header checksum

Definition at line 101 of file rte_ip.h.

uint32_t src_addr

source address

Definition at line 102 of file rte_ip.h.

uint32_t dst_addr

destination address

Definition at line 103 of file rte_ip.h.


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