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

Method IsIPv6

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

Source from the content-addressed store, hash-verified

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

Callers 7

CSubNetMethod · 0.80
ThreadOpenConnectionsMethod · 0.80
BindListenPortMethod · 0.80
IsZMQAddressIPV6Function · 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