freebsd-skq/share/examples/kld/khelp
lstewart f7710268a2 Add an example Khelp module, which will be referenced in the forthcoming Khelp
documentation.

Sponsored by:	FreeBSD Foundation
Discussed with:	David Hayes <dahayes at swin edu au>
MFC after:	5 weeks
X-MFC with:	r216615
2011-02-11 07:26:17 +00:00
..
h_example.c
Makefile
README

$FreeBSD$

An example Khelp module which uses the helper hook points available in the TCP
stack to calculate a per-connection count of inbound and outbound packets when
the connection is in the established state. The code is verbosely documented in
an attempt to explain how everything fits together.