diff options
author | Alexander Pyhalov <apyhalov@gmail.com> | 2017-02-18 09:01:54 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-03-04 23:20:29 +0000 |
commit | 39b16bd33a2633978bee6aed53e3afeb26399eb4 (patch) | |
tree | bc4da1b865db05553e9bd23146c13c66a48c709b /usr/src/uts/common/netinet | |
parent | e1508819051004d7be493a04ee515905ae412142 (diff) | |
download | illumos-joyent-39b16bd33a2633978bee6aed53e3afeb26399eb4.tar.gz |
7840 Define uint16_t member in in6_addr
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/netinet')
-rw-r--r-- | usr/src/uts/common/netinet/in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/common/netinet/in.h b/usr/src/uts/common/netinet/in.h index d530b7f36e..d77d014e0c 100644 --- a/usr/src/uts/common/netinet/in.h +++ b/usr/src/uts/common/netinet/in.h @@ -117,9 +117,11 @@ struct in6_addr { */ #ifdef _KERNEL uint32_t _S6_u32[4]; /* IPv6 address */ + uint16_t _S6_u16[8]; /* IPv6 address */ uint8_t _S6_u8[16]; /* IPv6 address */ #else uint8_t _S6_u8[16]; /* IPv6 address */ + uint16_t _S6_u16[8]; /* IPv6 address */ uint32_t _S6_u32[4]; /* IPv6 address */ #endif uint32_t __S6_align; /* Align on 32 bit boundary */ @@ -129,6 +131,7 @@ struct in6_addr { #ifdef _KERNEL #define s6_addr8 _S6_un._S6_u8 +#define s6_addr16 _S6_un._S6_u16 #define s6_addr32 _S6_un._S6_u32 #endif |