KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
ip_hdr_s Struct Reference

IPv4 Packet header. More...

#include <kos/net.h>

Data Fields

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

Detailed Description

IPv4 Packet header.

Field Documentation

uint16 ip_hdr_s::checksum

IP checksum.

uint32 ip_hdr_s::dest

Destination IP address.

uint16 ip_hdr_s::flags_frag_offs

Flags and fragment offset.

uint16 ip_hdr_s::length

Length.

uint16 ip_hdr_s::packet_id

Packet ID.

uint8 ip_hdr_s::protocol

IP protocol.

uint32 ip_hdr_s::src

Source IP address.

uint8 ip_hdr_s::tos

Type of Service.

uint8 ip_hdr_s::ttl

Time to live.

uint8 ip_hdr_s::version_ihl

IP version and header length.


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