From owner-freebsd-net@FreeBSD.ORG Tue Oct 4 20:36:48 2005 Return-Path: X-Original-To: net@FreeBSD.org 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 16B9716A41F; Tue, 4 Oct 2005 20:36:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609F443D49; Tue, 4 Oct 2005 20:36:47 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j94Kak1u038944; Tue, 4 Oct 2005 13:36:46 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j94Kaj8j038943; Tue, 4 Oct 2005 13:36:45 -0700 (PDT) (envelope-from jmg) Date: Tue, 4 Oct 2005 13:36:45 -0700 From: John-Mark Gurney To: Ragnar Lonn Message-ID: <20051004203645.GO716@funkthat.com> Mail-Followup-To: Ragnar Lonn , Ceri Davies , Gleb Smirnoff , net@FreeBSD.org References: <20051003130731.GF56760@submonkey.net> <20051003134132.GE73935@cell.sick.ru> <20051003135324.GH56760@submonkey.net> <4342B4BE.1040304@packetfront.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4342B4BE.1040304@packetfront.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Ceri Davies , Gleb Smirnoff , net@FreeBSD.org Subject: Re: ng_tee, right2left, et al X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 20:36:48 -0000 Ragnar Lonn wrote this message on Tue, Oct 04, 2005 at 18:58 +0200: > Ceri Davies wrote: > > >I only call it "wrong" as it didn't agree with Archie's article or my > >expectations, hence the quotes - I realise that it's subjective. > > > >It just seems to me that packets leaving left2right would go to right, > >as the name implies. I don't really mind either way, it's simply that > >I found it confusing. > > > > > > It's not, really. A good idea is to draw the tee node and its hooks on a > piece of paper. > Here is an ASCII attempt: > > > left --- right > \ / > x > / \ > r2l l2r > > The drawing shows that the left hook is associated with the left2right hook: > When packets come in on the left hook they are forwarded to the left2right > hook. Logically, that means they are connected, like in the drawing above, > and that also means that packets can go in the other direction - i.e. from > the left2right hook and to the left hook. I personally imagined the picture like: l2r >>>>^>>>> / \ left right \ / <<