diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-11-23 16:14:39 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-11-23 16:14:39 +0200 |
commit | d994a9b54e0081555dc5af855dcbc6de9f3d27d2 (patch) | |
tree | d34c1bdcb7469700f7ea4b601371aa40dc4270b8 /src/utils | |
parent | c1bb3e0a62cb4f297ae964cb9f0c72f725825489 (diff) | |
download | external_wpa_supplicant_8_ti-d994a9b54e0081555dc5af855dcbc6de9f3d27d2.zip external_wpa_supplicant_8_ti-d994a9b54e0081555dc5af855dcbc6de9f3d27d2.tar.gz external_wpa_supplicant_8_ti-d994a9b54e0081555dc5af855dcbc6de9f3d27d2.tar.bz2 |
Move definitions away from hostapd_defs.h
Clean up definitions to reduce need to include header files from the
hostapd directory into files under the src subdirectories.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/common.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/utils/common.h b/src/utils/common.h index d649391..71cb8d9 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -314,6 +314,24 @@ static inline unsigned int wpa_swap_32(unsigned int v) #ifndef ETH_ALEN #define ETH_ALEN 6 #endif +#ifndef IFNAMSIZ +#define IFNAMSIZ 16 +#endif +#ifndef ETH_P_ALL +#define ETH_P_ALL 0x0003 +#endif +#ifndef ETH_P_PAE +#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ +#endif /* ETH_P_PAE */ +#ifndef ETH_P_EAPOL +#define ETH_P_EAPOL ETH_P_PAE +#endif /* ETH_P_EAPOL */ +#ifndef ETH_P_RSN_PREAUTH +#define ETH_P_RSN_PREAUTH 0x88c7 +#endif /* ETH_P_RSN_PREAUTH */ +#ifndef ETH_P_RRB +#define ETH_P_RRB 0x890D +#endif /* ETH_P_RRB */ #ifdef __GNUC__ |