NMDeviceInfiniband
NMDeviceInfiniband
|
|
Functions
nm_device_infiniband_error_quark ()
GQuark
nm_device_infiniband_error_quark (void
);
Registers an error quark for NMDeviceInfiniband if necessary.
nm_device_infiniband_new ()
GObject *
nm_device_infiniband_new (DBusGConnection *connection
,
const char *path
);
Creates a new NMDeviceInfiniband.
Returns
a new device.
[transfer full]
nm_device_infiniband_get_hw_address ()
const char *
nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device
);
Gets the hardware (MAC) address of the NMDeviceInfiniband
Returns
the hardware address. This is the internal string used by the
device, and must not be modified.
nm_device_infiniband_get_carrier ()
gboolean
nm_device_infiniband_get_carrier (NMDeviceInfiniband *device
);
Whether the device has carrier.
Returns
TRUE
if the device has carrier
Types and Values
enum NMDeviceInfinibandError
NM_DEVICE_INFINIBAND_ERROR
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
NM_DEVICE_INFINIBAND_HW_ADDRESS
#define NM_DEVICE_INFINIBAND_HW_ADDRESS "hw-address"
NM_DEVICE_INFINIBAND_CARRIER
#define NM_DEVICE_INFINIBAND_CARRIER "carrier"
Property Details
The “carrier”
property
“carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
The “hw-address”
property
“hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL