From owner-cvs-src@FreeBSD.ORG Wed Mar 15 20:44:07 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C83C16A422; Wed, 15 Mar 2006 20:44:07 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE5AB43D60; Wed, 15 Mar 2006 20:44:05 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id k2FKi2k8039038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Mar 2006 23:44:03 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id k2FKi2mU039037; Wed, 15 Mar 2006 23:44:02 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 15 Mar 2006 23:44:02 +0300 From: Gleb Smirnoff To: Andre Oppermann Message-ID: <20060315204402.GK1102@FreeBSD.org> References: <200603151939.k2FJd91g080489@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200603151939.k2FJd91g080489@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net route.h rtsock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 20:44:07 -0000 Andre, On Wed, Mar 15, 2006 at 07:39:09PM +0000, Andre Oppermann wrote: A> - The unused rtm_use field in struct rt_msghdr is redesignated as A> rtm_fmask field to communicate route flag changes in RTM_CHANGE A> messages from userland. The use count of a route was moved to A> rtm_rmx a long time ago. For source code compatibility reasons A> a define of rtm_use to rtm_fmask is provided. Be careful. rtm_use isn't unused - it is used sysctl_dumpentry() to return the usage of route to userland. However, I don't see programs netstat(1) and route(1) to read it. Anyway, I think it deserves a comment. A> These changes faciliate running of multiple cooperating routing A> daemons at the same time without causing undesired interference. A> Open[BGP|OSPF]D make use of these features to have IGP routes A> override EGP ones. Please explain how is this done. Does radix allow presence of two identical prefixes in tree, and we distinguish them by rt->rt_flags? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE