1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared::minwindef::{UCHAR, USHORT};
7 UNION!{union in6_addr_u {
8     [u16; 8],
9     Byte Byte_mut: [UCHAR; 16],
10     Word Word_mut: [USHORT; 8],
11 }}
12 STRUCT!{struct in6_addr {
13     u: in6_addr_u,
14 }}
15 pub type IN6_ADDR = in6_addr;
16 pub type PIN6_ADDR = *mut IN6_ADDR;
17 pub type LPIN6_ADDR = *mut IN6_ADDR;
18