| 241 | return (ntohs(words[0]) & 0xFFE0) == 0xFE80; |
| 242 | } |
| 243 | bool isSiteLocal() const { |
| 244 | const UInt16* words = reinterpret_cast<const UInt16*>(&_addr); |
| 245 | return (ntohs(words[0]) & 0xFFE0) == 0xFEC0; |
| 246 | } |
| 247 | bool isIPv4Compatible() const { |
| 248 | const UInt16* words = reinterpret_cast<const UInt16*>(&_addr); |
| 249 | return words[0] == 0 && words[1] == 0 && words[2] == 0 && words[3] == 0 && words[4] == 0 && words[5] == 0; |
nothing calls this directly
no outgoing calls
no test coverage detected