summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
index fad74cf..7c6a21d 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
@@ -7,26 +7,24 @@
7#include <stdlib.h> 7#include <stdlib.h>
8#include <errno.h> 8#include <errno.h>
9#include <sys/socket.h> 9#include <sys/socket.h>
10#include <netinet/in.h> 10#include <netinet/in.h>
11#include <arpa/inet.h> 11#include <arpa/inet.h>
12 12
13extern "C" 13extern "C"
14{ 14{
15#include <net/bpf.h> 15#include <net/bpf.h>
16#include <pcap.h> 16#include <pcap.h>
17} 17}
18 18
19#include "../../libwellenreiter/source/log.hh"
20
21/* Defines, used for the card setup */ 19/* Defines, used for the card setup */
22#define DEFAULT_PATH "/proc/driver/aironet/%s/Config" 20#define DEFAULT_PATH "/proc/driver/aironet/%s/Config"
23 #define CARD_TYPE_CISCO1 21 #define CARD_TYPE_CISCO1
24 #define CARD_TYPE_NG 2 22 #define CARD_TYPE_NG 2
25 #define CARD_TYPE_HOSTAP3 23 #define CARD_TYPE_HOSTAP3
26 24
27/* only for now, until we have the daemon running */ 25/* only for now, until we have the daemon running */
28/*the config file should provide these information */ 26/*the config file should provide these information */
29#define CARD_TYPE CARD_TYPE_HOSTAP 27#define CARD_TYPE CARD_TYPE_HOSTAP
30 #define SBIN_PATH "/sbin/ifconfig %s promisc up" 28 #define SBIN_PATH "/sbin/ifconfig %s promisc up"
31#define WLANCTL_PATH "/sbin/wlanctl-ng" 29#define WLANCTL_PATH "/sbin/wlanctl-ng"
32 30