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

Function IsRFC2544

connectd/netaddress.c:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static bool IsRFC2544(const struct wireaddr *addr)
94{
95 return IsIPv4(addr) && GetByte(addr, 3) == 198 && (GetByte(addr, 2) == 18 || GetByte(addr, 2) == 19);
96}
97
98static bool IsRFC3927(const struct wireaddr *addr)
99{

Callers 1

IsRoutableFunction · 0.85

Calls 2

IsIPv4Function · 0.85
GetByteFunction · 0.85

Tested by

no test coverage detected