From owner-freebsd-net@FreeBSD.ORG Thu Dec 13 22:35:08 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BC0D16A47A for ; Thu, 13 Dec 2007 22:35:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id D1C6F13C4E3 for ; Thu, 13 Dec 2007 22:35:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id CDD5A41C734; Thu, 13 Dec 2007 23:35:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id Soke6EEtWhu4; Thu, 13 Dec 2007 23:35:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 742BA41C71E; Thu, 13 Dec 2007 23:35:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 85A48444885; Thu, 13 Dec 2007 22:32:48 +0000 (UTC) Date: Thu, 13 Dec 2007 22:32:48 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Julian Elischer In-Reply-To: <4761AC47.2010904@elischer.org> Message-ID: <20071213221607.Q81630@maildrop.int.zabbadoz.net> References: <476061FD.8050500@elischer.org> <200712130021.56473.max@love2party.net> <476072DB.3090600@elischer.org> <200712131549.21669.nvass@teledomenet.gr> <476190F2.2030105@elischer.org> <47619502.5070404@FreeBSD.org> <4761AC47.2010904@elischer.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, "Bruce M. Simpson" Subject: Re: bikeshed for all! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 22:35:08 -0000 On Thu, 13 Dec 2007, Julian Elischer wrote: Let the colour be green-blue-blue. > Bruce M. Simpson wrote: >> How about "setfib"? >> >> I strongly believe we should deprecate the use of the term "routing" where >> the BSD forwarding plane is concerned, whilst familiar to many it is >> misleading as to what that part of the system is actually doing. > > maybe, but it would be a large surprise to everyone who expects that > structure be be called the routing table as it still is in most systems. Life is like a clock: You can work constantly and be right all the time, or not work at all and be right at least twice a day. -- mrc Things changed the last 13-15 years (route.c should be about that old). I'd suggest that if you do it, do it all right, like BMS says, or why did you ask in first place? > In OpenBSD they have decided to call the in-kernel decriptor 'id' but I'd > rather go with tableid or maybe tbl_num, because 'id' is too generic. > 'tid' is already thread id. Both id or tableid are, for telling you what it is, like 'void' if there is no strong context. I can easily think of a dozen different 'tables' and even more 'ids'. I'd suggest to go with any kind of spelling of 'fibid', 'fib_id', 'FIBid', or ... as that's what it is called these days. /bz -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.