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