pub extern "C-unwind" fn SCVLANInterfaceCreate(
prefs: &SCPreferences,
physical: &SCNetworkInterface,
tag: &CFNumber,
) -> Option<CFRetained<SCVLANInterface>>
Available on crate features
SCNetworkConfiguration
and SCPreferences
only.Expand description
Create a new SCVLANInterface interface.
Parameter prefs
: The “preferences” session.
Parameter physical
: The physical interface to associate with the VLAN.
Parameter tag
: The tag to associate with the VLAN.
Returns: A reference to the new SCVLANInterface. You must release the returned value.
Note: the tag must be in the range (1 < = tag < = 4094)