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.h File Reference

icmp.h File Reference

ICMP frame header. More...

Go to the source code of this file.

Data Structures

struct  ICMP_Packet
 ICMP packet memory map. More...

Functions

void fix_endian_icmp (ICMP_Packet *segment)
 Convert from wire to host or host to wire endianness.
void print_icmp (ICMP_Packet *segment)
 Print the ICMP packet.

Detailed Description

ICMP frame header.

This file contains the memory map and associated functions for ICMP packet creation and deconstruction.

Definition in file icmp.h.


Function Documentation

void fix_endian_icmp ( ICMP_Packet segment )

Convert from wire to host or host to wire endianness.

Definition at line 29 of file icmp.h.

void print_icmp ( ICMP_Packet segment )

Print the ICMP packet.

Definition at line 37 of file icmp.h.