opnsense-src/share/examples/kld/khelp
Warner Losh 05248206f7 Remove $FreeBSD$: one-line bare tag
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16 11:55:20 -06:00
..
h_example.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00

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.