author | max <max> | 2003-02-07 03:23:16 (UTC) |
---|---|---|
committer | max <max> | 2003-02-07 03:23:16 (UTC) |
commit | 2e7e176817b5d162b054f97ed6650e659730f4ae (patch) (unidiff) | |
tree | 6b64a6ab7cbef944a564eabe6f63d8ac89eafefc /noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | |
parent | 9062b40d50264bc479ee0425778c552ef20ee304 (diff) | |
download | opie-2e7e176817b5d162b054f97ed6650e659730f4ae.zip opie-2e7e176817b5d162b054f97ed6650e659730f4ae.tar.gz opie-2e7e176817b5d162b054f97ed6650e659730f4ae.tar.bz2 |
Flags and datalink
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh index 7750fb6..babb109 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | |||
@@ -7,12 +7,13 @@ | |||
7 | #include <stdlib.h> | 7 | #include <stdlib.h> |
8 | #include <errno.h> | 8 | #include <errno.h> |
9 | #include <sys/types.h> | 9 | #include <sys/types.h> |
10 | #include <sys/time.h> | 10 | #include <sys/time.h> |
11 | #include <sys/socket.h> | 11 | #include <sys/socket.h> |
12 | #include <netinet/in.h> | 12 | #include <netinet/in.h> |
13 | #include <arpa/inet.h> | ||
13 | #include <sys/ioctl.h> | 14 | #include <sys/ioctl.h> |
14 | #include <linux/if.h> | 15 | #include <linux/if.h> |
15 | 16 | ||
16 | 17 | ||
17 | extern "C" | 18 | extern "C" |
18 | { | 19 | { |
@@ -32,10 +33,11 @@ extern "C" | |||
32 | #define CARD_TYPE CARD_TYPE_HOSTAP | 33 | #define CARD_TYPE CARD_TYPE_HOSTAP |
33 | #define SBIN_PATH "/sbin/ifconfig %s promisc up" | 34 | #define SBIN_PATH "/sbin/ifconfig %s promisc up" |
34 | #define WLANCTL_PATH "/sbin/wlanctl-ng" | 35 | #define WLANCTL_PATH "/sbin/wlanctl-ng" |
35 | #define IWPRIV_PATH "/sbin/iwpriv" | 36 | #define IWPRIV_PATH "/sbin/iwpriv" |
36 | 37 | ||
37 | /* Prototypes */ | 38 | /* Prototypes */ |
39 | int card_check_rfmon_datalink (char *device); | ||
38 | int card_into_monitormode (pcap_t **, char *, int); | 40 | int card_into_monitormode (pcap_t **, char *, int); |
39 | int card_set_promisc_up (const char *); | 41 | int card_set_promisc_up (const char *); |
40 | 42 | ||
41 | #endif /* CARDMODE_HH */ | 43 | #endif /* CARDMODE_HH */ |