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

Function IsIPv6

connectd/netaddress.c:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static bool IsIPv6(const struct wireaddr *addr)
65{
66 return addr->type == ADDR_TYPE_IPV6 && IPv4In6(addr) == 0;
67}
68
69static bool RawEq(const struct wireaddr *addr, const void *cmp, size_t len)
70{

Callers 7

IsRFC3849Function · 0.85
IsRFC4862Function · 0.85
IsRFC4193Function · 0.85
IsRFC4843Function · 0.85
IsLocalFunction · 0.85
IsValidFunction · 0.85
mainFunction · 0.85

Calls 1

IPv4In6Function · 0.85

Tested by 1

mainFunction · 0.68