Home
last modified time | relevance | path

Searched refs:network_address (Results 1 – 7 of 7) sorted by relevance

/external/python/ipaddress/
Dipaddress.py462 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) <=
[all …]
Dtest_ipaddress.py1042 self.assertEqual(int(self.ipv4_network.network_address), 16909056)
1044 _compat_str(self.ipv4_network.network_address),
1047 self.assertEqual(int(self.ipv6_network.network_address),
1049 self.assertEqual(_compat_str(self.ipv6_network.network_address),
1060 self.assertEqual(ipv4, ipaddress.ip_network(int(ipv4.network_address)))
1061 self.assertEqual(ipv6, ipaddress.ip_network(int(ipv6.network_address)))
1147 _compat_str(self.ipv4_network.supernet().network_address),
1155 _compat_str(self.ipv6_network.supernet().network_address),
1164 _compat_str(self.ipv4_network.supernet(3).network_address),
1169 _compat_str(self.ipv6_network.supernet(3).network_address),
[all …]
/external/python/cpython3/Lib/
Dipaddress.py342 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
[all …]
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1219 self.assertEqual(int(self.ipv4_network.network_address), 16909056)
1220 self.assertEqual(str(self.ipv4_network.network_address), '1.2.3.0')
1222 self.assertEqual(int(self.ipv6_network.network_address),
1224 self.assertEqual(str(self.ipv6_network.network_address),
1228 self.assertEqual(int(self.ipv6_scoped_network.network_address),
1230 self.assertEqual(str(self.ipv6_scoped_network.network_address),
1242 self.assertEqual(ipv4, ipaddress.ip_network(int(ipv4.network_address)))
1243 self.assertEqual(ipv6, ipaddress.ip_network(int(ipv6.network_address)))
1244 self.assertNotEqual(ipv6_scoped, ipaddress.ip_network(int(ipv6_scoped.network_address)))
1297 self.assertEqual(self.ipv6_network.network_address.scope_id,
[all …]
/external/tcpdump/
Dprint-babel.c237 network_address(int ae, const unsigned char *a, unsigned int len, in network_address() function
442 rc = network_address(message[2], message + 8, len - 6, address); in babel_print_v2()
473 rc = network_address(message[2], message + 4, len - 2, nh); in babel_print_v2()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py422 name.value.network_address.packed +
427 name.value.network_address.packed +
/external/python/cpython3/Doc/library/
Dipaddress.rst491 .. attribute:: network_address
699 .. attribute:: network_address