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

Function IsRFC3927

connectd/netaddress.c:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static bool IsRFC3927(const struct wireaddr *addr)
99{
100 return IsIPv4(addr) && (GetByte(addr, 3) == 169 && GetByte(addr, 2) == 254);
101}
102
103static bool IsRFC6598(const struct wireaddr *addr)
104{

Callers 1

IsRoutableFunction · 0.85

Calls 2

IsIPv4Function · 0.85
GetByteFunction · 0.85

Tested by

no test coverage detected