Function

nw_path_has_dns

Checks whether the path has a DNS server configured.

Declaration

bool nw_path_has_dns(nw_path_t path);

See Also

Checking Path Capabilities

nw_path_has_ipv4

Checks whether the path can route IPv4 traffic.

nw_path_has_ipv6

Checks whether the path can route IPv6 traffic.

nw_path_is_constrained

Checks whether the path uses an interface in Low Data Mode.

nw_path_is_expensive

Checks whether the path uses an interface that is considered expensive, such as Cellular or a Personal Hotspot.