Function SCNetworkInterfaceGetSupportedProtocolTypes

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceGetSupportedProtocolTypes(
    interface: &SCNetworkInterface,
) -> Option<CFRetained<CFArray>>
Available on crate feature SCNetworkConfiguration only.
Expand description

Identify all of the network protocol types (e.g. IPv4, IPv6) that can be layered on top of this interface.

Parameter interface: The network interface.

Returns: The list of SCNetworkProtocol types supported by the interface; NULL if no protocol types are supported.