| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NMDeviceInfiniband; NMDeviceInfinibandClass; #define NM_DEVICE_INFINIBAND_CARRIER #define NM_DEVICE_INFINIBAND_HW_ADDRESS gboolean nm_device_infiniband_get_carrier (NMDeviceInfiniband *device); const char * nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device); GObject * nm_device_infiniband_new (DBusGConnection *connection,const char *path);
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;
gboolean nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
Whether the device has carrier.
|
a NMDeviceInfiniband |
Returns : |
TRUE if the device has carrier |
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. |
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] |