Tuple of embedded teredo IPs. Returns: Tuple of the (server, client) IPs or None if the address doesn't appear to be a teredo address (doesn't start with 2001::/32)
(self)
| 2173 | |
| 2174 | @property |
| 2175 | def teredo(self): |
| 2176 | """Tuple of embedded teredo IPs. |
| 2177 | |
| 2178 | Returns: |
| 2179 | Tuple of the (server, client) IPs or None if the address |
| 2180 | doesn't appear to be a teredo address (doesn't start with |
| 2181 | 2001::/32) |
| 2182 | |
| 2183 | """ |
| 2184 | if (self._ip >> 96) != 0x20010000: |
| 2185 | return None |
| 2186 | return (IPv4Address((self._ip >> 64) & 0xFFFFFFFF), |
| 2187 | IPv4Address(~self._ip & 0xFFFFFFFF)) |
| 2188 | |
| 2189 | @property |
| 2190 | def sixtofour(self): |
nothing calls this directly
no test coverage detected