SettingVlan
Object Hierarchy:
NM.SettingVlan
NM.SettingVlan
NM.SettingVlan
NM.Setting
NM.Setting
NM.Setting->NM.SettingVlan
GLib.Object
GLib.Object
GLib.Object->NM.Setting
Description:
[
CCode ( type_id =
"nm_setting_vlan_get_type ()" ) ]
public class SettingVlan :
Setting
Content:
Constants:
Properties:
public uint flags { get ; set construct ; }
One or more flags which control the behavior and features of the VLAN
interface.
public uint id { get ; set construct ; }
The VLAN identifier that the interface created by this connection
should be assigned.
public string interface_name { owned get ; set construct ; }
If given, specifies the kernel name of the VLAN interface.
public string parent { owned get ; set construct ; }
If given, specifies the parent interface name or parent connection
UUID from which this VLAN interface should be created.
Creation methods:
Methods:
public bool add_priority (VlanPriorityMap map, uint32 from, uint32 to)
Adds a priority mapping to the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties of the setting.
public bool add_priority_str (VlanPriorityMap map, string str)
Adds a priority map entry into either the
NMSettingVlan:ingress_priority_map
or the NMSettingVlan:egress_priority_map
properties.
public void clear_priorities (VlanPriorityMap map)
Clear all the entries from NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties.
public uint32 get_flags ()
public uint32 get_id ()
public unowned string get_interface_name ()
public int32 get_num_priorities (VlanPriorityMap map)
Returns the number of entries in the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties of this setting.
public unowned string get_parent ()
public bool get_priority (VlanPriorityMap map, uint32 idx, out uint32 out_from, out uint32 out_to)
Retrieve one of the entries of the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties of this setting.
public void remove_priority (VlanPriorityMap map, uint32 idx)
Removes the priority map at index idx
from the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties.
public bool remove_priority_by_value (VlanPriorityMap map, uint32 from, uint32 to)
Removes the priority map form
:to
from the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
(according to map
argument) properties.
public bool remove_priority_str_by_value (VlanPriorityMap map, string str)
Removes the priority map str
from the
NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
(according to map
argument)
properties.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref