From owner-freebsd-net@FreeBSD.ORG Tue Mar 16 14:31:32 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 ECBD616A4CE for ; Tue, 16 Mar 2004 14:31:32 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3131E43D2F for ; Tue, 16 Mar 2004 14:31:32 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2GMZtee050252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Mar 2004 00:35:56 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2GMVZFF004151; Wed, 17 Mar 2004 00:31:35 +0200 (EET) (envelope-from ru) Date: Wed, 17 Mar 2004 00:31:34 +0200 From: Ruslan Ermilov To: manish gautam Message-ID: <20040316223134.GK3462@ip.net.ua> References: <20040316181003.62042.qmail@web8203.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZG5hGh9V5E9QzVHS" Content-Disposition: inline In-Reply-To: <20040316181003.62042.qmail@web8203.mail.in.yahoo.com> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 22:31:33 -0000 --ZG5hGh9V5E9QzVHS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 16, 2004 at 06:10:03PM +0000, manish gautam wrote: >=20 > Hi sir... >=20 > I have modified ng_tee.c to design my own netgraph > node. But i dont know how to test that it is working. >=20 > 1.Tell me the right procedure to test it. >=20 > 2.How can i pass incoming packet through it ? >=20 > 3.How can i print incoming packet info on prompt ? >=20 > reply as soon as possible >=20 It's a must read for anyone who'd like to get familiar with Netgraph: http://ezine.daemonnews.org/200003/netgraph.html Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --ZG5hGh9V5E9QzVHS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAV4BGUkv4P6juNwoRAiqnAJ9Ya0gHPPYpXHImIrLMSQZxusyP/QCfU6QL 5VWHP/Yw276rZKeiX0lEDc0= =ce6o -----END PGP SIGNATURE----- --ZG5hGh9V5E9QzVHS--