aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'airpcap_loader.h')
-rw-r--r--airpcap_loader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/airpcap_loader.h b/airpcap_loader.h
index cb6c9eb495..831e5519b1 100644
--- a/airpcap_loader.h
+++ b/airpcap_loader.h
@@ -34,6 +34,14 @@
#define MAX_ENCRYPTION_KEYS 64
+#define AIRPCAP_CHANNEL_ANY_NAME "ANY"
+
+/*
+ * WEP_KEY_MAX_SIZE is in bytes. but each byte is rapresented in strings with an ascii char
+ * 4 bit are needed to store an exadecimal number, 8 bit to store a char...
+ */
+#define WEP_KEY_MAX_CHAR_SIZE (WEP_KEY_MAX_SIZE*2)
+
typedef PCHAR (*AirpcapGetLastErrorHandler)(PAirpcapHandle AdapterHandle);
typedef BOOL (*AirpcapGetDeviceListHandler)(PAirpcapDeviceDescription *PPAllDevs, PCHAR Ebuf);
typedef VOID (*AirpcapFreeDeviceListHandler)(PAirpcapDeviceDescription PAllDevs);