(in netinet/in.h ):
/* INET6 stuff */
#define __KAME_NETINET_IN_H_INCLUDED_
#include <netinet6/in6.h>
#undef __KAME_NETINET_IN_H_INCLUDED_
( netinet6/in6.h ):
/*
* IPv6 address
*/
struct in6_addr {
union {
u_int8_t __u6_addr8[16];
u_int16_t __u6_addr16[8];
u_int32_t __u6_addr32[4];
} __u6_addr; /* 128-bit IP6 address */
};
its sorta greek for me
Eric
On Sat, 27 May 2000, Sam Varshavchik wrote:
On Sat, 27 May 2000, Eric Peters wrote:
su-2.03$ uname -a
FreeBSD dstone.datainnovations.com 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Sat May
27 00:03:34 EDT 2000
ro...@dstone.datainnovations.com:/usr/src/sys/compile/DIKERNEL i386
su-2.03$
I'll see what I can find with regard to the s6_addr16/32 if you know what it is
the patch would be great but i'll see about making one too
This is supposed to be part of your IPv6 support deal. You should have
something like the following in your netinet/in.h:
/* IPv6 address */
struct in6_addr
{
union
{
uint8_t u6_addr8[16];
uint16_t u6_addr16[8];
uint32_t u6_addr32[4];
#if ULONG_MAX > 0xffffffff
uint64_t u6_addr64[2];
#endif
} in6_u;
#define s6_addr in6_u.u6_addr8
#define s6_addr16 in6_u.u6_addr16
#define s6_addr32 in6_u.u6_addr32
#define s6_addr64 in6_u.u6_addr64
};
You can always configure --without-ipv6, which will cut out IPv6 support
completely.