pub unsafe extern "C-unwind" fn SCNetworkInterfaceCreateWithInterface(
interface: &SCNetworkInterface,
interface_type: &CFString,
) -> Option<CFRetained<SCNetworkInterface>>Available on crate feature
SCNetworkConfiguration only.Expand description
Create a new network interface layered on top of another. For example, this function would be used to create a “PPP” interface on top of a “modem”.
Parameter interface: The network interface.
Parameter interfaceType: The type of SCNetworkInterface to be layered on
top of the provided interface.
Returns: A reference to the new SCNetworkInterface. You must release the returned value.