Lines Matching refs:Ipv6Addr
274 sin6_addr: Ipv6Addr::from_std(addr.ip()).0, in from_std()
307 InetAddr::V6(ref sa) => IpAddr::V6(Ipv6Addr(sa.sin6_addr)), in ip()
327 Ipv6Addr(sa.sin6_addr).to_std(), in to_std()
356 V6(Ipv6Addr),
373 IpAddr::V6(Ipv6Addr::new(a, b, c, d, e, f, g, h)) in new_v6()
379 net::IpAddr::V6(ref std) => IpAddr::V6(Ipv6Addr::from_std(std)), in from_std()
456 pub struct Ipv6Addr(pub libc::in6_addr); struct
474 impl Ipv6Addr { implementation
477 pub fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr { in new() argument
478 Ipv6Addr(libc::in6_addr{s6_addr: to_u8_array!(a,b,c,d,e,f,g,h)}) in new()
481 pub fn from_std(std: &net::Ipv6Addr) -> Ipv6Addr { in from_std() argument
483 Ipv6Addr::new(s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7]) in from_std()
491 pub fn to_std(&self) -> net::Ipv6Addr { in to_std() argument
493 net::Ipv6Addr::new(s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7]) in to_std()
497 impl fmt::Display for Ipv6Addr { implementation