Function

nw_path_enumerate_interfaces(_:_:)

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

Declaration

func nw_path_enumerate_interfaces(_ path: nw_path_t, _ enumerate_block: (nw_interface_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.

typealias nw_path_enumerate_interfaces_block_t

A block that enumerates the interfaces available to a path.

func nw_path_enumerate_gateways(nw_path_t, (nw_endpoint_t) -> Bool)

Enumerates the list of gateways configured on 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.