From owner-cvs-all Thu May 20 12:39: 2 1999 Delivered-To: cvs-all@freebsd.org Received: from fasterix.frmug.org (d176.paris-84.cybercable.fr [212.198.84.176]) by hub.freebsd.org (Postfix) with ESMTP id F263D154DA; Thu, 20 May 1999 12:38:48 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.9.3/8.9.3/pb-19990315) id VAA85783; Thu, 20 May 1999 21:38:26 +0200 (CEST) Message-ID: <19990520213821.D68481@fasterix.frmug.fr.net> Date: Thu, 20 May 1999 21:38:21 +0200 From: Pierre Beyssac To: "Rodney W. Grimes" , Garrett Wollman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_var.h References: <199905201613.MAA18325@khavrinen.lcs.mit.edu> <199905201859.LAA03059@gndrsh.aac.dev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i In-Reply-To: <199905201859.LAA03059@gndrsh.aac.dev.com>; from Rodney W. Grimes on Thu, May 20, 1999 at 11:59:18AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, May 20, 1999 at 11:59:18AM -0700, Rodney W. Grimes wrote: > but then rt_refcnt =! ifa_refcnt so we are okay there... but down a little > further: > struct ifaddr *rt_ifa; > These two fields represent the ``answer'', as it were, to > the question posed by a route lookup; that is, they name > the interface and interface address to be used in sending a > packet to the destination or set of destinations which this > route represents. > The reference to rtentry(9) by route(4) only affects struct rt_metrics, which is not affected by struct ifaddr (only contains a series of u_long's), and the flags definitions. man 4 route: ... where ``struct rt_metrics'' and the flag bits are as defined in rtentry(9). ... > Looks like it is an explicit kernel/user land interface via the routing > socket to me.... I disagree. One other possible way a program could be affected was if it accessed the routing structures through /dev/kmem. In a way it can be considered a kernel/userland interface, and by the same reasonning you wouldn't be able to change any internal structure in the kernel. I don't mean to split hairs, I just want to show that a line has to be drawn somewhere. In the same spirit, note that ps and libkvm frequently undergo changes that make them dependent on the kernel version. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org {Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message