Top | ![]() |
![]() |
![]() |
![]() |
enum | NMDeviceVlanError |
#define | NM_DEVICE_VLAN_ERROR |
#define | NM_DEVICE_VLAN_HW_ADDRESS |
#define | NM_DEVICE_VLAN_CARRIER |
#define | NM_DEVICE_VLAN_PARENT |
#define | NM_DEVICE_VLAN_VLAN_ID |
GQuark
nm_device_vlan_error_quark (void
);
Registers an error quark for NMDeviceVlan if necessary.
GObject * nm_device_vlan_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceVlan.
const char *
nm_device_vlan_get_hw_address (NMDeviceVlan *device
);
Gets the hardware (MAC) address of the NMDeviceVlan
gboolean
nm_device_vlan_get_carrier (NMDeviceVlan *device
);
Whether the device has carrier.
NMDevice *
nm_device_vlan_get_parent (NMDeviceVlan *device
);
Since: 1.0
“carrier”
property“carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
“hw-address”
property“hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
“vlan-id”
property“vlan-id” guint
The device's VLAN ID.
Flags: Read
Allowed values: <= 4095
Default value: 0