| Top |
| NMActiveConnection * | active-connection | Read |
| gboolean | autoconnect | Read / Write |
| GPtrArray * | available-connections | Read |
| NMDeviceCapabilities | capabilities | Read |
| NMDeviceType | device-type | Read |
| NMDhcpConfig * | dhcp4-config | Read |
| NMDhcpConfig * | dhcp6-config | Read |
| char * | driver | Read |
| char * | driver-version | Read |
| gboolean | firmware-missing | Read |
| char * | firmware-version | Read |
| char * | hw-address | Read |
| char * | interface | Read |
| guint | interface-flags | Read |
| char * | ip-interface | Read |
| NMIPConfig * | ip4-config | Read |
| NMConnectivityState | ip4-connectivity | Read |
| NMIPConfig * | ip6-config | Read |
| NMConnectivityState | ip6-connectivity | Read |
| GPtrArray * | lldp-neighbors | Read |
| gboolean | managed | Read |
| guint | metered | Read |
| guint | mtu | Read |
| gboolean | nm-plugin-missing | Read |
| char * | path | Read |
| char * | physical-port-id | Read |
| GPtrArray * | ports | Read |
| char * | product | Read |
| gboolean | real | Read |
| NMDeviceState | state | Read |
| guint | state-reason | Read |
| char * | udi | Read |
| char * | vendor | Read |
GBoxed ╰── NMLldpNeighbor GObject ╰── NMObject ╰── NMDevice ├── NMDevice6Lowpan ├── NMDeviceAdsl ├── NMDeviceBond ├── NMDeviceBridge ├── NMDeviceBt ├── NMDeviceDummy ├── NMDeviceEthernet ├── NMDeviceGeneric ├── NMDeviceInfiniband ├── NMDeviceIPTunnel ├── NMDeviceLoopback ├── NMDeviceMacsec ├── NMDeviceMacvlan ├── NMDeviceModem ├── NMDeviceOlpcMesh ├── NMDeviceOvsBridge ├── NMDeviceOvsInterface ├── NMDeviceOvsPort ├── NMDevicePpp ├── NMDeviceTeam ├── NMDeviceTun ├── NMDeviceVlan ├── NMDeviceVrf ├── NMDeviceVxlan ├── NMDeviceWifi ├── NMDeviceWifiP2P ├── NMDeviceWimax ├── NMDeviceWireGuard ╰── NMDeviceWpan
void nm_device_set_managed (NMDevice *device,gboolean managed);
nm_device_set_managed is deprecated and should not be used in newly-written code.
void nm_device_set_autoconnect (NMDevice *device,gboolean autoconnect);
nm_device_set_autoconnect is deprecated and should not be used in newly-written code.
NMConnectivityState nm_device_get_connectivity (NMDevice *device,int addr_family);
NMActiveConnection *
nm_device_get_active_connection (NMDevice *device);
const GPtrArray *
nm_device_get_available_connections (NMDevice *device);
NMDeviceInterfaceFlags
nm_device_get_interface_flags (NMDevice *device);
char ** nm_device_disambiguate_names (NMDevice **devices,int num_devices);
gboolean nm_device_reapply (NMDevice *device,NMConnection *connection,guint64 version_id,guint32 flags,GCancellable *cancellable,GError **error);
nm_device_reapply is deprecated and should not be used in newly-written code.
void nm_device_reapply_async (NMDevice *device,NMConnection *connection,guint64 version_id,guint32 flags,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
gboolean nm_device_reapply_finish (NMDevice *device,GAsyncResult *result,GError **error);
NMConnection * nm_device_get_applied_connection (NMDevice *device,guint32 flags,guint64 *version_id,GCancellable *cancellable,GError **error);
nm_device_get_applied_connection is deprecated and should not be used in newly-written code.
void nm_device_get_applied_connection_async (NMDevice *device,guint32 flags,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
NMConnection * nm_device_get_applied_connection_finish (NMDevice *device,GAsyncResult *result,guint64 *version_id,GError **error);
gboolean nm_device_disconnect (NMDevice *device,GCancellable *cancellable,GError **error);
nm_device_disconnect is deprecated and should not be used in newly-written code.
void nm_device_disconnect_async (NMDevice *device,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
gboolean nm_device_disconnect_finish (NMDevice *device,GAsyncResult *result,GError **error);
gboolean nm_device_delete (NMDevice *device,GCancellable *cancellable,GError **error);
nm_device_delete is deprecated and should not be used in newly-written code.
void nm_device_delete_async (NMDevice *device,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
gboolean nm_device_delete_finish (NMDevice *device,GAsyncResult *result,GError **error);
GPtrArray * nm_device_filter_connections (NMDevice *device,const GPtrArray *connections);
gboolean nm_device_connection_valid (NMDevice *device,NMConnection *connection);
gboolean nm_device_connection_compatible (NMDevice *device,NMConnection *connection,GError **error);
char **
nm_lldp_neighbor_get_attr_names (NMLldpNeighbor *neighbor);
GVariant * nm_lldp_neighbor_get_attr_value (NMLldpNeighbor *neighbor,const char *name);
gboolean nm_lldp_neighbor_get_attr_string_value (NMLldpNeighbor *neighbor,const char *name,const char **out_value);
gboolean nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor,const char *name,guint *out_value);
const GVariantType * nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor,const char *name);
#define NM_DEVICE_AUTOCONNECT "autoconnect"
NM_DEVICE_AUTOCONNECT is deprecated and should not be used in newly-written code.
typedef struct _NMLldpNeighbor NMLldpNeighbor;
Supported attributes are:
NM_LLDP_ATTR_CHASSIS_ID_TYPE (type: 'u')
NM_LLDP_ATTR_CHASSIS_ID (type: 's')
NM_LLDP_ATTR_DESTINATION (type: 's')
NM_LLDP_ATTR_IEEE_802_1_PPVID (type: 'u'). This attribute only reports the first PPVID and therefore it is deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_PPVIDS which reports all the PPVID.
NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS (type: 'u'). This attribute only reports the first PPVID and therefore it is deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_PPVIDS which reports all the PPVID.
NM_LLDP_ATTR_IEEE_802_1_PPVIDS (type: 'aa{sv}')
An array of dictionaries where each element has keys:
flags (type: 'u')
ppvid (type: 'u')
NM_LLDP_ATTR_IEEE_802_1_PVID (type: 'u')
NM_LLDP_ATTR_IEEE_802_1_VID (type: 'u'). This attribute only reports the first VLAN and therefore it is deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_VLANS which reports all the VLANs.
NM_LLDP_ATTR_IEEE_802_1_VLAN_NAME (type: 's'). This attribute only reports the first VLAN and therefore it is deprecated in favor of NM_LLDP_ATTR_IEEE_802_1_VLANS which reports all the VLANs.
NM_LLDP_ATTR_IEEE_802_1_VLANS (type: 'aa{sv}')
An array of dictionaries where each element has keys:
name (type: 's')
vid (type: 'u')
NM_LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF (type: 'a{sv}')
Dictionary where each element has keys:
autoneg (type: 'u')
operational-mau-type (type: 'u')
pmd-autoneg-cap (type: 'u')
NM_LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE (type: 'u')
NM_LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI (type: 'a{sv}')
Dictionary where each element has keys:
mdi-power-support (type: 'u')
power-class (type: 'u')
pse-power-pair (type: 'u')
NM_LLDP_ATTR_MANAGEMENT_ADDRESSES (type: 'aa{sv}')
An array of dictionaries where each element has keys:
address (type: 'ay')
address-subtype (type: 'u')
interface-number (type: 'u')
interface-number-subtype (type: 'u')
object-id (type: 'ay')
NM_LLDP_ATTR_PORT_DESCRIPTION (type: 's')
NM_LLDP_ATTR_PORT_ID_TYPE (type: 'u')
NM_LLDP_ATTR_PORT_ID (type: 's')
NM_LLDP_ATTR_RAW (type: 'ay')
NM_LLDP_ATTR_SYSTEM_CAPABILITIES (type: 'u')
NM_LLDP_ATTR_SYSTEM_DESCRIPTION (type: 's')
NM_LLDP_ATTR_SYSTEM_NAME (type: 's')
“active-connection” property“active-connection” NMActiveConnection *
Owner: NMDevice
Flags: Read
“autoconnect” property “autoconnect” gboolean
Owner: NMDevice
Flags: Read / Write
Default value: FALSE
“available-connections” property “available-connections” GPtrArray *
Owner: NMDevice
Flags: Read
“device-type” property“device-type” NMDeviceType
Owner: NMDevice
Flags: Read
Default value: NM_DEVICE_TYPE_UNKNOWN
“driver-version” property “driver-version” char *
Owner: NMDevice
Flags: Read
Default value: NULL
“firmware-missing” property “firmware-missing” gboolean
Owner: NMDevice
Flags: Read
Default value: FALSE
“firmware-version” property “firmware-version” char *
Owner: NMDevice
Flags: Read
Default value: NULL
“ip4-connectivity” property“ip4-connectivity” NMConnectivityState
Owner: NMDevice
Flags: Read
Default value: NM_CONNECTIVITY_UNKNOWN
“ip6-connectivity” property“ip6-connectivity” NMConnectivityState
Owner: NMDevice
Flags: Read
Default value: NM_CONNECTIVITY_UNKNOWN
“nm-plugin-missing” property “nm-plugin-missing” gboolean
Owner: NMDevice
Flags: Read
Default value: FALSE
“physical-port-id” property “physical-port-id” char *
Owner: NMDevice
Flags: Read
Default value: NULL
“state” property“state” NMDeviceState
Owner: NMDevice
Flags: Read
Default value: NM_DEVICE_STATE_UNKNOWN
“state-changed” signalvoid user_function (NMDevice *nmdevice, guint arg1, guint arg2, guint arg3, gpointer user_data)
Flags: Run First