summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/daemon/source/sniffer.hh
authormax <max>2002-11-23 20:12:57 (UTC)
committer max <max>2002-11-23 20:12:57 (UTC)
commit2f11392ab9292df21a6e1374800954a6b405ee9b (patch) (side-by-side diff)
tree4a3b90822b3cfe18ee95165f45b9fc4d46ea4385 /noncore/net/wellenreiter/daemon/source/sniffer.hh
parent19a08a4585abf1d6f66101d41374dd5441c5754e (diff)
downloadopie-2f11392ab9292df21a6e1374800954a6b405ee9b.zip
opie-2f11392ab9292df21a6e1374800954a6b405ee9b.tar.gz
opie-2f11392ab9292df21a6e1374800954a6b405ee9b.tar.bz2
*** empty log message ***
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.hh13
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 @@
-#define DEFAULT_PATH "/proc/driver/aironet/%s/Config"
-#define CARD_TYPE_CISCO 1
-#define CARD_TYPE_NG 2
-#define CARD_TYPE_HOSTAP 3
@@ -22,8 +18,2 @@
-/* only for now, until we have the daemon running */
-/*the config file should provide these information */
-#define SNIFFER_DEVICE "wlan0"
-#define CARD_TYPE CARD_TYPE_CISCO
-#define SBIN_PATH "/sbin/ifconfig %s promisc up"
-#define WLANCTL_PATH "/sbin/wlanctl-ng"
@@ -50,6 +40,3 @@ struct packetinfo
/* Prototypes */
-
int sniffer(void);
-int card_into_monitormode (char * device, int cardtype);
-int card_set_promisc_up (char * device);
int start_sniffing (char * device);