![]() |
![]() |
![]() |
![]() |
#define | NM_SETTING_VLAN_SETTING_NAME |
#define | NM_SETTING_VLAN_PARENT |
#define | NM_SETTING_VLAN_ID |
#define | NM_SETTING_VLAN_FLAGS |
#define | NM_SETTING_VLAN_INGRESS_PRIORITY_MAP |
#define | NM_SETTING_VLAN_EGRESS_PRIORITY_MAP |
enum | NMVlanPriorityMap |
enum | NMVlanFlags |
#define | NM_VLAN_FLAGS_ALL |
gint32 nm_setting_vlan_get_num_priorities (NMSettingVlan *setting
,NMVlanPriorityMap map
);
gboolean nm_setting_vlan_get_priority (NMSettingVlan *setting
,NMVlanPriorityMap map
,guint32 idx
,guint32 *out_from
,guint32 *out_to
);
gboolean nm_setting_vlan_add_priority (NMSettingVlan *setting
,NMVlanPriorityMap map
,guint32 from
,guint32 to
);
void nm_setting_vlan_remove_priority (NMSettingVlan *setting
,NMVlanPriorityMap map
,guint32 idx
);
gboolean nm_setting_vlan_remove_priority_by_value (NMSettingVlan *setting
,NMVlanPriorityMap map
,guint32 from
,guint32 to
);
gboolean nm_setting_vlan_remove_priority_str_by_value (NMSettingVlan *setting
,NMVlanPriorityMap map
,const char *str
);
void nm_setting_vlan_clear_priorities (NMSettingVlan *setting
,NMVlanPriorityMap map
);
gboolean nm_setting_vlan_add_priority_str (NMSettingVlan *setting
,NMVlanPriorityMap map
,const char *str
);
#define NM_SETTING_VLAN_INGRESS_PRIORITY_MAP "ingress-priority-map"
#define NM_SETTING_VLAN_EGRESS_PRIORITY_MAP "egress-priority-map"
A selector for traffic priority maps; these map Linux SKB priorities to 802.1p priorities used in VLANs.
NMVlanFlags values control the behavior of the VLAN interface.
indicates that this interface should reorder outgoing packet headers to look more like a non-VLAN Ethernet interface |
||
indicates that this interface should use GVRP to register itself with its switch |
||
indicates that this interface's operating state is tied to the underlying network interface but other details (like routing) are not. |
||
indicates that this interface should use MVRP to register itself with its switch |