[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Announcing IPv6 support for the IRC software



> > In os.h
> > |# if defined(linux) || defined(__NetBSD__)
> > |#  ifndef s6_laddr
> > |#   define s6_laddr        s6_addr32
> > |#  endif
> > |# endif
> > 
> > I believe that many ipv6 os/systems support s6_addr32 not s6_laddr.
> > Would you handle s6_laddr as a special case? (digital unix??)
> 
> I intend to, just as soon as I know how struct in6_addr is done in at
> least another ipv6 implementation.
> 
> You were saying that all (many/most?) systems have s6_addr32, while
> Digital Unix is a single case with s6_laddr?
> Have you seen more variants than s6_addr32 and s6_addr?

Ok. I found a system which doesn't have both s6_addr32 and s6_laddr. :)
So we should use only the members (or aliases) that are defined in RFC2133.

irc2.9.5+IPv6 has some s6_laddr in res.c and s_bsd.c. But we can
easily implement them without using s6_laddr. Another good idea?

-- 
KIKUCHI Takahiro <kick@xxxxxxxxxxxxxxxx>