BridgeVlan


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.18" ) ]
public BridgeVlan (uint16 vid_start, uint16 vid_end)

Creates a new BridgeVlan object for the given VLAN id range.

Setting vid_end to 0 is equivalent to setting it to vid_start and creates a single-id VLAN.

Since 1.42, ref-counting of BridgeVlan is thread-safe.

Parameters:

vid_start

the start VLAN id, must be between 1 and 4094.

vid_end

the end VLAN id, must be 0 or between vid_start and 4094.

Returns:

the new BridgeVlan object.