Function

nw_path_uses_interface_type

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

Declaration

bool nw_path_uses_interface_type(nw_path_t path, nw_interface_type_t interface_type);

Discussion

Paths can use interface types by directly routing over an interface, routing through a tunnel that goes over a physical interface, or being eligble to use multiple interfaces directly.

See Also

Inspecting Interfaces

nw_path_enumerate_interfaces

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

nw_path_enumerate_interfaces_block_t

A block that enumerates the interfaces available to a path.

nw_path_enumerate_gateways

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

nw_path_enumerate_gateways_block_t

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