MAC address conversion functions. More...
Functions | |
| uint8_t * | ether_aton (const char *str) |
| Convert an ASCII string to a binary Ethernet address. | |
| char * | ether_ntoa (const uint8_t *mac) |
| Convert a binary Ethernet address to an ASCII string. | |
MAC address conversion functions.
* $Id: ether_addr.c 4473 2012-08-20 15:12:45Z haraldkipp $ *
| uint8_t* ether_aton | ( | const char * | str | ) |
Convert an ASCII string to a binary Ethernet address.
| str | String to convert. |
References memset(), and NULL.
Referenced by main().
| char* ether_ntoa | ( | const uint8_t * | mac | ) |
Convert a binary Ethernet address to an ASCII string.
| mac | Address to convert. |
Referenced by main().