• Home
  • Raw
  • Download

Lines Matching refs:network_address

342                 ips.append(ip.network_address)
685 return '%s/%d' % (self.network_address, self.prefixlen)
694 network = int(self.network_address)
700 network = int(self.network_address)
706 network = int(self.network_address)
724 if self.network_address != other.network_address:
725 return self.network_address < other.network_address
733 self.network_address == other.network_address and
739 return hash(int(self.network_address) ^ int(self.netmask))
751 return other._ip & self.netmask._ip == self.network_address._ip
755 return self.network_address in other or (
757 other.network_address in self or (
762 return self._address_class(int(self.network_address) |
771 return '%s/%d' % (self.network_address, self._prefixlen)
775 return '%s/%s' % (self.network_address, self.netmask)
779 return '%s/%s' % (self.network_address, self.hostmask)
784 return int(self.broadcast_address) - int(self.network_address) + 1
847 other = other.__class__('%s/%s' % (other.network_address,
910 if self.network_address < other.network_address:
912 if self.network_address > other.network_address:
929 return (self._version, self.network_address, self.netmask)
977 start = int(self.network_address)
1021 int(self.network_address) & (int(self.netmask) << prefixlen_diff),
1034 return (self.network_address.is_multicast and
1043 return (b.network_address <= a.network_address and
1066 return (self.network_address.is_reserved and
1077 return (self.network_address.is_link_local and
1089 return (self.network_address.is_private and
1112 return (self.network_address.is_unspecified and
1124 return (self.network_address.is_loopback and
1423 return hash((self._ip, self._prefixlen, int(self.network.network_address)))
1499 self.network_address = IPv4Address(addr)
1501 packed = int(self.network_address)
1506 self.network_address = IPv4Address(packed &
1524 return (not (self.network_address in IPv4Network('100.64.0.0/10') and
1818 ip_str = str(self.network_address)
2123 return hash((self._ip, self._prefixlen, int(self.network.network_address)))
2204 self.network_address = IPv6Address(addr)
2206 packed = int(self.network_address)
2211 self.network_address = IPv6Address(packed &
2226 network = int(self.network_address)
2243 return (self.network_address.is_site_local and