Home
last modified time | relevance | path

Searched refs:IPv4Interface (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_ipaddress.py476 factory = ipaddress.IPv4Interface
669 v4intf = ipaddress.IPv4Interface(1)
683 v4intf2 = ipaddress.IPv4Interface(2)
810 self.ipv4_interface = ipaddress.IPv4Interface('1.2.3.4/24')
821 repr(ipaddress.IPv4Interface('1.2.3.4')))
883 self.assertEqual(ipaddress.IPv4Interface(('192.0.2.1', 24)),
884 ipaddress.IPv4Interface('192.0.2.1/24'))
885 self.assertEqual(ipaddress.IPv4Interface((3221225985, 24)),
886 ipaddress.IPv4Interface('192.0.2.1/24'))
997 ipaddress.IPv4Interface(16909060)._ip)
[all …]
/external/python/cpython3/Doc/library/
Dipaddress.rst31 ip_network, IPv4Address, IPv4Interface, IPv4Network,
70 Return an :class:`IPv4Interface` or :class:`IPv6Interface` object depending
742 .. class:: IPv4Interface(address)
748 :class:`IPv4Interface` is a subclass of :class:`IPv4Address`, so it inherits
756 >>> interface = IPv4Interface('192.0.2.5/24')
764 >>> interface = IPv4Interface('192.0.2.5/24')
772 >>> interface = IPv4Interface('192.0.2.5/24')
780 >>> interface = IPv4Interface('192.0.2.5/24')
788 >>> interface = IPv4Interface('192.0.2.5/24')
810 :class:`IPv4Interface`.
/external/python/cpython3/Lib/
Dipaddress.py109 return IPv4Interface(address)
1379 class IPv4Interface(IPv4Address): class
/external/python/cpython3/Doc/howto/
Dipaddress.rst148 IPv4Interface('192.0.2.1/24')