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

Method IsRFC3927

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

Source from the content-addressed store, hash-verified

333}
334
335bool CNetAddr::IsRFC3927() const
336{
337 return IsIPv4() && HasPrefix(m_addr, std::array<uint8_t, 2>{169, 254});
338}
339
340bool CNetAddr::IsRFC6598() const
341{

Callers 2

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