MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / IsIPv4

Method IsIPv4

src/netaddress.cpp:85–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool CNetAddr::IsIPv4() const
86{
87 return (memcmp(ip, pchIPv4, sizeof(pchIPv4)) == 0);
88}
89
90bool CNetAddr::IsIPv6() const
91{

Callers 3

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