• Home
  • Raw
  • Download

Lines Matching refs:network_address

462                 ips.append(ip.network_address)
738 return '%s/%d' % (self.network_address, self.prefixlen)
747 network = int(self.network_address)
753 network = int(self.network_address)
759 network = int(self.network_address)
780 if self.network_address != other.network_address:
781 return self.network_address < other.network_address
789 self.network_address == other.network_address and
795 return hash(int(self.network_address) ^ int(self.netmask))
807 return (int(self.network_address) <= int(other._ip) <=
812 return self.network_address in other or (
814 other.network_address in self or (
821 x = self._address_class(int(self.network_address) |
836 return '%s/%d' % (self.network_address, self._prefixlen)
840 return '%s/%s' % (self.network_address, self.netmask)
844 return '%s/%s' % (self.network_address, self.hostmask)
849 return int(self.broadcast_address) - int(self.network_address) + 1
912 other = other.__class__('%s/%s' % (other.network_address,
975 if self.network_address < other.network_address:
977 if self.network_address > other.network_address:
994 return (self._version, self.network_address, self.netmask)
1042 start = int(self.network_address)
1086 int(self.network_address) & (int(self.netmask) << prefixlen_diff),
1098 return (self.network_address.is_multicast and
1108 return (b.network_address <= a.network_address and
1131 return (self.network_address.is_reserved and
1142 return (self.network_address.is_link_local and
1154 return (self.network_address.is_private and
1177 return (self.network_address.is_unspecified and
1189 return (self.network_address.is_loopback and
1539 return self._ip ^ self._prefixlen ^ int(self.network.network_address)
1619 self.network_address = IPv4Address(address)
1631 self.network_address = IPv4Address(address[0])
1633 packed = int(self.network_address)
1638 self.network_address = IPv4Address(packed &
1645 self.network_address = IPv4Address(self._ip_int_from_string(addr[0]))
1654 if (IPv4Address(int(self.network_address) & int(self.netmask)) !=
1655 self.network_address):
1657 self.network_address = IPv4Address(int(self.network_address) &
1672 return (not (self.network_address in IPv4Network('100.64.0.0/10') and
1966 ip_str = _compat_str(self.network_address)
2232 return self._ip ^ self._prefixlen ^ int(self.network.network_address)
2316 self.network_address = IPv6Address(address)
2327 self.network_address = IPv6Address(address[0])
2328 packed = int(self.network_address)
2333 self.network_address = IPv6Address(packed &
2341 self.network_address = IPv6Address(self._ip_int_from_string(addr[0]))
2350 if (IPv6Address(int(self.network_address) & int(self.netmask)) !=
2351 self.network_address):
2353 self.network_address = IPv6Address(int(self.network_address) &
2366 network = int(self.network_address)
2383 return (self.network_address.is_site_local and