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

Function IsRFC6598

connectd/netaddress.c:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static bool IsRFC6598(const struct wireaddr *addr)
104{
105 return IsIPv4(addr) && GetByte(addr, 3) == 100 && GetByte(addr, 2) >= 64 && GetByte(addr, 2) <= 127;
106}
107
108static bool IsRFC5737(const struct wireaddr *addr)
109{

Callers 1

IsRoutableFunction · 0.85

Calls 2

IsIPv4Function · 0.85
GetByteFunction · 0.85

Tested by

no test coverage detected