Top | ![]() |
![]() |
![]() |
![]() |
NMSetting * | nm_setting_bridge_new () |
const char * | nm_setting_bridge_get_mac_address () |
gboolean | nm_setting_bridge_get_stp () |
guint16 | nm_setting_bridge_get_priority () |
guint16 | nm_setting_bridge_get_forward_delay () |
guint16 | nm_setting_bridge_get_hello_time () |
guint16 | nm_setting_bridge_get_max_age () |
guint32 | nm_setting_bridge_get_ageing_time () |
guint | ageing-time | Read / Write / Construct |
guint | forward-delay | Read / Write / Construct |
guint | hello-time | Read / Write / Construct |
gchar * | mac-address | Read / Write |
guint | max-age | Read / Write / Construct |
guint | priority | Read / Write / Construct |
gboolean | stp | Read / Write / Construct |
#define | NM_SETTING_BRIDGE_SETTING_NAME |
#define | NM_SETTING_BRIDGE_MAC_ADDRESS |
#define | NM_SETTING_BRIDGE_STP |
#define | NM_SETTING_BRIDGE_PRIORITY |
#define | NM_SETTING_BRIDGE_FORWARD_DELAY |
#define | NM_SETTING_BRIDGE_HELLO_TIME |
#define | NM_SETTING_BRIDGE_MAX_AGE |
#define | NM_SETTING_BRIDGE_AGEING_TIME |
The NMSettingBridge object is a NMSetting subclass that describes properties necessary for bridging connections.
NMSetting *
nm_setting_bridge_new (void
);
Creates a new NMSettingBridge object with default values.
const char *
nm_setting_bridge_get_mac_address (NMSettingBridge *setting
);
guint16
nm_setting_bridge_get_priority (NMSettingBridge *setting
);
guint16
nm_setting_bridge_get_forward_delay (NMSettingBridge *setting
);
guint16
nm_setting_bridge_get_hello_time (NMSettingBridge *setting
);
guint32
nm_setting_bridge_get_ageing_time (NMSettingBridge *setting
);
“ageing-time”
property “ageing-time” guint
The Ethernet MAC address aging time, in seconds.
Flags: Read / Write / Construct
Allowed values: <= 1000000
Default value: 300
“forward-delay”
property “forward-delay” guint
The Spanning Tree Protocol (STP) forwarding delay, in seconds.
Flags: Read / Write / Construct
Allowed values: <= 30
Default value: 15
“hello-time”
property “hello-time” guint
The Spanning Tree Protocol (STP) hello time, in seconds.
Flags: Read / Write / Construct
Allowed values: <= 10
Default value: 2
“mac-address”
property “mac-address” gchar *
If specified, the MAC address of bridge. When creating a new bridge, this MAC address will be set. When matching an existing (outside NetworkManager created) bridge, this MAC address must match.
Flags: Read / Write
Default value: NULL
“max-age”
property “max-age” guint
The Spanning Tree Protocol (STP) maximum message age, in seconds.
Flags: Read / Write / Construct
Allowed values: <= 40
Default value: 20
“priority”
property “priority” guint
Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower values are "better"; the lowest priority bridge will be elected the root bridge.
Flags: Read / Write / Construct
Allowed values: <= 65535
Default value: 32768