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

Method prefixLength

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

Source from the content-addressed store, hash-verified

134 }
135
136 UInt8 prefixLength() const {
137 return MaskBits(ntohl(_addr.s_addr), 32);
138 }
139
140 static IPv4Address* Parse(Exception& ex,const char* address) {
141 if (!address || !Net::InitializeNetwork(ex))

Callers

nothing calls this directly

Calls 1

MaskBitsFunction · 0.85

Tested by

no test coverage detected