freebsd-dev/share/examples/kld/khelp/README
Lawrence Stewart 12db289af8 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

7 lines
301 B
Plaintext

$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.