Function

nw_path_enumerate_gateways(_:_:)

Enumerates the list of gateways configured on the interfaces available to a path.

Declaration

func nw_path_enumerate_gateways(_ path: nw_path_t, _ enumerate_block: (nw_endpoint_t) -> Bool)

See Also

Inspecting Interfaces

func nw_path_uses_interface_type(nw_path_t, nw_interface_type_t) -> Bool

Checks if connections using the path may send traffic over a specific interface type.

func nw_path_enumerate_interfaces(nw_path_t, (nw_interface_t) -> Bool)

Enumerates the list of all interfaces available to the path, in order of preference.

typealias nw_path_enumerate_interfaces_block_t

A block that enumerates the interfaces available to a path.

typealias nw_path_enumerate_gateways_block_t

A block that enumerates the gateways configured on the interfaces available to a path.