• Home
  • Raw
  • Download

Lines Matching refs:network_address

342                 ips.append(ip.network_address)
614 return '%s/%d' % (self.network_address, self.prefixlen)
623 network = int(self.network_address)
629 network = int(self.network_address)
635 network = int(self.network_address)
653 if self.network_address != other.network_address:
654 return self.network_address < other.network_address
662 self.network_address == other.network_address and
668 return hash(int(self.network_address) ^ int(self.netmask))
680 return (int(self.network_address) <= int(other._ip) <=
685 return self.network_address in other or (
687 other.network_address in self or (
694 x = self._address_class(int(self.network_address) |
709 return '%s/%d' % (self.network_address, self._prefixlen)
713 return '%s/%s' % (self.network_address, self.netmask)
717 return '%s/%s' % (self.network_address, self.hostmask)
722 return int(self.broadcast_address) - int(self.network_address) + 1
785 other = other.__class__('%s/%s' % (other.network_address,
848 if self.network_address < other.network_address:
850 if self.network_address > other.network_address:
867 return (self._version, self.network_address, self.netmask)
915 start = int(self.network_address)
959 int(self.network_address) & (int(self.netmask) << prefixlen_diff),
972 return (self.network_address.is_multicast and
981 return (b.network_address <= a.network_address and
1004 return (self.network_address.is_reserved and
1015 return (self.network_address.is_link_local and
1027 return (self.network_address.is_private and
1050 return (self.network_address.is_unspecified and
1062 return (self.network_address.is_loopback and
1438 return self._ip ^ self._prefixlen ^ int(self.network.network_address)
1531 self.network_address = IPv4Address(addr)
1533 packed = int(self.network_address)
1538 self.network_address = IPv4Address(packed &
1554 return (not (self.network_address in IPv4Network('100.64.0.0/10') and
1846 ip_str = str(self.network_address)
2112 return self._ip ^ self._prefixlen ^ int(self.network.network_address)
2209 self.network_address = IPv6Address(addr)
2211 packed = int(self.network_address)
2216 self.network_address = IPv6Address(packed &
2229 network = int(self.network_address)
2246 return (self.network_address.is_site_local and