Contents

SCVLANInterfaceCreate(_:_:_:)

Creates a new virtual LAN (VLAN) interface.

Declaration

func SCVLANInterfaceCreate(_ prefs: SCPreferences, _ physical: SCNetworkInterface, _ tag: CFNumber) -> SCVLANInterface?

Parameters

  • prefs:

    The preferences session.

  • physical:

    The physical interface to associate with the VLAN.

  • tag:

    The tag to associate with the VLAN. This value must be between 1 and 4094.

Return Value

The new VLAN interface. You must release the returned value.

See Also

Configuring VLAN Interfaces