Top | ![]() |
![]() |
![]() |
![]() |
GQuark | nm_device_ethernet_error_quark () |
GObject * | nm_device_ethernet_new () |
const char * | nm_device_ethernet_get_hw_address () |
const char * | nm_device_ethernet_get_permanent_hw_address () |
guint32 | nm_device_ethernet_get_speed () |
gboolean | nm_device_ethernet_get_carrier () |
gboolean | carrier | Read |
gchar * | hw-address | Read |
gchar * | perm-hw-address | Read |
guint | speed | Read |
enum | NMDeviceEthernetError |
#define | NM_DEVICE_ETHERNET_ERROR |
#define | NM_DEVICE_ETHERNET_HW_ADDRESS |
#define | NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS |
#define | NM_DEVICE_ETHERNET_SPEED |
#define | NM_DEVICE_ETHERNET_CARRIER |
GQuark
nm_device_ethernet_error_quark (void
);
Registers an error quark for NMDeviceEthernet if necessary.
GObject * nm_device_ethernet_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceEthernet.
const char *
nm_device_ethernet_get_hw_address (NMDeviceEthernet *device
);
Gets the active hardware (MAC) address of the NMDeviceEthernet
const char *
nm_device_ethernet_get_permanent_hw_address
(NMDeviceEthernet *device
);
Gets the permanent hardware (MAC) address of the NMDeviceEthernet
guint32
nm_device_ethernet_get_speed (NMDeviceEthernet *device
);
Gets the speed of the NMDeviceEthernet in Mbit/s.
gboolean
nm_device_ethernet_get_carrier (NMDeviceEthernet *device
);
Whether the device has carrier.
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
“carrier”
property“carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
“hw-address”
property“hw-address” gchar *
The active hardware (MAC) address of the device.
Flags: Read
Default value: NULL
“perm-hw-address”
property“perm-hw-address” gchar *
The permanent hardware (MAC) address of the device.
Flags: Read
Default value: NULL