From owner-freebsd-net@FreeBSD.ORG Tue Jan 20 01:19:00 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 0A7E516A4CE for ; Tue, 20 Jan 2004 01:19:00 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4063443D39 for ; Tue, 20 Jan 2004 01:18:58 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i0K9HWAB010853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Jan 2004 12:17:33 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i0K9HW4V010852; Tue, 20 Jan 2004 12:17:32 +0300 (MSK) Date: Tue, 20 Jan 2004 12:17:32 +0300 From: Gleb Smirnoff To: Andrew Riabtsev Message-ID: <20040120091732.GB10731@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Andrew Riabtsev , Dinesh Nair , freebsd-net@freebsd.org References: <20040120012819.I312-100000@prophet.alphaque.com> <1602380953.20040120114844@b-o.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1602380953.20040120114844@b-o.ru> User-Agent: Mutt/1.5.4i cc: Dinesh Nair 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: Tue, 20 Jan 2004 09:19:00 -0000 On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote: A> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it A> >> do something but not what you are waiting for, i think. A> A> DN> i know, hence was asking if there was something i could do, even if it A> DN> meant writing an extension to ng_ether to create a new netgraph type. A> A> You could try to write netgraph module that makes same thing with A> packets and frame as functions ether_(input/output) in A> net/if_ethersubr.c. Thats all that come in my mind. Isn't ng_etf(4) the one you need? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE