AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
icmp_hdr Struct Reference

An ICMP message's header. More...

#include <inet.h>

Data Fields

uint8_t type
uint8_t code
uint16_t checksum
uint16_t id
uint16_t seq

Detailed Description

An ICMP message's header.

Definition at line 68 of file inet.h.

Field Documentation

◆ checksum

uint16_t icmp_hdr::checksum

Definition at line 71 of file inet.h.

Referenced by icmp_input(), icmp_unreachable(), and socket_inet_send().

◆ code

uint8_t icmp_hdr::code

Definition at line 70 of file inet.h.

Referenced by icmp_input(), icmp_unreachable(), icmp_unreachable_input(), and socket_inet_send().

◆ id

uint16_t icmp_hdr::id

Definition at line 72 of file inet.h.

Referenced by icmp_input(), icmp_unreachable(), and socket_inet_send().

◆ seq

uint16_t icmp_hdr::seq

Definition at line 73 of file inet.h.

Referenced by icmp_unreachable().

◆ type

uint8_t icmp_hdr::type

Definition at line 69 of file inet.h.

Referenced by icmp_input(), icmp_unreachable(), and socket_inet_send().


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