![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#define NM_DEVICE_BRIDGE_HW_ADDRESS #define NM_DEVICE_BRIDGE_CARRIER #define NM_DEVICE_BRIDGE_SLAVES struct NMDeviceBridge; NMDeviceBridgeClass; const char * nm_device_bridge_get_hw_address (NMDeviceBridge *device
); gboolean nm_device_bridge_get_carrier (NMDeviceBridge *device
); const GPtrArray * nm_device_bridge_get_slaves (NMDeviceBridge *device
);
const char * nm_device_bridge_get_hw_address (NMDeviceBridge *device
);
Gets the hardware (MAC) address of the NMDeviceBridge
|
a NMDeviceBridge |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
gboolean nm_device_bridge_get_carrier (NMDeviceBridge *device
);
Whether the device has carrier.
|
a NMDeviceBridge |
Returns : |
TRUE if the device has carrier |
const GPtrArray * nm_device_bridge_get_slaves (NMDeviceBridge *device
);
Gets the devices currently slaved to device
.
|
a NMDeviceBridge |
Returns : |
the GPtrArray containing
NMDevices that are slaves of device . This is the internal
copy used by the device, and must not be modified. [element-type NMDevice]
|
"carrier"
property"carrier" gboolean : Read
Whether the device has carrier.
Default value: FALSE
"hw-address"
property"hw-address" gchar* : Read
The hardware (MAC) address of the device.
Default value: NULL
"slaves"
property"slaves" GPtrArray* : Read
The devices slaved to the bridge device.
Element-type: NMDevice