From: Lionel Sambuc Date: Tue, 22 Apr 2014 16:50:26 +0000 (+0200) Subject: in6.h X-Git-Tag: v3.3.0~365 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=307904234cc729a8bd7f44b3c054e7b7b5c7fb24;p=minix.git in6.h Change-Id: Id548a6a144ca77ef3a7bb76f24b8b902efd680b4 --- diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index 644b64c4b..0f7f19282 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -143,9 +143,7 @@ struct in6_addr { #define SIN6_LEN #endif struct sockaddr_in6 { -#if !defined(__minix) uint8_t sin6_len; /* length of this struct(socklen_t)*/ -#endif /* !defined(__minix) */ sa_family_t sin6_family; /* AF_INET6 (sa_family_t) */ in_port_t sin6_port; /* Transport layer port */ uint32_t sin6_flowinfo; /* IP6 flow information */ @@ -153,7 +151,6 @@ struct sockaddr_in6 { uint32_t sin6_scope_id; /* scope zone index */ }; -#if !defined(__minix) /* * Local definition for masks */ @@ -203,7 +200,6 @@ extern const struct in6_addr in6mask128; #define IPV6_ADDR_INT16_MLL 0x02ff #endif #endif -#endif /* !defined(__minix) */ /* * Definition of some useful macros to handle IP6 addresses