MCPcopy Create free account
hub / github.com/LUX-Core/lux / IsRFC4380

Method IsRFC4380

src/netbase.cpp:738–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736}
737
738bool CNetAddr::IsRFC4380() const
739{
740 return (GetByte(15) == 0x20 && GetByte(14) == 0x01 && GetByte(13) == 0 && GetByte(12) == 0);
741}
742
743bool CNetAddr::IsRFC4862() const
744{

Callers 2

GetExtNetworkFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

GetByteFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64