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

Function IsRFC4193

connectd/netaddress.c:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static bool IsRFC4193(const struct wireaddr *addr)
127{
128 return IsIPv6(addr) && ((GetByte(addr, 15) & 0xFE) == 0xFC);
129}
130
131static bool IsRFC4843(const struct wireaddr *addr)
132{

Callers 1

IsRoutableFunction · 0.85

Calls 2

IsIPv6Function · 0.85
GetByteFunction · 0.85

Tested by

no test coverage detected