diff options
-rw-r--r-- | usr.sbin/wpa/wpa_supplicant/Packet32.c | 6 | ||||
-rw-r--r-- | usr.sbin/wpa/wpa_supplicant/Packet32.h | 1 | ||||
-rw-r--r-- | usr.sbin/wpa/wpa_supplicant/ntddndis.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Packet32.c b/usr.sbin/wpa/wpa_supplicant/Packet32.c index dafa6b9..3334bbf 100644 --- a/usr.sbin/wpa/wpa_supplicant/Packet32.c +++ b/usr.sbin/wpa/wpa_supplicant/Packet32.c @@ -99,6 +99,12 @@ struct adapter { char name[IFNAMSIZ]; }; +PCHAR +PacketGetVersion(void) +{ + return("FreeBSD WinPcap compatibility shim v1.0"); +} + void * PacketOpenAdapter(iface) CHAR *iface; diff --git a/usr.sbin/wpa/wpa_supplicant/Packet32.h b/usr.sbin/wpa/wpa_supplicant/Packet32.h index a3f715d..e0598e7 100644 --- a/usr.sbin/wpa/wpa_supplicant/Packet32.h +++ b/usr.sbin/wpa/wpa_supplicant/Packet32.h @@ -47,6 +47,7 @@ struct PACKET_OID_DATA { typedef struct PACKET_OID_DATA PACKET_OID_DATA; +extern PCHAR PacketGetVersion(void); extern void *PacketOpenAdapter(CHAR *); extern int PacketRequest(void *, BOOLEAN, PACKET_OID_DATA *); extern int PacketGetAdapterNames(CHAR *, ULONG *); diff --git a/usr.sbin/wpa/wpa_supplicant/ntddndis.h b/usr.sbin/wpa/wpa_supplicant/ntddndis.h index 97dd608..42e403d 100644 --- a/usr.sbin/wpa/wpa_supplicant/ntddndis.h +++ b/usr.sbin/wpa/wpa_supplicant/ntddndis.h @@ -21,6 +21,7 @@ #define BOOLEAN uint8_t typedef void * LPADAPTER; typedef char * PTSTR; +typedef char * PCHAR; #define TRUE 1 #define FALSE 0 |