Date: Fri, 15 Jul 2005 10:32:43 -0600 (MDT) From: "Nathanael M Van Vorst" <vanvorst@ieee.org> To: freebsd-net@freebsd.org Subject: netgraph question Message-ID: <57865.157.127.124.134.1121445163.squirrel@www.stupendousness.org>
next in thread | raw e-mail | index | archive | help
I have some questions about netgraph. I have been using the framework for project for a little while. I am at the point where I want to hand-off netgraph items to a kernel thread or a kernel module. Then I want the module or thread to do some processing and hand this back to netgraph. I looked through a little bit, and did not find an easy way. Did I miss it? Marching on, I wrote up a little module that had two functions that a node could call. One to regiter the hook to pass items back on, and one to pass items to to the module. Inside the module I call NG_FWD_ITEM to send the item back on the passed in hook. It always crashes in the ITEM_DEBUG macro. Help? Where should I go? When I get a kernel core, the stack is corrupt so it is f no use. If anyone is curious I can send the little test code I have cobbled together to see how I might do this. Thanks!! --Nate --------------------------------------- Nathanael Van Vorst Home: vanvorst@ieee.org “It is intuitively obvious to even the most casual of observers!”
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57865.157.127.124.134.1121445163.squirrel>