Searched refs:network_address (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | ipaddress.py | 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) <= [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_ipaddress.py | 985 self.assertEqual(int(self.ipv4_network.network_address), 16909056) 986 self.assertEqual(str(self.ipv4_network.network_address), '1.2.3.0') 988 self.assertEqual(int(self.ipv6_network.network_address), 990 self.assertEqual(str(self.ipv6_network.network_address), 1001 self.assertEqual(ipv4, ipaddress.ip_network(int(ipv4.network_address))) 1002 self.assertEqual(ipv6, ipaddress.ip_network(int(ipv6.network_address))) 1088 self.assertEqual(str(self.ipv4_network.supernet().network_address), 1095 self.assertEqual(str(self.ipv6_network.supernet().network_address), 1102 self.assertEqual(str(self.ipv4_network.supernet(3).network_address), 1106 self.assertEqual(str(self.ipv6_network.supernet(3).network_address), [all …]
|
/external/tcpdump/ |
D | print-babel.c | 237 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/cpython3/Doc/library/ |
D | ipaddress.rst | 437 .. attribute:: network_address 642 .. attribute:: network_address
|