MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / IsRFC4380

Method IsRFC4380

src/netbase.cpp:630–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630bool CNetAddr::IsRFC4380() const {
631 return (GetByte(15) == 0x20 && GetByte(14) == 0x01 && GetByte(13) == 0 && GetByte(12) == 0);
632}
633
634bool CNetAddr::IsRFC4862() const {
635 static const unsigned char pchRFC4862[] = {0xFE, 0x80, 0, 0, 0, 0, 0, 0};

Callers 2

GetExtNetworkFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64