Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of webserverBlinky by
Diff: PPP-Blinky/ppp-blinky.h
- Revision:
- 165:c47826d07e0d
- Parent:
- 164:c3de3d212c4b
- Child:
- 167:ff8a2d8beeb1
--- a/PPP-Blinky/ppp-blinky.h Sun Sep 03 18:20:37 2017 +0000 +++ b/PPP-Blinky/ppp-blinky.h Sun Sep 03 19:19:03 2017 +0000 @@ -88,3 +88,13 @@ unsigned int checkSumR : 16; // byte reversed char data [0]; // data area } udpHeaderType; + +/// ICMP header. +typedef struct { + unsigned int type : 8; + unsigned int code : 8; + unsigned int checkSumR : 16; // byte reversed + unsigned int idR : 16; // byte reversed + unsigned int sequenceR : 16; // byte reversed + char data [0]; // data area +} icmpHeaderType;