_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 252 of file ipv4.h.

Field Documentation

◆ destAddr

Ipv4Addr destAddr

Definition at line 269 of file ipv4.h.

◆ fragmentOffset

uint16_t fragmentOffset

Definition at line 264 of file ipv4.h.

◆ headerChecksum

uint16_t headerChecksum

Definition at line 267 of file ipv4.h.

◆ headerLength

uint8_t headerLength

Definition at line 258 of file ipv4.h.

◆ identification

uint16_t identification

Definition at line 263 of file ipv4.h.

◆ options

uint8_t options[]

Definition at line 270 of file ipv4.h.

◆ protocol

uint8_t protocol

Definition at line 266 of file ipv4.h.

◆ srcAddr

Ipv4Addr srcAddr

Definition at line 268 of file ipv4.h.

◆ timeToLive

uint8_t timeToLive

Definition at line 265 of file ipv4.h.

◆ totalLength

uint16_t totalLength

Definition at line 262 of file ipv4.h.

◆ typeOfService

uint8_t typeOfService

Definition at line 261 of file ipv4.h.

◆ version

uint8_t version

Definition at line 259 of file ipv4.h.


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