Writing a netgraph module

Chuck Swiger cswiger at mac.com
Thu Dec 29 08:09:07 PST 2005


Squigly wrote:
> I want to develop netgraph module (something simple at first, but the
> intention is to write a full-fledged-real-world-bla-bla system).
> 
> Problem is, I can't seem to find anything regarding the development
> process of a netgraph module.
> 
> Google/Handbook/Forums didn't give much. I poked the code a bit (both
> for netgraph subsystem and some modules),
> but I do need something more basic to start with.

Does the following give you a starting point:

cd /usr/src/sys/netgraph
less NOTES ng_sample.[hc]

-- 
-Chuck


More information about the freebsd-net mailing list