![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First Version (beta test) raw ethernet
Dependencies: EthernetNetIf mbed
Diff: utils.h
- Revision:
- 0:db9ea2448fdd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/utils.h Mon Jul 09 22:31:28 2012 +0000 @@ -0,0 +1,12 @@ +/* +* +* utils.h functions to work with ethernet frames +* +* +*/ + + +extern "C" void mbed_mac_address(char *mac); +static void set_to_mac(char *peth, char const *pmac); +static void set_from_mac(char *peth, char const *pmac); +static void set_ether_type(char *peth, unsigned ether_type);