Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 11:10:50 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
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:  <Pine.BSF.4.21.0403161109330.47908-100000@InterJet.elischer.org>
In-Reply-To: <20040316181003.62042.qmail@web8203.mail.in.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
thea asiest way to test packets is to learn to use the nghook program 
and the ngctl program. 
using htese you can connect data sources and sinks to you node and watch
how it responds.

I would need more information to be able to say more.


On Tue, 16 Mar 2004, [iso-8859-1] manish gautam wrote:

> 
> Hi sir...
> 
> I have modified ng_tee.c to design my own netgraph
> node. But i dont know how to test that it is working.
> 
> 1.Tell me the right procedure to test it.
> 
> 2.How can i pass incoming packet through it ?
> 
> 3.How can i print incoming packet info on prompt ?
> 
> reply as soon as possible
> 
> Best regards 
> Manish Gautam
> 
> ________________________________________________________________________
> Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
> Go to: http://in.insurance.yahoo.com/licspecial/index.html
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0403161109330.47908-100000>