How to test my own netgraph node ?

Julian Elischer julian at elischer.org
Tue Mar 16 11:10:56 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 



More information about the freebsd-net mailing list