Top |
Functions
const char * | nm_device_bridge_get_hw_address () |
gboolean | nm_device_bridge_get_carrier () |
const GPtrArray * | nm_device_bridge_get_slaves () |
Types and Values
#define | NM_DEVICE_BRIDGE_HW_ADDRESS |
#define | NM_DEVICE_BRIDGE_CARRIER |
#define | NM_DEVICE_BRIDGE_SLAVES |
NMDeviceBridge |
Functions
nm_device_bridge_get_hw_address ()
const char *
nm_device_bridge_get_hw_address (NMDeviceBridge *device
);
Gets the hardware (MAC) address of the NMDeviceBridge
nm_device_bridge_get_carrier ()
gboolean
nm_device_bridge_get_carrier (NMDeviceBridge *device
);
Whether the device has carrier.
nm_device_bridge_get_slaves ()
const GPtrArray *
nm_device_bridge_get_slaves (NMDeviceBridge *device
);
Gets the devices currently enslaved to device
.
Property Details
The “carrier”
property
“carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
The “hw-address”
property
“hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
The “slaves”
property
“slaves” GPtrArray *
The devices enslaved to the bridge device.
[type GPtrArray(NMDevice)]
Flags: Read