Top |
Types and Values
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 |
Functions
nm_device_vlan_error_quark ()
GQuark
nm_device_vlan_error_quark (void
);
Registers an error quark for NMDeviceVlan if necessary.
nm_device_vlan_new ()
GObject * nm_device_vlan_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceVlan.
nm_device_vlan_get_hw_address ()
const char *
nm_device_vlan_get_hw_address (NMDeviceVlan *device
);
Gets the hardware (MAC) address of the NMDeviceVlan
nm_device_vlan_get_carrier ()
gboolean
nm_device_vlan_get_carrier (NMDeviceVlan *device
);
Whether the device has carrier.
nm_device_vlan_get_parent ()
NMDevice *
nm_device_vlan_get_parent (NMDeviceVlan *device
);
Since: 1.0
Types and Values
enum NMDeviceVlanError
Property Details
The “carrier”
property
“carrier” gboolean
Whether the device has carrier.
Owner: NMDeviceVlan
Flags: Read
Default value: FALSE
The “hw-address”
property
“hw-address” gchar *
The hardware (MAC) address of the device.
Owner: NMDeviceVlan
Flags: Read
Default value: NULL
The “parent”
property
“parent” NMDevice *
The devices's parent device.
Owner: NMDeviceVlan
Flags: Read
Since: 1.0
The “vlan-id”
property
“vlan-id” guint
The device's VLAN ID.
Owner: NMDeviceVlan
Flags: Read
Allowed values: <= 4095
Default value: 0