Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8 b/noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8 new file mode 100644 index 0000000..9a65223 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/docs/wl_sniff.8 | |||
@@ -0,0 +1,21 @@ | |||
1 | sniff.cc | ||
2 | |||
3 | #include <wellenreiter/sniff.hh> | ||
4 | |||
5 | void process_packets(const struct pcap_pkthdr *pkthdr, | ||
6 | const unsigned char *packet, | ||
7 | char *guihost, | ||
8 | int guiport) | ||
9 | |||
10 | The function process_packets() will use libpcap to get the | ||
11 | informations for a 802.11b packet. When it finds a valid | ||
12 | network it calls the wl_send function and sends a found | ||
13 | network packet to the guiport on the guihost. | ||
14 | |||
15 | |||
16 | Return value | ||
17 | |||
18 | none | ||
19 | |||
20 | NOTE: process_packets() is void at the moment because there | ||
21 | will be alot of non-critical and annoying errors. | ||