winapi_ui_automation/shared/
in6addr.rs

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//! IPv6 Internet address, 'on-wire' format structure.
7use shared::minwindef::{UCHAR, USHORT};
8UNION!{union in6_addr_u {
9    [u16; 8],
10    Byte Byte_mut: [UCHAR; 16],
11    Word Word_mut: [USHORT; 8],
12}}
13STRUCT!{struct in6_addr {
14    u: in6_addr_u,
15}}
16pub type IN6_ADDR = in6_addr;
17pub type PIN6_ADDR = *mut IN6_ADDR;
18pub type LPIN6_ADDR = *mut IN6_ADDR;