KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
ip_hdr_t Struct Reference

IPv4 Packet header. More...

#include <kos/net.h>

Data Fields

uint8 version_ihl
 IP version and header length.
 
uint8 tos
 Type of Service.
 
uint16 length
 Length.
 
uint16 packet_id
 Packet ID.
 
uint16 flags_frag_offs
 Flags and fragment offset.
 
uint8 ttl
 Time to live.
 
uint8 protocol
 IP protocol.
 
uint16 checksum
 IP checksum.
 
uint32 src
 Source IP address.
 
uint32 dest
 Destination IP address.
 

Detailed Description

IPv4 Packet header.

Field Documentation

◆ checksum

uint16 ip_hdr_t::checksum

IP checksum.

◆ dest

uint32 ip_hdr_t::dest

Destination IP address.

◆ flags_frag_offs

uint16 ip_hdr_t::flags_frag_offs

Flags and fragment offset.

◆ length

uint16 ip_hdr_t::length

Length.

◆ packet_id

uint16 ip_hdr_t::packet_id

Packet ID.

◆ protocol

uint8 ip_hdr_t::protocol

IP protocol.

◆ src

uint32 ip_hdr_t::src

Source IP address.

◆ tos

uint8 ip_hdr_t::tos

Type of Service.

◆ ttl

uint8 ip_hdr_t::ttl

Time to live.

◆ version_ihl

uint8 ip_hdr_t::version_ihl

IP version and header length.


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