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

Method IsRFC2544

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

Source from the content-addressed store, hash-verified

317}
318
319bool CNetAddr::IsRFC2544() const
320{
321 return IsIPv4() && m_addr[0] == 198 && (m_addr[1] == 18 || m_addr[1] == 19);
322}
323
324bool CNetAddr::IsRFC3927() const
325{

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls 1

IsIPv4Function · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64