| Top |
Functions
| const char * | nm_device_team_get_hw_address () |
| gboolean | nm_device_team_get_carrier () |
| const GPtrArray * | nm_device_team_get_slaves () |
| const char * | nm_device_team_get_config () |
Types and Values
| #define | NM_DEVICE_TEAM_HW_ADDRESS |
| #define | NM_DEVICE_TEAM_CARRIER |
| #define | NM_DEVICE_TEAM_SLAVES |
| #define | NM_DEVICE_TEAM_CONFIG |
| NMDeviceTeam |
Functions
nm_device_team_get_hw_address ()
const char *
nm_device_team_get_hw_address (NMDeviceTeam *device);
Gets the hardware (MAC) address of the NMDeviceTeam
nm_device_team_get_carrier ()
gboolean
nm_device_team_get_carrier (NMDeviceTeam *device);
Whether the device has carrier.
nm_device_team_get_slaves ()
const GPtrArray *
nm_device_team_get_slaves (NMDeviceTeam *device);
Gets the devices currently enslaved to device
.
Returns
the GPtrArray containing
NMDevices that are slaves of device
. This is the internal
copy used by the device, and must not be modified.
[element-type NMDevice]
nm_device_team_get_config ()
const char *
nm_device_team_get_config (NMDeviceTeam *device);
Gets the current JSON configuration of the NMDeviceTeam
Returns
the current configuration. This is the internal string used by the device, and must not be modified.
Since: 1.4
Property Details
The “carrier” property
“carrier” gboolean
Whether the device has carrier.
Owner: NMDeviceTeam
Flags: Read
Default value: FALSE
The “config” property
“config” gchar *
The current JSON configuration of the device.
Owner: NMDeviceTeam
Flags: Read
Default value: NULL
Since: 1.4
The “hw-address” property
“hw-address” gchar *
The hardware (MAC) address of the device.
Owner: NMDeviceTeam
Flags: Read
Default value: NULL
The “slaves” property
“slaves” GPtrArray *
The devices enslaved to the team device.
[type GPtrArray(NMDevice)]
Owner: NMDeviceTeam
Flags: Read
