MCPcopy Create free account
hub / github.com/LUX-Core/lux / IsIPv4

Method IsIPv4

src/netbase.cpp:683–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683bool CNetAddr::IsIPv4() const
684{
685 return (memcmp(ip, pchIPv4, sizeof(pchIPv4)) == 0);
686}
687
688bool CNetAddr::IsIPv6() const
689{

Callers 4

readMethod · 0.80
CSubNetMethod · 0.80
ToStringMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64