Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/sniffer.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/sniffer.hh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/sniffer.hh b/noncore/net/wellenreiter/daemon/source/sniffer.hh index 7f45be6..d262353 100644 --- a/noncore/net/wellenreiter/daemon/source/sniffer.hh +++ b/noncore/net/wellenreiter/daemon/source/sniffer.hh | |||
@@ -15,6 +15,2 @@ | |||
15 | 15 | ||
16 | #define DEFAULT_PATH "/proc/driver/aironet/%s/Config" | ||
17 | #define CARD_TYPE_CISCO1 | ||
18 | #define CARD_TYPE_NG2 | ||
19 | #define CARD_TYPE_HOSTAP3 | ||
20 | 16 | ||
@@ -22,8 +18,2 @@ | |||
22 | 18 | ||
23 | /* only for now, until we have the daemon running */ | ||
24 | /*the config file should provide these information */ | ||
25 | #define SNIFFER_DEVICE "wlan0" | ||
26 | #define CARD_TYPE CARD_TYPE_CISCO | ||
27 | #define SBIN_PATH"/sbin/ifconfig %s promisc up" | ||
28 | #define WLANCTL_PATH "/sbin/wlanctl-ng" | ||
29 | 19 | ||
@@ -50,6 +40,3 @@ struct packetinfo | |||
50 | /* Prototypes */ | 40 | /* Prototypes */ |
51 | |||
52 | int sniffer(void); | 41 | int sniffer(void); |
53 | int card_into_monitormode (char * device, int cardtype); | ||
54 | int card_set_promisc_up (char * device); | ||
55 | int start_sniffing (char * device); | 42 | int start_sniffing (char * device); |