![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_DEVICE_INFINIBAND_HW_ADDRESS #define NM_DEVICE_INFINIBAND_CARRIER NMDeviceInfiniband; GObject * nm_device_infiniband_new (DBusGConnection *connection, const char *path); const char * nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device); gboolean nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
GObject * nm_device_infiniband_new (DBusGConnection *connection, const char *path);
Creates a new NMDeviceInfiniband.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. transfer full. |
const char * nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);
Gets the hardware (MAC) address of the NMDeviceInfiniband
|
a NMDeviceInfiniband |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
gboolean nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
Whether the device has carrier.
|
a NMDeviceInfiniband |
Returns : |
TRUE if the device has carrier
|