MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsRFC4862

Method IsRFC4862

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

Source from the content-addressed store, hash-verified

361}
362
363bool CNetAddr::IsRFC4862() const
364{
365 return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 8>{0xFE, 0x80, 0x00, 0x00,
366 0x00, 0x00, 0x00, 0x00});
367}
368
369bool CNetAddr::IsRFC4193() const
370{

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls 2

IsIPv6Function · 0.85
HasPrefixFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64