MCPcopy Create free account
hub / github.com/ElementsProject/lightning / IsRFC4862

Function IsRFC4862

connectd/netaddress.c:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static bool IsRFC4862(const struct wireaddr *addr)
121{
122 static const unsigned char pchRFC4862[] = {0xFE,0x80,0,0,0,0,0,0};
123 return IsIPv6(addr) && RawEq(addr, pchRFC4862, sizeof(pchRFC4862));
124}
125
126static bool IsRFC4193(const struct wireaddr *addr)
127{

Callers 1

IsRoutableFunction · 0.85

Calls 2

IsIPv6Function · 0.85
RawEqFunction · 0.85

Tested by

no test coverage detected