MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsIPv4

Method IsIPv4

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

Source from the content-addressed store, hash-verified

316}
317
318bool CNetAddr::IsIPv4() const { return m_net == NET_IPV4; }
319
320bool CNetAddr::IsIPv6() const { return m_net == NET_IPV6; }
321

Callers 5

CSubNetMethod · 0.80
ThreadOpenConnectionsMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64