From 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 21 Apr 2019 21:09:51 +0200 Subject: New upstream version 1.18.0 --- docs/libnm/html/NMSettingBridgePort.html | 279 +++++++++++++++++++++++++++++++ 1 file changed, 279 insertions(+) (limited to 'docs/libnm/html/NMSettingBridgePort.html') diff --git a/docs/libnm/html/NMSettingBridgePort.html b/docs/libnm/html/NMSettingBridgePort.html index 2aa8b1d3..cb16d0f8 100644 --- a/docs/libnm/html/NMSettingBridgePort.html +++ b/docs/libnm/html/NMSettingBridgePort.html @@ -73,6 +73,54 @@ nm_setting_bridge_port_get_hairpin_mode () + + +void + + +nm_setting_bridge_port_add_vlan () + + + + +guint + + +nm_setting_bridge_port_get_num_vlans () + + + + +NMBridgeVlan * + + +nm_setting_bridge_port_get_vlan () + + + + +void + + +nm_setting_bridge_port_remove_vlan () + + + + +gboolean + + +nm_setting_bridge_port_remove_vlan_by_vid () + + + + +void + + +nm_setting_bridge_port_clear_vlans () + + @@ -100,6 +148,12 @@ priority Read / Write / Construct + + +GPtrArray * +vlans +Read / Write + @@ -128,6 +182,10 @@ NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE +#define +NM_SETTING_BRIDGE_PORT_VLANS + +   NMSettingBridgePort @@ -235,6 +293,204 @@ nm_setting_bridge_port_get_hairpin_mode

the “hairpin-mode” property of the setting

+
+
+

nm_setting_bridge_port_add_vlan ()

+
void
+nm_setting_bridge_port_add_vlan (NMSettingBridgePort *setting,
+                                 NMBridgeVlan *vlan);
+

Appends a new vlan and associated information to the setting. The +given vlan gets sealed and a reference to it is added.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingBridgePort

 

vlan

the vlan to add

 
+
+

Since: 1.18

+
+
+
+

nm_setting_bridge_port_get_num_vlans ()

+
guint
+nm_setting_bridge_port_get_num_vlans (NMSettingBridgePort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingBridgePort

 
+
+
+

Returns

+

the number of VLANs

+
+

Since: 1.18

+
+
+
+

nm_setting_bridge_port_get_vlan ()

+
NMBridgeVlan *
+nm_setting_bridge_port_get_vlan (NMSettingBridgePort *setting,
+                                 guint idx);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingBridgePort

 

idx

index number of the VLAN to return

 
+
+
+

Returns

+

the VLAN at index idx +.

+

[transfer none]

+
+

Since: 1.18

+
+
+
+

nm_setting_bridge_port_remove_vlan ()

+
void
+nm_setting_bridge_port_remove_vlan (NMSettingBridgePort *setting,
+                                    guint idx);
+

Removes the vlan at index idx +.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingBridgePort

 

idx

index number of the VLAN.

 
+
+

Since: 1.18

+
+
+
+

nm_setting_bridge_port_remove_vlan_by_vid ()

+
gboolean
+nm_setting_bridge_port_remove_vlan_by_vid
+                               (NMSettingBridgePort *setting,
+                                guint16 vid_start,
+                                guint16 vid_end);
+

Remove the VLAN with range vid_start + to vid_end +. +If vid_end + is zero, it is assumed to be equal to vid_start + +and so the single-id VLAN with id vid_start + is removed.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

setting

the NMSettingBridgePort

 

vid_start

the vlan start index

 

vid_end

the vlan end index

 
+
+
+

Returns

+

TRUE if the vlan was found and removed; FALSE otherwise

+
+

Since: 1.18

+
+
+
+

nm_setting_bridge_port_clear_vlans ()

+
void
+nm_setting_bridge_port_clear_vlans (NMSettingBridgePort *setting);
+

Removes all configured VLANs.

+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingBridgePort

 
+
+

Since: 1.18

+

Types and Values

@@ -263,6 +519,12 @@ nm_setting_bridge_port_get_hairpin_mode

+

NM_SETTING_BRIDGE_PORT_VLANS

+
#define NM_SETTING_BRIDGE_PORT_VLANS        "vlans"
+
+
+
+

NMSettingBridgePort

typedef struct _NMSettingBridgePort NMSettingBridgePort;

Bridge Port Settings

@@ -297,6 +559,23 @@ port.

Allowed values: <= 63

Default value: 32

+
+
+

The “vlans” property

+
  “vlans”                    GPtrArray *
+

Array of bridge VLAN objects. In addition to the VLANs +specified here, the port will also have the default-pvid +VLAN configured on the bridge by the bridge.vlan-default-pvid +property.

+

In nmcli the VLAN list can be specified with the following +syntax:

+

$vid pvid [, $vid pvid]...

+

where $vid is either a single id between 1 and 4094 or a +range, represented as a couple of ids separated by a dash.

+

[type GPtrArray(NMBridgeVlan)]

+

Flags: Read / Write

+

Since: 1.18

+