Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh') (more/less context) (ignore 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 */ |