mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
Add an option option to builds and installs the eapol_test program. Update/patch to solve new compilation errors that result with the option enabled. Note: Leaving the changes to Packet32.c out of the PR patch set as it is not needed. PR: 245809 Approved by: cy (maintainer)
32 lines
669 B
C
32 lines
669 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
|
|
#if __FreeBSD__
|
|
#define CHAR char
|
|
#else
|
|
#define CHAR int8_t
|
|
#endif
|
|
#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_ */
|