| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#define NM_DEVICE_BOND_HW_ADDRESS #define NM_DEVICE_BOND_CARRIER #define NM_DEVICE_BOND_SLAVES NMDeviceBond; GObject * nm_device_bond_new (DBusGConnection *connection, const char *path); const char * nm_device_bond_get_hw_address (NMDeviceBond *device); gboolean nm_device_bond_get_carrier (NMDeviceBond *device); const GPtrArray * nm_device_bond_get_slaves (NMDeviceBond *device);
GObject * nm_device_bond_new (DBusGConnection *connection, const char *path);
Creates a new NMDeviceBond.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. transfer full. |
const char * nm_device_bond_get_hw_address (NMDeviceBond *device);
Gets the hardware (MAC) address of the NMDeviceBond
|
a NMDeviceBond |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
gboolean nm_device_bond_get_carrier (NMDeviceBond *device);
Whether the device has carrier.
|
a NMDeviceBond |
Returns : |
TRUE if the device has carrier
|
const GPtrArray * nm_device_bond_get_slaves (NMDeviceBond *device);
Gets the devices currently slaved to device.
|
a NMDeviceBond |
Returns : |
element-type NMClient.Device. element-type NMClient.Device. |
"carrier" property"carrier" gboolean : Read
Whether the device has carrier.
Default value: FALSE
"hw-address" property"hw-address" gchar* : Read
The hardware (MAC) address of the device.
Default value: NULL
"slaves" property"slaves" nm-object-array* : Read
The devices (NMDevice) slaved to the bond device.