cvs commit: src/sys/netinet icmp6.h ip6.h src/sys/netinet6 in6.h

Bruce Evans bde at zeta.org.au
Sun Oct 26 20:22:24 PST 2003


On Sun, 26 Oct 2003, Hajimu UMEMOTO wrote:

> >>>>> On Sun, 26 Oct 2003 16:38:38 +1100 (EST)
> >>>>> Bruce Evans <bde at zeta.org.au> said:
>
> bde> - the closure of the changes for <netinet/in.h> apparently included
> bde>   some KAME headers.
>
> I found that there was one use of u_int32_t in newly introduced struct
> definition.  I've just correct to use uint32_t.  I believe it fix the
> problem.  Sorry for the mess.

There are also lots of u_int32_t's in #defines in at least <netinet/in.h>.
These don't prevent including the header without a prior include of
<sys/types.h>, but they prevent using the macros.  There are also some
u_char's in comments.  Many of the macros are not fully parenthesized.
E.g.:

#define	INADDR_ANY		(u_int32_t)0x00000000
#define	IP_MULTICAST_IF		9    /* u_char; set/get IP multicast i/f  */

Bruce


More information about the cvs-all mailing list