Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 19:27:30 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        =?iso-8859-1?q?manish=20gautam?= <manish_6983@yahoo.co.in>
Cc:        freebsd-net@freebsd.org
Subject:   Re: How to test my own netgraph node ?
Message-ID:  <20040316191927.R30376@beagle.fokus.fraunhofer.de>
In-Reply-To: <20040316181003.62042.qmail@web8203.mail.in.yahoo.com>
References:  <20040316181003.62042.qmail@web8203.mail.in.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Mar 2004, [iso-8859-1] manish gautam wrote:

mg>
mg>Hi sir...
mg>
mg>I have modified ng_tee.c to design my own netgraph
mg>node. But i dont know how to test that it is working.
mg>
mg>1.Tell me the right procedure to test it.
mg>
mg>2.How can i pass incoming packet through it ?
mg>
mg>3.How can i print incoming packet info on prompt ?

That heavily depends on what your node does. You may want to have a
look at nghook(8). You may put it on top of other nodes that emit traffic
(ng_ether).

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316191927.R30376>