NMDeviceInfiniband

NMDeviceInfiniband

Synopsis

#define             NM_DEVICE_INFINIBAND_HW_ADDRESS
#define             NM_DEVICE_INFINIBAND_CARRIER
struct              NMDeviceInfiniband;
                    NMDeviceInfinibandClass;
const char *        nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);
gboolean            nm_device_infiniband_get_carrier    (NMDeviceInfiniband *device);

Object Hierarchy

  GObject
   +----NMObject
         +----NMDevice
               +----NMDeviceInfiniband

Implemented Interfaces

NMDeviceInfiniband implements GInitable and GAsyncInitable.

Properties

  "carrier"                  gboolean              : Read
  "hw-address"               gchar*                : Read

Description

Details

NM_DEVICE_INFINIBAND_HW_ADDRESS

#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"

NM_DEVICE_INFINIBAND_CARRIER

#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"

struct NMDeviceInfiniband

struct NMDeviceInfiniband;

NMDeviceInfinibandClass

typedef struct {
	NMDeviceClass parent;
} NMDeviceInfinibandClass;

nm_device_infiniband_get_hw_address ()

const char *        nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);

Gets the hardware (MAC) address of the NMDeviceInfiniband

device :

a 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.

device :

a NMDeviceInfiniband

Returns :

TRUE if the device has carrier

Property Details

The "carrier" property

  "carrier"                  gboolean              : Read

Whether the device has carrier.

Default value: FALSE


The "hw-address" property

  "hw-address"               gchar*                : Read

The hardware (MAC) address of the device.

Default value: NULL