Scroll to navigation

rte_ipv4_hdr(3) DPDK rte_ipv4_hdr(3)

NAME

rte_ipv4_hdr

SYNOPSIS

#include <rte_ip.h>

Data Fields


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
uint8_t version_ihl
uint8_t ihl:4
uint8_t version:4

Detailed Description

IPv4 Header

Definition at line 41 of file rte_ip.h.

Field Documentation

uint8_t version_ihl

version and header length

Definition at line 44 of file rte_ip.h.

uint8_t ihl

header length

Definition at line 47 of file rte_ip.h.

uint8_t version

version

Definition at line 48 of file rte_ip.h.

uint8_t type_of_service

type of service

Definition at line 55 of file rte_ip.h.

rte_be16_t total_length

length of packet

Definition at line 56 of file rte_ip.h.

rte_be16_t packet_id

packet ID

Definition at line 57 of file rte_ip.h.

rte_be16_t fragment_offset

fragmentation offset

Definition at line 58 of file rte_ip.h.

uint8_t time_to_live

time to live

Definition at line 59 of file rte_ip.h.

uint8_t next_proto_id

protocol ID

Definition at line 60 of file rte_ip.h.

rte_be16_t hdr_checksum

header checksum

Definition at line 61 of file rte_ip.h.

rte_be32_t src_addr

source address

Definition at line 62 of file rte_ip.h.

rte_be32_t dst_addr

destination address

Definition at line 63 of file rte_ip.h.

Author

Generated automatically by Doxygen for DPDK from the source code.

Fri Dec 15 2023 Version 23.11.0