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.
ip.h File Reference
IP Packet header. More...
Go to the source code of this file.
Data Structures | |
| struct | IP_Address |
| IP Address memory map. More... | |
| struct | IP_PacketHeader |
| IP Packet memory map. More... | |
Functions | |
| void | fix_endian_ip (IP_PacketHeader *packet) |
| Convert from wire to host or host to wire endianness. | |
| const char * | ipproto2name (u8 proto) |
| Get a constant string of the given IP protocol (e.g. "ICMP", "TCP", "UDP") if known. | |
| void | print_ip (IP_PacketHeader *packet) |
| Print the IP packet. | |
| void | str2ipaddr (const char *ip, IP_Address *addr) |
| Parse the string (in decimal triple-dot notation) into the IP address structure. | |
Detailed Description
IP Packet header.
This file contains the memory map and associated functions for IP packet header creation and deconstruction.
Definition in file ip.h.
Function Documentation
| void fix_endian_ip | ( | IP_PacketHeader * | packet ) |
| const char* ipproto2name | ( | u8 | proto ) |
| void print_ip | ( | IP_PacketHeader * | packet ) |
| void str2ipaddr | ( | const char * | ip, |
| IP_Address * | addr | ||
| ) |
Generated on Tue Jul 12 2022 11:59:40 by
1.7.2