summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/sniff.hh') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/sniff.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
index c7108ac..713b383 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh
@@ -3,30 +3,26 @@
3#ifndef SNIFF_HH 3#ifndef SNIFF_HH
4#define SNIFF_HH 4#define SNIFF_HH
5 5
6#include <string.h> 6#include <string.h>
7#include <stdio.h> 7#include <stdio.h>
8#include <stdlib.h> 8#include <stdlib.h>
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{
18#include <net/bpf.h> 15#include <net/bpf.h>
19#include <pcap.h> 16#include <pcap.h>
20}
21 17
22#define NONBROADCASTING "non-broadcasting" 18#define NONBROADCASTING "non-broadcasting"
23 19
24/* holds all the interresting data */ 20/* holds all the interresting data */
25struct packetinfo 21struct packetinfo
26{ 22{
27 int isvalid; 23 int isvalid;
28 int pktlen; 24 int pktlen;
29 int fctype; 25 int fctype;
30 int fcsubtype; 26 int fcsubtype;
31 int fc_wep; 27 int fc_wep;
32 int cap_WEP; 28 int cap_WEP;