Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

icmp_echo_hdr Struct Reference

icmp_echo_hdr Struct Reference

This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it. More...

#include <icmp.h>


Detailed Description

This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it.

This header is also used for other ICMP types that do not use the data part.

Definition at line 87 of file icmp.h.