If an IPv6 address belongs to the address range used by the CJDNS network and the CJDNS network is reachable (‐cjdnsreachable config is set), then change the type from NET_IPV6 to NET_CJDNS.

Synopsis

Declared in <netbase.h>

CService
MaybeFlipIPv6toCJDNS(CService const& service);

Return Value

a copy of service either unmodified or changed to CJDNS.

Parameters

Name

Description

service [in]

Address to potentially convert.

Created with MrDocs