NMDeviceInfiniband

NMDeviceInfiniband

Functions

Properties

gboolean carrier Read

Types and Values

Object Hierarchy

    GObject
    ╰── NMObject
        ╰── NMDevice
            ╰── NMDeviceInfiniband

Description

Functions

nm_device_infiniband_get_hw_address ()

const char *
nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);

nm_device_infiniband_get_hw_address has been deprecated since version 1.24 and should not be used in newly-written code.

Use nm_device_get_hw_address() instead.

Gets the hardware (MAC) address of the NMDeviceInfiniband

[skip]

Parameters

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.

Parameters

device

a NMDeviceInfiniband

 

Returns

TRUE if the device has carrier

Types and Values

NM_DEVICE_INFINIBAND_HW_ADDRESS

#define NM_DEVICE_INFINIBAND_HW_ADDRESS "hw-address"

NM_DEVICE_INFINIBAND_CARRIER

#define NM_DEVICE_INFINIBAND_CARRIER    "carrier"

NMDeviceInfiniband

typedef struct _NMDeviceInfiniband NMDeviceInfiniband;

Property Details

The “carrier” property

  “carrier”                  gboolean

Whether the device has carrier.

Owner: NMDeviceInfiniband

Flags: Read

Default value: FALSE