FreeNOS
Data Fields
IPV4::Header Struct Reference

IP network packet header. More...

#include <IPV4.h>

Data Fields

u8 versionIHL
 Version and header length (IHL) More...
 
u8 typeOfService
 
u16 length
 
u16 identification
 
u16 fragmentOffset
 
u8 timeToLive
 
u8 protocol
 
u16 checksum
 
Address source
 
Address destination
 

Detailed Description

IP network packet header.

This header is prepended to every IP packet send on the actual physical link.

Definition at line 66 of file IPV4.h.

Field Documentation

◆ checksum

u16 IPV4::Header::checksum

Definition at line 75 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ destination

Address IPV4::Header::destination

Definition at line 77 of file IPV4.h.

Referenced by UDP::checksum(), IPV4::getTransmitPacket(), and IPV4::process().

◆ fragmentOffset

u16 IPV4::Header::fragmentOffset

Definition at line 72 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ identification

u16 IPV4::Header::identification

Definition at line 71 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ length

u16 IPV4::Header::length

Definition at line 70 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ protocol

u8 IPV4::Header::protocol

Definition at line 74 of file IPV4.h.

Referenced by IPV4::getTransmitPacket(), and IPV4::process().

◆ source

Address IPV4::Header::source

Definition at line 76 of file IPV4.h.

Referenced by UDP::checksum(), IPV4::getTransmitPacket(), ICMP::process(), and UDPSocket::read().

◆ timeToLive

u8 IPV4::Header::timeToLive

Definition at line 73 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ typeOfService

u8 IPV4::Header::typeOfService

Definition at line 69 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().

◆ versionIHL

u8 IPV4::Header::versionIHL

Version and header length (IHL)

Definition at line 68 of file IPV4.h.

Referenced by IPV4::getTransmitPacket().


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