Home
last modified time | relevance | path

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

/third_party/rust/crates/rustix/src/net/
Dip.rs269 pub const fn is_loopback(&self) -> bool { in is_loopback() method
271 IpAddr::V4(ip) => ip.is_loopback(), in is_loopback()
272 IpAddr::V6(ip) => ip.is_loopback(), in is_loopback()
601 pub const fn is_loopback(&self) -> bool { in is_loopback() method
753 || self.is_loopback() in is_global()
1331 pub const fn is_loopback(&self) -> bool { in is_loopback() method
1408 || self.is_loopback() in is_global()
1638 && !self.is_loopback() in is_unicast_global()
/third_party/python/Lib/
Dipaddress.py1117 def is_loopback(self): member in _BaseNetwork
1125 return (self.network_address.is_loopback and
1126 self.broadcast_address.is_loopback)
1366 def is_loopback(self): member in IPv4Address
2038 def is_loopback(self): member in IPv6Address
2161 def is_loopback(self): member in IPv6Interface
2162 return self._ip == 1 and self.network.is_loopback
/third_party/python/Lib/test/
Dtest_ipaddress.py2213 '127.100.200.254/32').is_loopback)
2215 '127.42.0.0/16').is_loopback)
2216 self.assertEqual(False, ipaddress.ip_network('128.0.0.0').is_loopback)
2252 ipaddress.ip_address('127.100.200.254').is_loopback)
2253 self.assertEqual(True, ipaddress.ip_address('127.42.0.0').is_loopback)
2254 self.assertEqual(False, ipaddress.ip_address('128.0.0.0').is_loopback)
2284 self.assertEqual(True, ipaddress.ip_interface('0:0::0:01').is_loopback)
2285 self.assertEqual(False, ipaddress.ip_interface('::1/127').is_loopback)
2286 self.assertEqual(False, ipaddress.ip_network('::').is_loopback)
2287 self.assertEqual(False, ipaddress.ip_network('::2').is_loopback)
[all …]
/third_party/python/Doc/library/
Dipaddress.rst212 .. attribute:: is_loopback
307 .. attribute:: is_loopback
505 .. attribute:: is_loopback
717 .. attribute:: is_loopback