MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / isLinkLocalMC

Method isLinkLocalMC

MonaBase/sources/IPAddress.cpp:263–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 return (ntohs(words[0]) & 0xFFEF) == 0xFF01;
262 }
263 bool isLinkLocalMC() const {
264 const UInt16* words = reinterpret_cast<const UInt16*>(&_addr);
265 return (ntohs(words[0]) & 0xFFEF) == 0xFF02;
266 }
267 bool isSiteLocalMC() const {
268 const UInt16* words = reinterpret_cast<const UInt16*>(&_addr);
269 return (ntohs(words[0]) & 0xFFEF) == 0xFF05;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected