Returns all virtual LAN (VLAN) interfaces on the system.
SDK
- macOS 10.5+
Framework
- System
Configuration
Declaration
func SCVLANInterfaceCopyAll(_ prefs: SCPreferences) -> CFArray
Parameters
prefs
The preferences session.
Return Value
The list of VLAN interfaces on the system. You must release the returned value.