common: Add definition for ETH_HLEN

Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
This commit is contained in:
Kyeyoon Park 2014-09-24 23:17:29 -07:00 committed by Jouni Malinen
parent 7565752d47
commit 6897556455

View file

@ -329,6 +329,9 @@ static inline void WPA_PUT_LE64(u8 *a, u64 val)
#ifndef ETH_ALEN #ifndef ETH_ALEN
#define ETH_ALEN 6 #define ETH_ALEN 6
#endif #endif
#ifndef ETH_HLEN
#define ETH_HLEN 14
#endif
#ifndef IFNAMSIZ #ifndef IFNAMSIZ
#define IFNAMSIZ 16 #define IFNAMSIZ 16
#endif #endif