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