This port was retired at version 0.3.8 because wpa_supplicant is part of FreeBSD base. However, the last few releases have had a period of only a few months, so the base is always going to be behind. DragonFly is also affected, so I'm bringing the port back at the latest version. It features the same patches as FreeBSD including the conversion to use libutil's pidfile routines. There are some additional patches for DragonFly support and to fix some bugs from the 9 Oct 2014 release. The WPA Supplicant build system has been converted to ports options, and there are dozens of them. I've set the defaults to match the configuration in base and verified that it builds with all options selected at once.
28 lines
622 B
C
28 lines
622 B
C
#ifndef _NTDDNDIS_H_
|
|
#define _NTDDNDIS_H_
|
|
|
|
/*
|
|
* Fake up some of the Windows type definitions so that the NDIS
|
|
* interface module in wpa_supplicant will build.
|
|
*/
|
|
|
|
#define ULONG uint32_t
|
|
#define USHORT uint16_t
|
|
#define UCHAR uint8_t
|
|
#define LONG int32_t
|
|
#define SHORT int16_t
|
|
#define CHAR int8_t
|
|
#define ULONGLONG uint64_t
|
|
#define LONGLONG int64_t
|
|
#define BOOLEAN uint8_t
|
|
typedef void * LPADAPTER;
|
|
typedef char * PTSTR;
|
|
typedef char * PCHAR;
|
|
|
|
#define TRUE 1
|
|
#define FALSE 0
|
|
|
|
#define OID_802_3_CURRENT_ADDRESS 0x01010102
|
|
#define OID_802_3_MULTICAST_LIST 0x01010103
|
|
|
|
#endif /* _NTDDNDIS_H_ */
|