Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 14:39:58 -0800
From:      David Greenman <dg@root.com>
To:        "Christian E. Hopps" <chopps@merit.edu>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: namespace pollution (if_list) 
Message-ID:  <200003282239.OAA21034@implode.root.com>
In-Reply-To: Your message of "Tue, 28 Mar 2000 15:19:07 EST." <20000328151907.K8280@merit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003282239.OAA21034>