Function

SCVLANInterfaceCreate

Creates a new virtual LAN (VLAN) interface.

Declaration

SCVLANInterfaceRef SCVLANInterfaceCreate(SCPreferencesRef prefs, SCNetworkInterfaceRef physical, CFNumberRef tag);

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

SCVLANInterfaceCopyAll

Returns all virtual LAN (VLAN) interfaces on the system.

SCVLANInterfaceCopyAvailablePhysicalInterfaces

Returns the network capable devices on the system that can be associated with a virtual LAN (VLAN) interface.

SCVLANInterfaceGetOptions

Returns the configuration settings associated with the virtual LAN (VLAN) interface.

SCVLANInterfaceGetPhysicalInterface

Returns the physical interface for the specified virtual LAN (VLAN) interface.

SCVLANInterfaceGetTag

Returns the tag for the specified virtual LAN (VLAN) interface.

SCVLANInterfaceRemove

Removes the virtual LAN (VLAN) interface from the configuration.

SCVLANInterfaceSetLocalizedDisplayName

Sets the localized display name for the specified virtual LAN (VLAN) interface.

SCVLANInterfaceSetOptions

Sets the specified configuration settings for the specified virtual LAN (VLAN) interface.

SCVLANInterfaceSetPhysicalInterfaceAndTag

Updates the specified virtual LAN (VLAN) interface with the specified information.