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

Method IsRFC4380

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

Source from the content-addressed store, hash-verified

367}
368
369bool CNetAddr::IsRFC4380() const
370{
371 return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 4>{0x20, 0x01, 0x00, 0x00});
372}
373
374bool CNetAddr::IsRFC4862() const
375{

Callers 3

GetExtNetworkFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls 1

HasPrefixFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64