|  |  |  | libnm-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
enum NMDeviceInfinibandError; #define NM_DEVICE_INFINIBAND_ERROR GQuark nm_device_infiniband_error_quark (void); #define NM_DEVICE_INFINIBAND_HW_ADDRESS #define NM_DEVICE_INFINIBAND_CARRIER NMDeviceInfiniband; NMDeviceInfinibandClass; 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);
typedef enum {
	NM_DEVICE_INFINIBAND_ERROR_UNKNOWN = 0,                   /*< nick=UnknownError >*/
	NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION,     /*< nick=NotInfinibandConnection >*/
	NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION, /*< nick=InvalidInfinibandConnection >*/
	NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC,            /*< nick=InvalidDeviceMac >*/
	NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH,                  /*< nick=MacMismatch >*/
} NMDeviceInfinibandError;
| unknown or unclassified error | |
| the connection was not of InfiniBand type | |
| the InfiniBand connection was invalid | |
| the device's MAC was invalid | |
| the MACs of the connection and the device mismatched | 
GQuark              nm_device_infiniband_error_quark    (void);
Registers an error quark for NMDeviceInfiniband if necessary.
| Returns : | the error quark used for NMDeviceInfiniband errors. | 
typedef struct {
	NMDeviceClass parent;
	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMDeviceInfinibandClass;
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 : | TRUEif the device has carrier |