1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

net: ETH_ALEN as alias for ETHERNET_ADDR_LEN

This commit is contained in:
Oleg Hahm 2015-12-06 13:15:08 +01:00
parent 796cb58a8a
commit 666b347eeb

View File

@ -32,6 +32,12 @@ extern "C" {
#define ETHERNET_ADDR_LEN (6) /**< Length of an Ethernet address */
#ifndef ETH_ALEN
#define ETH_ALEN ETHERNET_ADDR_LEN /**< convenient alias for @ref
ETHERNET_ADDR_LEN to comply with
*NIX code */
#endif
/**
* @brief Ethernet header
*/