Date: Thu, 20 May 1999 21:38:21 +0200 From: Pierre Beyssac <pb@fasterix.freenix.org> To: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_var.h Message-ID: <19990520213821.D68481@fasterix.frmug.fr.net> In-Reply-To: <199905201859.LAA03059@gndrsh.aac.dev.com>; from Rodney W. Grimes on Thu, May 20, 1999 at 11:59:18AM -0700 References: <199905201613.MAA18325@khavrinen.lcs.mit.edu> <199905201859.LAA03059@gndrsh.aac.dev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990520213821.D68481>