summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8
blob: 9a65223c938bac31192b255a6feaf88c84e5b563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sniff.cc

#include <wellenreiter/sniff.hh>

void process_packets(const struct pcap_pkthdr *pkthdr, 
		     const unsigned char *packet, 
		     char *guihost, 
		     int guiport)

The function process_packets() will use libpcap to get the
informations for a 802.11b packet. When it finds a valid 
network it calls the wl_send function and sends a found
network packet to the guiport on the guihost.


Return value

none

NOTE: process_packets() is void at the moment because there
will be alot of non-critical and annoying errors.