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