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

Method isNodeLocalMC

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

224.0.0.0/8

Source from the content-addressed store, hash-verified

124 bool isIPv4Mapped() const { return true; }
125 bool isWellKnownMC() const { return (ntohl(_addr.s_addr) & 0xFFFFFF00) == 0xE0000000; } // 224.0.0.0/8
126 bool isNodeLocalMC() const { return false; }
127 bool isLinkLocalMC() const { return (ntohl(_addr.s_addr) & 0xFF000000) == 0xE0000000; } // 244.0.0.0/24
128 bool isSiteLocalMC() const { return (ntohl(_addr.s_addr) & 0xFFFF0000) == 0xEFFF0000; } // 239.255.0.0/16
129 bool isOrgLocalMC() const { return (ntohl(_addr.s_addr) & 0xFFFF0000) == 0xEFC00000; } // 239.192.0.0/16

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected