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

Method isNodeLocalMC

MonaBase/sources/IPAddress.cpp:259–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 return (ntohs(words[0]) & 0xFFF0) == 0xFF00;
258 }
259 bool isNodeLocalMC() const {
260 const UInt16* words = reinterpret_cast<const UInt16*>(&_addr);
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected