Return the IPv4 6to4 embedded address. Returns: The IPv4 6to4-embedded address if present or None if the address doesn't appear to contain a 6to4 embedded address.
(self)
| 2188 | |
| 2189 | @property |
| 2190 | def sixtofour(self): |
| 2191 | """Return the IPv4 6to4 embedded address. |
| 2192 | |
| 2193 | Returns: |
| 2194 | The IPv4 6to4-embedded address if present or None if the |
| 2195 | address doesn't appear to contain a 6to4 embedded address. |
| 2196 | |
| 2197 | """ |
| 2198 | if (self._ip >> 112) != 0x2002: |
| 2199 | return None |
| 2200 | return IPv4Address((self._ip >> 80) & 0xFFFFFFFF) |
| 2201 | |
| 2202 | |
| 2203 | class IPv6Interface(IPv6Address): |
nothing calls this directly
no test coverage detected