| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NMDeviceVlan; NMDeviceVlanClass; #define NM_DEVICE_VLAN_CARRIER #define NM_DEVICE_VLAN_HW_ADDRESS #define NM_DEVICE_VLAN_VLAN_ID gboolean nm_device_vlan_get_carrier (NMDeviceVlan *device); const char * nm_device_vlan_get_hw_address (NMDeviceVlan *device); guint nm_device_vlan_get_vlan_id (NMDeviceVlan *device); GObject * nm_device_vlan_new (DBusGConnection *connection,const char *path);
typedef struct {
NMDeviceClass parent;
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMDeviceVlanClass;
gboolean nm_device_vlan_get_carrier (NMDeviceVlan *device);
Whether the device has carrier.
|
a NMDeviceVlan |
Returns : |
TRUE if the device has carrier |
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. |
guint nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
|
a NMDeviceVlan |
Returns : |
the device's VLAN ID |
GObject * nm_device_vlan_new (DBusGConnection *connection,const char *path);
Creates a new NMDeviceVlan.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. [transfer full] |