From owner-freebsd-net@FreeBSD.ORG Mon Jan 19 09:59:23 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 2B87216A4CF for ; Mon, 19 Jan 2004 09:59:23 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id C05A343D41 for ; Mon, 19 Jan 2004 09:59:16 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 90146 invoked by uid 0); 19 Jan 2004 17:59:14 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 19 Jan 2004 17:59:14 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0JHTNx3002208; Tue, 20 Jan 2004 01:29:23 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Tue, 20 Jan 2004 01:29:23 +0800 (MYT) From: Dinesh Nair To: Andrew Riabtsev In-Reply-To: <14414573064.20040119152825@b-o.ru> Message-ID: <20040120012819.I312-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: netgraph questions on ng_tee, ng_iface, ng_socket 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: Mon, 19 Jan 2004 17:59:23 -0000 On Mon, 19 Jan 2004, Andrew Riabtsev wrote: > DN> connecting the ng_iface hook inet to ng_ether's upper or lower doesnt make > DN> any sense because ng_ether itself does not do an encasulation of the IP > DN> packet into an ethernet frame. or am i wrong here, and just configuring it > DN> wrongly ? > > Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it > do something but not what you are waiting for, i think. i know, hence was asking if there was something i could do, even if it meant writing an extension to ng_ether to create a new netgraph type. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+