| libnm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#define NM_DEVICE_VLAN_HW_ADDRESS #define NM_DEVICE_VLAN_CARRIER #define NM_DEVICE_VLAN_PARENT #define NM_DEVICE_VLAN_VLAN_ID struct NMDeviceVlan; NMDeviceVlanClass; const char * nm_device_vlan_get_hw_address (NMDeviceVlan *device); gboolean nm_device_vlan_get_carrier (NMDeviceVlan *device); NMDevice * nm_device_vlan_get_parent (NMDeviceVlan *device); guint nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
"carrier" gboolean : Read "hw-address" gchar* : Read "parent" NMDevice* : Read "vlan-id" guint : Read
const char * nm_device_vlan_get_hw_address (NMDeviceVlan *device);
Gets the hardware (MAC) address of the NMDeviceVlan
|
a NMDeviceVlan |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
gboolean nm_device_vlan_get_carrier (NMDeviceVlan *device);
Whether the device has carrier.
|
a NMDeviceVlan |
Returns : |
TRUE if the device has carrier |
NMDevice * nm_device_vlan_get_parent (NMDeviceVlan *device);
|
a NMDeviceVlan |
Returns : |
the device's parent device. [transfer none] |
guint nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
|
a NMDeviceVlan |
Returns : |
the device's VLAN ID |
"carrier" property"carrier" gboolean : Read
Whether the device has carrier.
Default value: FALSE
"hw-address" property"hw-address" gchar* : Read
The hardware (MAC) address of the device.
Default value: NULL
"vlan-id" property"vlan-id" guint : Read
The device's VLAN ID.
Allowed values: <= 4095
Default value: 0