Top | ![]() |
![]() |
![]() |
![]() |
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 () |
gboolean | carrier | Read |
gchar * | config | Read |
gchar * | hw-address | Read |
GPtrArray * | slaves | Read |
#define | NM_DEVICE_TEAM_HW_ADDRESS |
#define | NM_DEVICE_TEAM_CARRIER |
#define | NM_DEVICE_TEAM_SLAVES |
#define | NM_DEVICE_TEAM_CONFIG |
NMDeviceTeam |
const char *
nm_device_team_get_hw_address (NMDeviceTeam *device
);
Gets the hardware (MAC) address of the NMDeviceTeam
gboolean
nm_device_team_get_carrier (NMDeviceTeam *device
);
Whether the device has carrier.
const GPtrArray *
nm_device_team_get_slaves (NMDeviceTeam *device
);
Gets the devices currently enslaved to device
.
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]
const char *
nm_device_team_get_config (NMDeviceTeam *device
);
Gets the current JSON configuration of the NMDeviceTeam
the current configuration. This is the internal string used by the device, and must not be modified.
Since 1.4
“carrier”
property “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
“config”
property “config” gchar *
The current JSON configuration of the device.
Flags: Read
Default value: NULL
Since 1.4
“hw-address”
property “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL