aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-10-02 23:44:10 +0000
committerGerald Combs <gerald@wireshark.org>2006-10-02 23:44:10 +0000
commit2649d2614545278344fee1ce36196e3771101f42 (patch)
treee10aa1fa027e374ffc33803ece9d48513a9f221b /airpcap.h
parent6cde05da1bfb6e43365a3d2fc6f7ca03d49be65e (diff)
Fix WEP key bug in the AirPcap code that could cause a crash. Enable
AirPcap by default. Add initial support for the "Any" device in AirPcap (more to come). svn path=/trunk/; revision=19401
Diffstat (limited to 'airpcap.h')
-rw-r--r--airpcap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/airpcap.h b/airpcap.h
index d44206cfd6..f7e6cff331 100644
--- a/airpcap.h
+++ b/airpcap.h
@@ -68,6 +68,12 @@ extern "C" {
#define AIRPCAP_DEVICE_NUMBER_EXTRACT_STRING "\\\\.\\airpcap%u"
/*!
+ \brief This string is the scanf modifier to extract the adapter "Any" string from an adapter name.
+ It can be used to parse the name field in an AirpcapDeviceDescription structure with scanf.
+*/
+#define AIRPCAP_DEVICE_ANY_EXTRACT_STRING "\\\\.\\airpcap_any"
+
+/*!
\brief Entry in the list returned by \ref AirpcapGetDeviceList();
*/
typedef struct _AirpcapDeviceDescription