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 | / \ jul...@elischer.org \ \ USA \ in a very strange | ( OZ ) \-->x____ ___ | country ! +- X_.---._/ Mountain View, California \_/ \\ v sp; \\ v _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"