Lines Matching defs:Ipv6Net
114 pub struct Ipv6Net { struct
115 addr: Ipv6Addr,
116 prefix_len: u8,
995 impl Ipv6Net { implementation
1012 pub const fn new(ip: Ipv6Addr, prefix_len: u8) -> Result<Ipv6Net, PrefixLenError> { in new()
1045 pub const fn new_assert(ip: Ipv6Addr, prefix_len: u8) -> Ipv6Net { in new_assert()
1064 pub fn with_netmask(ip: Ipv6Addr, netmask: Ipv6Addr) -> Result<Ipv6Net, PrefixLenError> { in with_netmask()
1082 pub fn trunc(&self) -> Ipv6Net { in trunc()
1190 pub fn supernet(&self) -> Option<Ipv6Net> { in supernet()
1328 pub fn aggregate(networks: &Vec<Ipv6Net>) -> Vec<Ipv6Net> { in aggregate()
1344 impl Default for Ipv6Net { implementation
1353 impl fmt::Debug for Ipv6Net { implementation
1359 impl fmt::Display for Ipv6Net { implementation
1365 impl From<Ipv6Addr> for Ipv6Net { implementation
1366 fn from(addr: Ipv6Addr) -> Ipv6Net { in from()
1441 impl<'a> Contains<&'a Ipv6Net> for Ipv6Net { implementation
1447 impl<'a> Contains<&'a Ipv6Addr> for Ipv6Net { implementation
1626 fn next_ipv6_subnet(start: Ipv6Addr, end: Ipv6Addr, min_prefix_len: u8) -> Ipv6Net { in next_ipv6_subnet()