This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
Diff: sniffer.h
- Revision:
- 6:66c4cd9073aa
- Parent:
- 5:c56386b9fc33
- Child:
- 8:1c1f6ce348c6
diff -r c56386b9fc33 -r 66c4cd9073aa sniffer.h --- a/sniffer.h Tue Oct 12 06:37:21 2010 +0000 +++ b/sniffer.h Tue Oct 12 06:46:22 2010 +0000 @@ -11,6 +11,14 @@ #include <cstring> #include <functional> +/** + \file sniffer.h + \brief Ethernet packet sniffer + + This file is the bread and butter of the NetTool; it processes and constructs ethernet frames + on a bitwise level. +*/ + template <class Arg1, class Arg2, class Result> class handler {