summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh4
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/sniff.hh4
2 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
index 6ec5b95..b85b7b7 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
@@ -7,14 +7,18 @@
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
14extern "C"
15{
13#include <net/bpf.h> 16#include <net/bpf.h>
14#include <pcap.h> 17#include <pcap.h>
18}
15 19
16/* Defines, used for the card setup */ 20/* Defines, used for the card setup */
17#define DEFAULT_PATH "/proc/driver/aironet/%s/Config" 21#define DEFAULT_PATH "/proc/driver/aironet/%s/Config"
18 #define CARD_TYPE_CISCO1 22 #define CARD_TYPE_CISCO1
19 #define CARD_TYPE_NG 2 23 #define CARD_TYPE_NG 2
20 #define CARD_TYPE_HOSTAP3 24 #define CARD_TYPE_HOSTAP3
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
index 713b383..c7108ac 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
@@ -9,14 +9,18 @@
9#include <errno.h> 9#include <errno.h>
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/time.h> 11#include <sys/time.h>
12#include <sys/socket.h> 12#include <sys/socket.h>
13#include <netinet/in.h> 13#include <netinet/in.h>
14#include <arpa/inet.h> 14#include <arpa/inet.h>
15
16extern "C"
17{
15#include <net/bpf.h> 18#include <net/bpf.h>
16#include <pcap.h> 19#include <pcap.h>
20}
17 21
18#define NONBROADCASTING "non-broadcasting" 22#define NONBROADCASTING "non-broadcasting"
19 23
20/* holds all the interresting data */ 24/* holds all the interresting data */
21struct packetinfo 25struct packetinfo
22{ 26{