_Ipv4Header Struct Reference

IPv4 header. More...

#include <ipv4.h>

Data Fields

uint8_t headerLength: 4
 
uint8_t version: 4
 
uint8_t typeOfService
 
uint16_t totalLength
 
uint16_t identification
 
uint16_t fragmentOffset
 
uint8_t timeToLive
 
uint8_t protocol
 
uint16_t headerChecksum
 
Ipv4Addr srcAddr
 
Ipv4Addr destAddr
 
uint8_t options []
 

Detailed Description

IPv4 header.

Definition at line 281 of file ipv4.h.

Field Documentation

◆ destAddr

Ipv4Addr destAddr

Definition at line 298 of file ipv4.h.

◆ fragmentOffset

uint16_t fragmentOffset

Definition at line 293 of file ipv4.h.

◆ headerChecksum

uint16_t headerChecksum

Definition at line 296 of file ipv4.h.

◆ headerLength

uint8_t headerLength

Definition at line 287 of file ipv4.h.

◆ identification

uint16_t identification

Definition at line 292 of file ipv4.h.

◆ options

uint8_t options[]

Definition at line 299 of file ipv4.h.

◆ protocol

uint8_t protocol

Definition at line 295 of file ipv4.h.

◆ srcAddr

Ipv4Addr srcAddr

Definition at line 297 of file ipv4.h.

◆ timeToLive

uint8_t timeToLive

Definition at line 294 of file ipv4.h.

◆ totalLength

uint16_t totalLength

Definition at line 291 of file ipv4.h.

◆ typeOfService

uint8_t typeOfService

Definition at line 290 of file ipv4.h.

◆ version

uint8_t version

Definition at line 288 of file ipv4.h.


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