Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::net::ICMPHeader Struct Reference

The header of an ICMP packet. More...

#include <icmp.h>

Public Attributes

uint8_t type
 The type of ICMP message.
 
uint8_t code
 The code of the ICMP message.
 
uint16_t checksum
 checksum to verify integrity
 
uint32_t data
 Payload data (Varies by type and code)
 

Detailed Description

The header of an ICMP packet.

Definition at line 27 of file icmp.h.

Member Data Documentation

◆ checksum

uint16_t MaxOS::net::ICMPHeader::checksum

checksum to verify integrity

Definition at line 32 of file icmp.h.

◆ code

uint8_t MaxOS::net::ICMPHeader::code

The code of the ICMP message.

Definition at line 30 of file icmp.h.

◆ data

uint32_t MaxOS::net::ICMPHeader::data

Payload data (Varies by type and code)

Definition at line 33 of file icmp.h.

◆ type

uint8_t MaxOS::net::ICMPHeader::type

The type of ICMP message.

Definition at line 29 of file icmp.h.


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