Searched refs:is_loopback (Results 1 – 4 of 4) sorted by relevance
269 pub const fn is_loopback(&self) -> bool { in is_loopback() method271 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() method753 || self.is_loopback() in is_global()1331 pub const fn is_loopback(&self) -> bool { in is_loopback() method1408 || self.is_loopback() in is_global()1638 && !self.is_loopback() in is_unicast_global()
1117 def is_loopback(self): member in _BaseNetwork1125 return (self.network_address.is_loopback and1126 self.broadcast_address.is_loopback)1366 def is_loopback(self): member in IPv4Address2038 def is_loopback(self): member in IPv6Address2161 def is_loopback(self): member in IPv6Interface2162 return self._ip == 1 and self.network.is_loopback
2213 '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 …]
212 .. attribute:: is_loopback307 .. attribute:: is_loopback505 .. attribute:: is_loopback717 .. attribute:: is_loopback