Top | ![]() |
![]() |
![]() |
![]() |
NMSetting * | nm_setting_bridge_port_new () |
guint16 | nm_setting_bridge_port_get_priority () |
guint16 | nm_setting_bridge_port_get_path_cost () |
gboolean | nm_setting_bridge_port_get_hairpin_mode () |
gboolean | hairpin-mode | Read / Write |
guint | path-cost | Read / Write / Construct |
guint | priority | Read / Write / Construct |
The NMSettingBridgePort object is a NMSetting subclass that describes optional properties that apply to bridge ports.
NMSetting *
nm_setting_bridge_port_new (void
);
Creates a new NMSettingBridgePort object with default values.
guint16
nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting
);
guint16
nm_setting_bridge_port_get_path_cost (NMSettingBridgePort *setting
);
gboolean
nm_setting_bridge_port_get_hairpin_mode
(NMSettingBridgePort *setting
);
“hairpin-mode”
property “hairpin-mode” gboolean
Enables or disabled "hairpin mode" for the port, which allows frames to be sent back out through the port the frame was received on.
Flags: Read / Write
Default value: FALSE
“path-cost”
property “path-cost” guint
The Spanning Tree Protocol (STP) port cost for destinations via this port.
Flags: Read / Write / Construct
Allowed values: <= 65535
Default value: 100