| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NMDeviceBond; NMDeviceBondClass; #define NM_DEVICE_BOND_CARRIER #define NM_DEVICE_BOND_HW_ADDRESS gboolean nm_device_bond_get_carrier (NMDeviceBond *device); const char * nm_device_bond_get_hw_address (NMDeviceBond *device); GObject * nm_device_bond_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);
} NMDeviceBondClass;
gboolean nm_device_bond_get_carrier (NMDeviceBond *device);
Whether the device has carrier.
|
a NMDeviceBond |
Returns : |
TRUE if the device has carrier |
const char * nm_device_bond_get_hw_address (NMDeviceBond *device);
Gets the hardware (MAC) address of the NMDeviceBond
|
a NMDeviceBond |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
GObject * nm_device_bond_new (DBusGConnection *connection,const char *path);
Creates a new NMDeviceBond.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. [transfer full] |