From owner-freebsd-net Tue Mar 28 14:46:16 2000 Delivered-To: freebsd-net@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 8DE5037B7DC for ; Tue, 28 Mar 2000 14:46:11 -0800 (PST) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id OAA21034; Tue, 28 Mar 2000 14:39:58 -0800 (PST) Message-Id: <200003282239.OAA21034@implode.root.com> To: "Christian E. Hopps" Cc: freebsd-net@FreeBSD.ORG Subject: Re: namespace pollution (if_list) In-reply-to: Your message of "Tue, 28 Mar 2000 15:19:07 EST." <20000328151907.K8280@merit.edu> From: David Greenman Reply-To: dg@root.com Date: Tue, 28 Mar 2000 14:39:58 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I thought I would drop a note since this is the _second_ time in the >last year that I've had to change my code becuase new defines were >added to freebsd's header files unprotected. > >This time its in if_var.h: > > /* for compatibility with other BSDs */ > #define if_addrlist if_addrhead > #define if_list if_link > >Are people failing to realize that this now prohibits use of >`if_list' and `if_addrlist' in user programs?? Looks like this was added as part of the IPv6 integration by the KAME team. I don't have much to say about it other than programs shouldn't need to include if_var.h unless there is a deficiency in the user-kernel interface (in which case that should be fixed). -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message