Top |
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 () |
const char *const * | nm_device_ethernet_get_s390_subchannels () |
gboolean | carrier | Read |
char * | perm-hw-address | Read |
GStrv | s390-subchannels | Read |
guint | speed | Read |
#define | NM_DEVICE_ETHERNET_HW_ADDRESS |
#define | NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS |
#define | NM_DEVICE_ETHERNET_SPEED |
#define | NM_DEVICE_ETHERNET_CARRIER |
#define | NM_DEVICE_ETHERNET_S390_SUBCHANNELS |
NMDeviceEthernet |
const char *
nm_device_ethernet_get_hw_address (NMDeviceEthernet *device
);
nm_device_ethernet_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 active hardware (MAC) address of the NMDeviceEthernet
[skip]
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.
const char *const *
nm_device_ethernet_get_s390_subchannels
(NMDeviceEthernet *device
);
Return the list of s390 subchannels if the device supports them.
array of strings, each specifying one subchannel the s390 device uses to communicate to the host.
[transfer none][element-type utf8]
Since: 1.2
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
“carrier”
property “carrier” gboolean
Whether the device has carrier.
Owner: NMDeviceEthernet
Flags: Read
Default value: FALSE
“perm-hw-address”
property “perm-hw-address” char *
The permanent hardware (MAC) address of the device.
Owner: NMDeviceEthernet
Flags: Read
Default value: NULL
“s390-subchannels”
property “s390-subchannels” GStrv
Identifies subchannels of this network device used for communication with z/VM or s390 host.
Owner: NMDeviceEthernet
Flags: Read
Since: 1.2