Subject: Re: sys/netipsec vs. (FreeBSD) #include
To: None <email@example.com>
From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
Date: 03/17/2004 07:57:37
> As far as I can tell, the sole obstacle to configuring, compiling, and
> linking both FAST_IPSEC (src/sys/netipsec) and `options INET6' is
> three or four references to the FreeBSD version of a KAME header file,
> sys/netinet6/ip6_ecn.h. That file does not exist in NetBSD-current;
> intsead the functions ip6_ecn_ingress() and ip6_ecn_egress() are
> defined in sys/netinet/ip_ecn.h, inside #ifdef INET6/#endif.
the change was made by freebsd guys with some reason unknown to us
(kame). netbsd follows the code from kame.
> Rather than dink a half-dozen more "#ifdef __FreeBSD__ " into the
> fast-ipsec source, I'd prefer to move those two functions into
> netinet6/ip6_ecn.h, and preserve the existing namespace by having
> netinet/ip_ecn.h do
> #ifdef INET6
> #include <netinet6/ip6_ecn.h>
> Comments? Or is it likely FreeBSD would buy back the newer(?)
> NetBSD-style, unified header?
to make kame synchronization easier, freebsd would go back to ip_ecn.h
(and no ip6_ecn.h).