Date: Wed, 15 Mar 2006 23:44:02 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Andre Oppermann <andre@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net route.h rtsock.c Message-ID: <20060315204402.GK1102@FreeBSD.org> In-Reply-To: <200603151939.k2FJd91g080489@repoman.freebsd.org> References: <200603151939.k2FJd91g080489@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060315204402.GK1102>