This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

ICMP_Packet Struct Reference

ICMP_Packet Struct Reference

ICMP packet memory map. More...

#include <icmp.h>

Data Fields

u8 type
 type of ICMP message
u8 code
 code number associated with certain message types
u16 id
 ID value, returned in ECHO REPLY.
u16 sequence
 Sequence value to be returned with ECHO REPLY.
u8 data []
 Data memory map.

Detailed Description

ICMP packet memory map.

Definition at line 19 of file icmp.h.


Field Documentation

code number associated with certain message types

Definition at line 21 of file icmp.h.

u8 data[]

Data memory map.

Definition at line 25 of file icmp.h.

ID value, returned in ECHO REPLY.

Definition at line 23 of file icmp.h.

Sequence value to be returned with ECHO REPLY.

Definition at line 24 of file icmp.h.

type of ICMP message

Definition at line 20 of file icmp.h.