Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
98
static bool IsRFC3927(const struct wireaddr *addr)
99
{
100
return IsIPv4(addr) && (GetByte(addr, 3) == 169 && GetByte(addr, 2) == 254);
101
}
102
103
static bool IsRFC6598(const struct wireaddr *addr)
104
{
Callers
1
IsRoutable
Function · 0.85
Calls
2
IsIPv4
Function · 0.85
GetByte
Function · 0.85
Tested by
no test coverage detected