author | max <max> | 2003-01-23 02:21:57 (UTC) |
---|---|---|
committer | max <max> | 2003-01-23 02:21:57 (UTC) |
commit | 5383c984ad15bde0300a6ca4559b0df52fe695b0 (patch) (side-by-side diff) | |
tree | 12ac9b23d45e5d8144a952343bbac3fb0cf58899 /noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | |
parent | c464d34970bedca56a518310deef7ce08474033c (diff) | |
download | opie-5383c984ad15bde0300a6ca4559b0df52fe695b0.zip opie-5383c984ad15bde0300a6ca4559b0df52fe695b0.tar.gz opie-5383c984ad15bde0300a6ca4559b0df52fe695b0.tar.bz2 |
hostap monitor command
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.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh index b85b7b7..9721b39 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh @@ -1,36 +1,37 @@ /* $Id$ */ #ifndef CARDMODE_HH #define CARDMODE_HH #include <string.h> #include <stdlib.h> #include <errno.h> #include <sys/types.h> #include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> extern "C" { #include <net/bpf.h> #include <pcap.h> } /* Defines, used for the card setup */ #define DEFAULT_PATH "/proc/driver/aironet/%s/Config" #define CARD_TYPE_CISCO 1 #define CARD_TYPE_NG 2 #define CARD_TYPE_HOSTAP 3 /* only for now, until we have the daemon running */ /*the config file should provide these information */ #define CARD_TYPE CARD_TYPE_HOSTAP #define SBIN_PATH "/sbin/ifconfig %s promisc up" #define WLANCTL_PATH "/sbin/wlanctl-ng" +#define IWPRIV_PATH "/sbin/iwpriv" /* Prototypes */ int card_into_monitormode (pcap_t **, char *, int); int card_set_promisc_up (const char *); #endif /* CARDMODE_HH */ |