Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/cardmode.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/cardmode.hh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/cardmode.hh b/noncore/net/wellenreiter/daemon/source/cardmode.hh deleted file mode 100644 index ecc97b1..0000000 --- a/noncore/net/wellenreiter/daemon/source/cardmode.hh +++ b/dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $Id$ */ | ||
2 | |||
3 | #ifndef CARDMODE_HH | ||
4 | #define CARDMODE_HH | ||
5 | |||
6 | #include <string.h> | ||
7 | #include <stdio.h> | ||
8 | #include <stdlib.h> | ||
9 | #include <pcap.h> | ||
10 | #include <errno.h> | ||
11 | #include <sys/socket.h> | ||
12 | #include <netinet/in.h> | ||
13 | #include <arpa/inet.h> | ||
14 | #include <net/bpf.h> | ||
15 | |||
16 | /* Defines, used for the card setup */ | ||
17 | #define DEFAULT_PATH "/proc/driver/aironet/%s/Config" | ||
18 | #define CARD_TYPE_CISCO1 | ||
19 | #define CARD_TYPE_NG2 | ||
20 | #define CARD_TYPE_HOSTAP3 | ||
21 | |||
22 | /* only for now, until we have the daemon running */ | ||
23 | /*the config file should provide these information */ | ||
24 | #define SNIFFER_DEVICE "wlan0" | ||
25 | #define CARD_TYPE CARD_TYPE_CISCO | ||
26 | #define SBIN_PATH"/sbin/ifconfig %s promisc up" | ||
27 | #define WLANCTL_PATH "/sbin/wlanctl-ng" | ||
28 | |||
29 | /* Prototypes */ | ||
30 | |||
31 | int card_into_monitormode (char * device, int cardtype); | ||
32 | int card_set_promisc_up (char * device); | ||
33 | |||
34 | #endif /* CARDMODE_HH */ | ||