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:
parent
796cb58a8a
commit
666b347eeb
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user