Is anybody using ng_pipe?

Julian Elischer julian at elischer.org
Wed Aug 19 02:37:49 UTC 2020


Writing a new netgraph node is relatively simple. Take ng_sample.c and
ng_sample.h and copy them.
Change names to suit, and add your own code in the middle. use one of 50
other nodes as examples.
No matter what you want to do one of them already does it.

-- 

+----------------------------------\     ________ _  __

|   __--_|\  Julian Elischer        \   \\       U \/ / On assignment

|  /       \ julian at elischer.org     \   \     USA    \ in a very strange

| (   OZ    )                         \-->x____   ___ | country !

+- X_.---._/ Mountain View, California         \_/   \\

          v

sp; \\

          v


More information about the freebsd-net mailing list