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.
ethernet.h File Reference
Ethernet frame header. More...
Go to the source code of this file.
Data Structures | |
| struct | Ethernet_MAC |
| Ethernet MAC address memory map. More... | |
| struct | Ethernet_FrameHeader |
| Ethernet II Frame Header Memory map. More... | |
Functions | |
| void | fix_endian_ethernet (Ethernet_FrameHeader *header) |
| Convert from wire to host or host to wire endian-ness. | |
| void | print_ethernet (Ethernet_FrameHeader *frame) |
| Print out an ethernet packet. | |
Detailed Description
Ethernet frame header.
This file contains the memory map and associated functions for Ethernet frame header creation and deconstruction.
Definition in file ethernet.h.
Function Documentation
| void fix_endian_ethernet | ( | Ethernet_FrameHeader * | header ) |
Convert from wire to host or host to wire endian-ness.
Definition at line 33 of file ethernet.h.
| void print_ethernet | ( | Ethernet_FrameHeader * | frame ) |
Print out an ethernet packet.
Definition at line 39 of file ethernet.h.
Generated on Tue Jul 12 2022 11:59:40 by
1.7.2