From owner-freebsd-net@FreeBSD.ORG Tue Mar 16 11:10:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA82116A4CE for ; Tue, 16 Mar 2004 11:10:56 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC6543D2D for ; Tue, 16 Mar 2004 11:10:54 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <2004031619105301600lg8eee>; Tue, 16 Mar 2004 19:10:53 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA59667; Tue, 16 Mar 2004 11:10:51 -0800 (PST) Date: Tue, 16 Mar 2004 11:10:50 -0800 (PST) From: Julian Elischer To: =?iso-8859-1?q?manish=20gautam?= In-Reply-To: <20040316181003.62042.qmail@web8203.mail.in.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: How to test my own netgraph node ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 19:10:56 -0000 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" >