Top | ![]() |
![]() |
![]() |
![]() |
#define | NM_SETTING_BRIDGE_PORT_SETTING_NAME |
enum | NMSettingBridgePortError |
#define | NM_SETTING_BRIDGE_PORT_ERROR |
#define | NM_SETTING_BRIDGE_PORT_PRIORITY |
#define | NM_SETTING_BRIDGE_PORT_PATH_COST |
#define | NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE |
The NMSettingBridgePort object is a NMSetting subclass that describes optional properties that apply to bridge ports.
GQuark
nm_setting_bridge_port_error_quark (void
);
Registers an error quark for NMSettingBridgePort if necessary.
Since: 0.9.8
NMSetting *
nm_setting_bridge_port_new (void
);
Creates a new NMSettingBridgePort object with default values.
Since: 0.9.8
guint16
nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting
);
Since: 0.9.8
guint16
nm_setting_bridge_port_get_path_cost (NMSettingBridgePort *setting
);
Since: 0.9.8
gboolean
nm_setting_bridge_port_get_hairpin_mode
(NMSettingBridgePort *setting
);
Since: 0.9.8
#define NM_SETTING_BRIDGE_PORT_ERROR nm_setting_bridge_port_error_quark ()
“hairpin-mode”
property“hairpin-mode” gboolean
Enables or disables "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
Since: 0.9.8
“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
Since: 0.9.8
“priority”
property“priority” guint
The Spanning Tree Protocol (STP) priority of this bridge port.
Flags: Read / Write / Construct
Allowed values: <= 63
Default value: 32
Since: 0.9.8