From 58f8be580039b0575b197b9573a1c92745d96d30 Mon Sep 17 00:00:00 2001
From: Michael Biebl
NMAccessPoint implements
- GInitable and GAsyncInitable. Gets the SSID of the access point. the GBytes containing the SSID, or the GBytes containing the SSID, or [transfer none] Gets the frequency of the access point. Gets the maximum bit rate of the access point in kbit/s. Gets the current signal strength of the access point. Returns the timestamp (in CLOCK_BOOTTIME seconds) for the last time the
access point was found in scan results. A value of -1 means the access
@@ -556,9 +556,9 @@ point has not been found in a scan. Filters a given array of connections for a given NMAccessPoint object and
returns connections which may be activated with the access point. Any
returned connections will match the connections an array of NMConnections to
+ an array of NMConnections to
filter. an array of
-NMConnections that could be activated with the given [transfer container][element-type NMConnection] Validates a given connection against a given Wi-Fi access point to ensure that
@@ -637,8 +637,8 @@ against The BSSID of the access point. Flags: Read Default value: NULL The frequency of the access point. Flags: Read Allowed values: <= 10000 Alias for “bssid”. The timestamp (in CLOCK_BOOTTIME seconds) for the last time the
access point was found in scan results. A value of -1 means the
access point has not been found in a scan. The maximum bit rate of the access point in kbit/s. Flags: Read Default value: 0 The SSID of the access point, or The SSID of the access point, or Flags: Read The current signal strength of the access point. Flags: Read Default value: 0
NMActiveConnection implements
- GInitable and GAsyncInitable. Gets the NMDevices used for the active connections. the GPtrArray containing NMDevices.
+ the GPtrArray containing NMDevices.
This is the internal copy used by the connection, and must not be modified. [element-type NMDevice] Whether the active connection is the default IPv4 one (that is, is used for
the default IPv4 route and DNS information). the IPv4 NMIPConfig, or the IPv4 NMIPConfig, or [transfer none] the IPv4 NMDhcpConfig, or the IPv4 NMDhcpConfig, or [transfer none] Whether the active connection is the default IPv6 one (that is, is used for
the default IPv6 route and DNS information). the IPv6 NMIPConfig, or the IPv6 NMIPConfig, or [transfer none] the IPv6 NMDhcpConfig, or the IPv6 NMDhcpConfig, or [transfer none] Whether the active connection is a VPN connection. Whether the active connection is the default IPv4 one. Flags: Read Default value: FALSE Whether the active connection is the default IPv6 one. Flags: Read Default value: FALSE The devices of the active connection. Element-type: NMDevice Flags: Read The active connection's ID Flags: Read Default value: NULL The path to the "specific object" of the active connection; see
Flags: Read The active connection's type Flags: Read Default value: NULL The active connection's UUID Flags: Read Default value: NULL Whether the active connection is a VPN connection. Flags: Read Default value: FALSE Flags: Run First Flags: Run First Notifies that a NMDevice is added. This signal is emitted for both
regular devices and placeholder devices. Flags: Run First Flags: Run First Notifies that a NMDevice is removed. This signal is emitted for both
regular devices and placeholder devices. Flags: Run First Flags: Run First Notifies that a NMConnection has been added. Flags: Run First Flags: Run First Notifies that a NMConnection has been removed. Flags: Run First Flags: Run First Notifies that a NMDevice is added. This signal is not emitted for
placeholder devices. Flags: Run First Flags: Run First Notifies that a NMDevice is removed. This signal is not emitted for
placeholder devices. Flags: Run First Flags: Run First Notifies that a permission has changed Flags: Run First Flags: Run First Removes the NMSetting with the given GType from the NMConnection. This
+ Removes the NMSetting with the given GType from the NMConnection. This
operation dereferences the NMSetting object. the GType of the setting object to remove the GType of the setting object to remove Gets the NMSetting with the given GType, if one has been previously added
+ Gets the NMSetting with the given GType, if one has been previously added
to the NMConnection. setting_type the GType of the setting object to return the GType of the setting object to return the NMSetting, or the NMSetting, or [transfer none] the NMSetting, or the NMSetting, or [transfer none] Converts the NMConnection into a GVariant of type
+ Converts the NMConnection into a GVariant of type
a new floating GVariant describing the connection,
+ a new floating GVariant describing the connection,
its settings, and each setting's properties. [transfer none] Replaces new_settings a GVariant of type a GVariant of type error location to store error, or location to store error, or Compares two NMConnection objects for similarity, with comparison behavior
modified by a set of flags. See Validates the connection and all its settings. Each setting's properties
have allowed values, and some values are dependent on other values. For
example, if a Wi-Fi connection is security enabled, the NMSettingWireless
@@ -952,7 +968,7 @@ setting object's 'security' property must contain the setting name of the
NMSettingWirelessSecurity object, which must also be present in the
connection for the connection to be valid. As another example, the
NMSettingWired object's 'mac-address' property must be a validly formatted
-MAC address. The returned GError contains information about which
+MAC address. The returned GError contains information about which
setting and which property failed validation, and how it failed validation. Verifies the secrets in the connection. error location to store error, or location to store error, or Since: 1.2 Does some basic normalization and fixup of well known inconsistencies
and deprecated fields. If the connection was modified in any way,
the output parameter Finally the connection will be verified and Finally the connection will be verified and parameters a GHashTable with
+ a GHashTable with
normalization parameters to allow customization of the normalization by providing
specific arguments. Unknown arguments will be ignored and the default will be
-used. The keys must be strings, hashed by error location to store error, or location to store error, or
-GBytes *
+GBytes *
nm_access_point_get_ssid ()
@@ -83,7 +83,7 @@
-guint32
+guint32
nm_access_point_get_frequency ()
@@ -99,7 +99,7 @@
-guint32
+guint32
nm_access_point_get_max_bitrate ()
@@ -107,7 +107,7 @@
-guint8
+guint8
nm_access_point_get_strength ()
@@ -115,7 +115,7 @@
-gint
+gint
nm_access_point_get_last_seen ()
@@ -123,7 +123,7 @@
-GPtrArray *
+GPtrArray *
nm_access_point_filter_connections ()
@@ -131,7 +131,7 @@
-gboolean
+gboolean
nm_access_point_connection_valid ()
@@ -151,7 +151,7 @@
@@ -161,23 +161,23 @@
-gchar *
+gchar *
bssid
Read
Read
-
guint
+guint
frequency
Read
-gchar *
+gchar *
hw-address
Read
-
gint
+gint
last-seen
Read
-
@@ -193,12 +193,12 @@
guint
+guint
max-bitrate
Read
-GBytes *
+GBytes *
ssid
Read
-
@@ -271,7 +271,7 @@
guchar
+guchar
strength
Read
Object Hierarchy
- GObject
+
GObject
╰── NMObject
╰── NMAccessPoint
@@ -280,7 +280,7 @@
Implemented Interfaces
Description
@@ -368,7 +368,7 @@ point.
nm_access_point_get_ssid ()
-GBytes *
+
GBytes *
nm_access_point_get_ssid (
NMAccessPoint *ap);
Returns
-NULL if the
+NULL if the
SSID is unknown.
nm_access_point_get_frequency ()
-guint32
+
guint32
nm_access_point_get_frequency (
NMAccessPoint *ap);
nm_access_point_get_max_bitrate ()
-guint32
+
guint32
nm_access_point_get_max_bitrate (
NMAccessPoint *ap);
nm_access_point_get_strength ()
-guint8
+
guint8
nm_access_point_get_strength (
NMAccessPoint *ap);
nm_access_point_get_last_seen ()
-gint
+
gint
nm_access_point_get_last_seen (
NMAccessPoint *ap);
nm_access_point_filter_connections ()
-GPtrArray *
+
GPtrArray *
nm_access_point_filter_connections (
+ NMAccessPoint *ap,
- const GPtrArray *connections);const GPtrArray *connections);ap
@@ -584,7 +584,7 @@ with this function.
@@ -594,16 +594,16 @@ filter.
-[element-type NMConnection]
Returns
ap
+NMConnections that could be activated with the given ap
. The array should
-be freed with g_ptr_array_unref() when it is no longer required. g_ptr_array_unref() when it is no longer required.
nm_access_point_connection_valid ()
-gboolean
+
gboolean
nm_access_point_connection_valid (
NMAccessPoint *ap,
NMConnection *connection);Property Details
The
-“bssid” property “bssid” gchar *
+ “bssid” gchar *
The
-“frequency” property “frequency” guint
+ “frequency” guint
The
-“hw-address” property “hw-address” gchar *
+ “hw-address” gchar *
NMAccessPoint:hw-address has been deprecated since version 1.0 and should not be used in newly-written code.
The
-“last-seen” property “last-seen” gint
+ “last-seen” gint
The
-“max-bitrate” property “max-bitrate” guint
+ “max-bitrate” guint
The
-“ssid” property “ssid” GBytes *
-NULL if it is not known. “ssid” GBytes *
+NULL if it is not known.
The
-“strength” property “strength” guchar
+ “strength” guchar
-
const GPtrArray *
+ const GPtrArray *
nm_active_connection_get_devices ()
@@ -103,7 +103,7 @@
-gboolean
+gboolean
nm_active_connection_get_default ()
@@ -127,7 +127,7 @@
-gboolean
+gboolean
nm_active_connection_get_default6 ()
@@ -151,7 +151,7 @@
-gboolean
+gboolean
nm_active_connection_get_vpn ()
@@ -176,18 +176,18 @@
Read
-
gboolean
+gboolean
default
Read
-
gboolean
+gboolean
default6
Read
@@ -205,7 +205,7 @@
-GPtrArray *
+GPtrArray *
devices
Read
@@ -229,7 +229,7 @@
-gchar *
+gchar *
id
Read
@@ -240,18 +240,18 @@
-gchar *
+gchar *
specific-object-path
Read
-gchar *
+gchar *
type
Read
-gchar *
+gchar *
uuid
Read
-
@@ -335,7 +335,7 @@
gboolean
+gboolean
vpn
Read
Object Hierarchy
- GObject
+
GObject
╰── NMObject
╰── NMActiveConnection
╰── NMVpnConnection
@@ -345,7 +345,7 @@
Implemented Interfaces
Description
@@ -499,7 +499,7 @@ by the connection, and must not be modified.
nm_active_connection_get_devices ()
-const GPtrArray *
+
const GPtrArray *
nm_active_connection_get_devices (
NMActiveConnection *connection);
Returns
-
nm_active_connection_get_default ()
-gboolean
+
gboolean
nm_active_connection_get_default (
NMActiveConnection *connection);
@@ -627,7 +627,7 @@ nm_active_connection_get_ip4_config (
Returns
-NULL if the connection is
+NULL if the connection is
not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Returns
-NULL if the connection
+NULL if the connection
does not use DHCP, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
state.
nm_active_connection_get_default6 ()
-gboolean
+
gboolean
nm_active_connection_get_default6 (
NMActiveConnection *connection);
@@ -712,7 +712,7 @@ nm_active_connection_get_ip6_config (
Returns
-NULL if the connection is
+NULL if the connection is
not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Returns
-NULL if the connection
+NULL if the connection
does not use DHCPv6, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
state.
nm_active_connection_get_vpn ()
-gboolean
+
gboolean
nm_active_connection_get_vpn (
NMActiveConnection *connection);
The
-“default” property “default” gboolean
+ “default” gboolean
The
-“default6” property “default6” gboolean
+ “default6” gboolean
The
-“devices” property “devices” GPtrArray *
+ “devices” GPtrArray *
The
-“id” property “id” gchar *
+ “id” gchar *
The
-“specific-object-path” property “specific-object-path” gchar *
+ “specific-object-path” gchar *
nm_active_connection_get_specific_object_path() for more details.
The
-“type” property “type” gchar *
+ “type” gchar *
The
-“uuid” property “uuid” gchar *
+ “uuid” gchar *
The
-“vpn” property “vpn” gboolean
+ “vpn” gboolean
-GQuark
+GQuark
nm_client_error_quark ()
@@ -53,6 +53,51 @@
+
+void
+
+
+nm_dns_entry_unref ()
+
+
+
+const char *
+
+
+nm_dns_entry_get_interface ()
+
+
+
+const char * const *
+
+
+nm_dns_entry_get_nameservers ()
+
+
+
+const char * const *
+
+
+nm_dns_entry_get_domains ()
+
+
+
+
+int
+
+
+nm_dns_entry_get_priority ()
+
+
+
+
+gboolean
+
+
+nm_dns_entry_get_vpn ()
+
+
+
NMClient *
@@ -92,7 +137,7 @@
-gboolean
+gboolean
nm_client_get_startup ()
@@ -100,7 +145,7 @@
-gboolean
+gboolean
nm_client_get_nm_running ()
@@ -108,7 +153,7 @@
-gboolean
+gboolean
nm_client_networking_get_enabled ()
@@ -116,7 +161,7 @@
-gboolean
+gboolean
nm_client_networking_set_enabled ()
@@ -124,7 +169,7 @@
-gboolean
+gboolean
nm_client_wireless_get_enabled ()
@@ -140,7 +185,7 @@
-gboolean
+gboolean
nm_client_wireless_hardware_get_enabled ()
@@ -148,7 +193,7 @@
-gboolean
+gboolean
nm_client_wwan_get_enabled ()
@@ -164,7 +209,7 @@
-gboolean
+gboolean
nm_client_wwan_hardware_get_enabled ()
@@ -172,7 +217,7 @@
-gboolean
+gboolean
nm_client_wimax_get_enabled ()
@@ -188,7 +233,7 @@
-gboolean
+gboolean
nm_client_wimax_hardware_get_enabled ()
@@ -196,7 +241,7 @@
-gboolean
+gboolean
nm_client_get_logging ()
@@ -204,7 +249,7 @@
-gboolean
+gboolean
nm_client_set_logging ()
@@ -252,7 +297,7 @@
-gboolean
+gboolean
nm_client_save_hostname ()
@@ -268,21 +313,21 @@
-gboolean
+gboolean
nm_client_save_hostname_finish ()
-
const GPtrArray *
+ const GPtrArray *
nm_client_get_devices ()
-
const GPtrArray *
+ const GPtrArray *
nm_client_get_all_devices ()
@@ -305,7 +350,7 @@
-
const GPtrArray *
+ const GPtrArray *
nm_client_get_active_connections ()
@@ -361,7 +406,7 @@
-gboolean
+gboolean
nm_client_deactivate_connection ()
@@ -377,14 +422,14 @@
-gboolean
+gboolean
nm_client_deactivate_connection_finish ()
-
const GPtrArray *
+ const GPtrArray *
nm_client_get_connections ()
@@ -432,7 +477,7 @@
-gboolean
+gboolean
nm_client_load_connections ()
@@ -448,7 +493,7 @@
-gboolean
+gboolean
nm_client_load_connections_finish ()
@@ -456,7 +501,7 @@
-gboolean
+gboolean
nm_client_reload_connections ()
@@ -472,12 +517,33 @@
+
-gboolean
+gboolean
nm_client_reload_connections_finish ()
+
+const char *
+
+
+nm_client_get_dns_mode ()
+
+
+
+const char *
+
+
+nm_client_get_dns_rc_manager ()
+
+
+
const GPtrArray *
+
+
+nm_client_get_dns_configuration ()
+
+
-GPtrArray *
+GPtrArray *
active-connections
Read
-GPtrArray *
+GPtrArray *
all-devices
Read
-
gboolean
+gboolean
can-modify
Read
@@ -526,28 +592,46 @@
-GPtrArray *
+GPtrArray *
connections
Read
-GPtrArray *
+GPtrArray *
devices
Read
+
-gchar *
+GPtrArray *
+dns-configuration
+Read
+
+
+
+gchar *
+dns-mode
+Read
+
+
+
+gchar *
+dns-rc-manager
+Read
+
+
+gchar *
hostname
Read
-
guint
+guint
metered
Read
-
gboolean
+gboolean
networking-enabled
Read / Write
-
@@ -558,7 +642,7 @@
gboolean
+gboolean
nm-running
Read
Read
-
@@ -569,37 +653,37 @@
gboolean
+gboolean
startup
Read
-gchar *
+gchar *
version
Read
-
gboolean
+gboolean
wimax-enabled
Read / Write
-
gboolean
+gboolean
wimax-hardware-enabled
Read
-
gboolean
+gboolean
wireless-enabled
Read / Write
-
gboolean
+gboolean
wireless-hardware-enabled
Read
-
gboolean
+gboolean
wwan-enabled
Read / Write
-
@@ -618,52 +702,52 @@
gboolean
+gboolean
wwan-hardware-enabled
Read
void
active-connection-added
-Run First
+Run First
void
active-connection-removed
-Run First
+Run First
void
any-device-added
-Run First
+Run First
void
any-device-removed
-Run First
+Run First
void
connection-added
-Run First
+Run First
void
connection-removed
-Run First
+Run First
void
device-added
-Run First
+Run First
void
device-removed
-Run First
+Run First
void
permission-changed
-Run First
+Run First
Types and Values
The
“any-device-added” signalvoid
user_function (NMClient *client,
- GObject *device,
- gpointer user_data)
+ GObject *device,
+ gpointer user_data)
The
“any-device-removed” signalvoid
user_function (NMClient *client,
- GObject *device,
- gpointer user_data)
+ GObject *device,
+ gpointer user_data)
void
user_function (NMClient *client,
NMRemoteConnection *connection,
- gpointer user_data)
+ gpointer user_data)
The
“device-added” signalvoid
user_function (NMClient *client,
- GObject *device,
- gpointer user_data)
+ GObject *device,
+ gpointer user_data)
The
“device-removed” signalvoid
user_function (NMClient *client,
- GObject *device,
- gpointer user_data)
+ GObject *device,
+ gpointer user_data)
The
“permission-changed” signalvoid
user_function (NMClient *client,
- guint permission,
- guint result,
- gpointer user_data)
+ guint permission,
+ guint result,
+ gpointer user_data)
-GVariant *
+GVariant *
nm_connection_to_dbus ()
@@ -82,7 +82,7 @@
-gboolean
+gboolean
nm_connection_replace_settings ()
@@ -106,7 +106,7 @@
-gboolean
+gboolean
nm_connection_compare ()
@@ -114,7 +114,7 @@
-gboolean
+gboolean
nm_connection_diff ()
@@ -122,7 +122,7 @@
-gboolean
+gboolean
nm_connection_verify ()
@@ -130,7 +130,7 @@
-gboolean
+gboolean
nm_connection_verify_secrets ()
@@ -138,7 +138,7 @@
-gboolean
+gboolean
nm_connection_normalize ()
@@ -169,7 +169,7 @@
-gboolean
+gboolean
nm_connection_update_secrets ()
@@ -199,7 +199,7 @@
-gboolean
+gboolean
nm_connection_is_type ()
@@ -244,7 +244,7 @@
-gboolean
+gboolean
nm_connection_is_virtual ()
@@ -388,6 +388,14 @@
+
+NMSettingMacsec *
+
+
+nm_connection_get_setting_macsec ()
+
+
+
NMSettingMacvlan *
@@ -420,6 +428,14 @@
+
+NMSettingProxy *
+
+
+nm_connection_get_setting_proxy ()
+
+
+
@@ -630,8 +646,8 @@ operation dereferences the
NMSettingSerial *
@@ -599,8 +615,8 @@ the setting object's reference count.
-nm_connection_remove_setting ()
void
nm_connection_remove_setting (
-NMConnection *connection,
- GType setting_type);GType setting_type);
+
+
nm_connection_get_setting ()
NMSetting *
nm_connection_get_setting (
-NMConnection *connection,
- GType setting_type);GType setting_type);
+Parameters
@@ -649,7 +665,7 @@ to the
@@ -657,7 +673,7 @@ to the
-
+
Returns
-NULL if no setting of that type was previously
+NULL if no setting of that type was previously
added to the NMConnection. Returns
-NULL if no setting with that name was previously
+NULL if no setting with that name was previously
added to the NMConnection. nm_connection_to_dbus ()
-GVariant *
+
GVariant *
nm_connection_to_dbus (
-NMConnection *connection,
NMConnectionSerializationFlags flags);NM_VARIANT_TYPE_CONNECTION describing the connection, suitable for
marshalling over D-Bus or otherwise serializing.Returns
-
nm_connection_replace_settings ()
-gboolean
+
gboolean
nm_connection_replace_settings (
+ NMConnection *connection,
- GVariant *new_settings,
- GError **error);GVariant *new_settings,
+ GError **error);connection
's settings with new_settings
(which must be
@@ -765,12 +781,12 @@ need to result in a connection that passes
+NM_VARIANT_TYPE_CONNECTION, with the new settingsNM_VARIANT_TYPE_CONNECTION, with the new settings
@@ -778,7 +794,7 @@ need to result in a connection that passes
-
+NULLNULL
Returns
-TRUE if connection was updated, FALSE if new_settings
+TRUE if connection was updated, FALSE if new_settings
could not
be deserialized (in which case connection
will be unchanged).
nm_connection_compare ()
-gboolean
+
gboolean
nm_connection_compare (
@@ -881,17 +897,17 @@ each flag's behavior.
NMConnection *a,
NMConnection *b,
NMSettingCompareFlags flags);
nm_connection_diff ()
-gboolean
+
gboolean
nm_connection_diff (
+ NMConnection *a,
NMConnection *b,
NMSettingCompareFlags flags,
- GHashTable **out_settings);GHashTable **out_settings);nm_setting_compare() for a description of
each flag's behavior. If the connections differ, settings and keys within
@@ -935,16 +951,16 @@ differ mapped to one or more of
Returns
-TRUE if the connections contain the same values, FALSE if they do
+TRUE if the connections contain the same values, FALSE if they do
not
nm_connection_verify ()
-gboolean
+
gboolean
nm_connection_verify (
+ NMConnection *connection,
- GError **error);GError **error);
nm_connection_verify_secrets ()
-gboolean
+
gboolean
nm_connection_verify_secrets (
+ NMConnection *connection,
- GError **error);GError **error);Parameters
@@ -1004,7 +1020,7 @@ nm_connection_verify_secrets (
+NULLNULL
@@ -1012,23 +1028,23 @@ nm_connection_verify_secrets (
Returns
-
+
nm_connection_normalize ()
-gboolean
+
gboolean
nm_connection_normalize (
+ NMConnection *connection,
- GHashTable *parameters,
- gboolean *modified,
- GError **error);GHashTable *parameters,
+ gboolean *modified,
+ GError **error);modified
- is set TRUE.TRUE returns if the connection
+ is set TRUE.TRUE returns if the connection
is valid. As this function only performs some specific normalization steps
it cannot repair all connections. If the connection has errors that
cannot be normalized, the connection will not be modified.
@@ -1062,7 +1078,7 @@ The values are opaque and depend on the parameter name.
-g_str_hash() and g_str_equal() functions.
+used. The keys must be strings, hashed by g_str_hash() and g_str_equal() functions.
The values are opaque and depend on the parameter name. [allow-none][element-type utf8 gpointer]
@@ -1071,7 +1087,7 @@ why the connection is invalid, if the function returns an error.
-NULL. Contains the reason,
+NULL. Contains the reason,
why the connection is invalid, if the function returns an error.
@@ -1079,7 +1095,7 @@ why the connection is invalid, if the function returns an error.
const char * nm_connection_need_secrets (+NMConnection *connection, -GPtrArray **hints);
GPtrArray **hints);
Returns the name of the first setting object in the connection which would need secrets to make a successful connection. The returned hints are only intended as a guide to what secrets may be required, because in some @@ -1101,10 +1117,10 @@ secrets are needed.
hints
the address of a pointer to a GPtrArray, initialized to NULL, which on
-return points to an allocated GPtrArray containing the property names of
+
the address of a pointer to a GPtrArray, initialized to NULL, which on
+return points to an allocated GPtrArray containing the property names of
secrets of the NMSetting which may be required; the caller owns the array
-and must free the array itself with g_ptr_array_free(), but not free its
+and must free the array itself with g_ptr_array_free(), but not free its
elements.
NMConnection *connection,
NMSettingClearSecretsWithFlagsFn func,
- gpointer user_data);
+ gpointer user_data);
Clears and frees secrets determined by func
.
gboolean +gboolean nm_connection_update_secrets (+NMConnection *connection,const char *setting_name, -GVariant *secrets, -GError **error);GVariant *secrets, +GError **error);
Update the specified setting's secrets, given a dictionary of secrets
intended for that setting (deserialized from D-Bus for example). Will also
extract the given setting's secrets hash if given a connection dictionary.
If setting_name
- is NULL, expects a fully serialized NMConnection as
+ is NULL, expects a fully serialized NMConnection as
returned by nm_connection_to_dbus() and will update all secrets from all
settings contained in secrets
.
secrets
secrets
a GVariant of secrets, of type NM_VARIANT_TYPE_CONNECTION
+
a GVariant of secrets, of type NM_VARIANT_TYPE_CONNECTION
or NM_VARIANT_TYPE_SETTING
error
location to store error, or NULL
location to store error, or NULL
TRUE if the secrets were successfully updated, FALSE if the update
+
TRUE if the secrets were successfully updated, FALSE if the update
failed (tried to update secrets for a setting that doesn't exist, etc)
NMConnection *connection,
const char *path);
Sets the D-Bus path of the connection. This property is not serialized, and -is only for the reference of the caller. Sets the “path” +is only for the reference of the caller. Sets the “path” property.
const char *
nm_connection_get_interface_name (NMConnection *connection);
Returns the interface name as stored in NMSettingConnection:interface_name.
-If the connection contains no NMSettingConnection, it will return NULL.
+If the connection contains no NMSettingConnection, it will return NULL.
For hardware devices and software devices created outside of NetworkManager,
this name is used to match the device. for software devices created by
NetworkManager, this is the name of the created interface.
@@ -1322,13 +1338,13 @@ NetworkManager, this is the name of the created interface.
gboolean +gboolean nm_connection_is_type (NMConnection *connection,const char *type);A convenience function to check if the given
connection@@ -1361,8 +1377,8 @@ property of the connection and matches that against
void
nm_connection_for_each_setting_value (NMConnection *connection,
NMSettingValueIterFn func,
- gpointer user_data);
+ gpointer user_data);
Iterates over the properties of each NMSetting object in the NMConnection,
calling the supplied user function for each property.
@@ -1508,7 +1524,7 @@ nm_connection_get_connection_type (
nm_connection_is_virtual ()
-gboolean
+gboolean
nm_connection_is_virtual (NMConnection *connection);
Checks if connection
refers to a virtual device (and thus can potentially be
@@ -1563,7 +1579,7 @@ Eg, "VLAN (eth1.1)".
Returns
the name of connection
's device,
-or NULL if connection
+or NULL if connection
is not a virtual connection type.
[transfer full]
@@ -1591,7 +1607,7 @@ nm_connection_get_setting_802_1x (
Returns
- an NMSetting8021x if the connection contains one, otherwise NULL.
+ an NMSetting8021x if the connection contains one, otherwise NULL.
[transfer none]
@@ -1618,7 +1634,7 @@ nm_connection_get_setting_bluetooth (
Returns
- an NMSettingBluetooth if the connection contains one, otherwise NULL.
+ an NMSettingBluetooth if the connection contains one, otherwise NULL.
[transfer none]
@@ -1645,7 +1661,7 @@ nm_connection_get_setting_bond (
Returns
- an NMSettingBond if the connection contains one, otherwise NULL.
+ an NMSettingBond if the connection contains one, otherwise NULL.
[transfer none]
@@ -1672,7 +1688,7 @@ nm_connection_get_setting_team (
Returns
- an NMSettingTeam if the connection contains one, otherwise NULL.
+ an NMSettingTeam if the connection contains one, otherwise NULL.
[transfer none]
@@ -1699,7 +1715,7 @@ nm_connection_get_setting_team_port (
Returns
- an NMSettingTeamPort if the connection contains one, otherwise NULL.
+ an NMSettingTeamPort if the connection contains one, otherwise NULL.
[transfer none]
@@ -1726,7 +1742,7 @@ nm_connection_get_setting_bridge (
Returns
- an NMSettingBridge if the connection contains one, otherwise NULL.
+ an NMSettingBridge if the connection contains one, otherwise NULL.
[transfer none]
@@ -1753,7 +1769,7 @@ nm_connection_get_setting_bridge_port (
Returns
- an NMSettingBridgePort if the connection contains one, otherwise NULL.
+ an NMSettingBridgePort if the connection contains one, otherwise NULL.
[transfer none]
@@ -1780,7 +1796,7 @@ nm_connection_get_setting_cdma (
Returns
- an NMSettingCdma if the connection contains one, otherwise NULL.
+ an NMSettingCdma if the connection contains one, otherwise NULL.
[transfer none]
@@ -1807,7 +1823,7 @@ nm_connection_get_setting_connection (
Returns
- an NMSettingConnection if the connection contains one, otherwise NULL.
+ an NMSettingConnection if the connection contains one, otherwise NULL.
[transfer none]
@@ -1888,7 +1904,7 @@ nm_connection_get_setting_gsm (
Returns
- an NMSettingGsm if the connection contains one, otherwise NULL.
+ an NMSettingGsm if the connection contains one, otherwise NULL.
[transfer none]
@@ -1915,7 +1931,7 @@ nm_connection_get_setting_infiniband (
Returns
- an NMSettingInfiniband if the connection contains one, otherwise NULL.
+ an NMSettingInfiniband if the connection contains one, otherwise NULL.
[transfer none]
@@ -1942,7 +1958,7 @@ nm_connection_get_setting_ip_tunnel (
Returns
- an NMSettingIPTunnel if the connection contains one, otherwise NULL.
+ an NMSettingIPTunnel if the connection contains one, otherwise NULL.
[transfer none]
Since: 1.2
@@ -1974,7 +1990,7 @@ majority of IPv4-setting-related methods are on that type, not
Returns
an NMSettingIP4Config if the
-connection contains one, otherwise NULL.
+connection contains one, otherwise NULL.
[type NMSettingIP4Config][transfer none]
@@ -2005,12 +2021,40 @@ majority of IPv6-setting-related methods are on that type, not
Returns
an NMSettingIP6Config if the
-connection contains one, otherwise NULL.
+connection contains one, otherwise NULL.
[type NMSettingIP6Config][transfer none]
+nm_connection_get_setting_macsec ()
+NMSettingMacsec *
+nm_connection_get_setting_macsec (NMConnection *connection);
+A shortcut to return any NMSettingMacsec the connection might contain.
+
+
+Since: 1.6
+
+
+
nm_connection_get_setting_macvlan ()
NMSettingMacvlan *
nm_connection_get_setting_macvlan (NMConnection *connection);
@@ -2032,7 +2076,7 @@ nm_connection_get_setting_macvlan (
Returns
- an NMSettingMacvlan if the connection contains one, otherwise NULL.
+ an NMSettingMacvlan if the connection contains one, otherwise NULL.
[transfer none]
Since: 1.2
@@ -2060,7 +2104,7 @@ nm_connection_get_setting_olpc_mesh (
Returns
- an NMSettingOlpcMesh if the connection contains one, otherwise NULL.
+ an NMSettingOlpcMesh if the connection contains one, otherwise NULL.
[transfer none]
@@ -2087,7 +2131,7 @@ nm_connection_get_setting_ppp (
Returns
- an NMSettingPpp if the connection contains one, otherwise NULL.
+ an NMSettingPpp if the connection contains one, otherwise NULL.
[transfer none]
@@ -2114,9 +2158,37 @@ nm_connection_get_setting_pppoe (
Returns
- an NMSettingPppoe if the connection contains one, otherwise NULL.
+ an NMSettingPppoe if the connection contains one, otherwise NULL.
+[transfer none]
+
+
+
+
+nm_connection_get_setting_proxy ()
+NMSettingProxy *
+nm_connection_get_setting_proxy (NMConnection *connection);
+A shortcut to return any NMSettingProxy the connection might contain.
+
+
+Since: 1.6
@@ -2141,7 +2213,7 @@ nm_connection_get_setting_serial (
Returns
- an NMSettingSerial if the connection contains one, otherwise NULL.
+ an NMSettingSerial if the connection contains one, otherwise NULL.
[transfer none]
@@ -2168,7 +2240,7 @@ nm_connection_get_setting_tun (
Returns
- an NMSettingTun if the connection contains one, otherwise NULL.
+ an NMSettingTun if the connection contains one, otherwise NULL.
[transfer none]
Since: 1.2
@@ -2196,7 +2268,7 @@ nm_connection_get_setting_vpn (
Returns
- an NMSettingVpn if the connection contains one, otherwise NULL.
+ an NMSettingVpn if the connection contains one, otherwise NULL.
[transfer none]
@@ -2223,7 +2295,7 @@ nm_connection_get_setting_wimax (
Returns
- an NMSettingWimax if the connection contains one, otherwise NULL.
+ an NMSettingWimax if the connection contains one, otherwise NULL.
[transfer none]
@@ -2250,7 +2322,7 @@ nm_connection_get_setting_adsl (
Returns
- an NMSettingAdsl if the connection contains one, otherwise NULL.
+ an NMSettingAdsl if the connection contains one, otherwise NULL.
[transfer none]
@@ -2277,7 +2349,7 @@ nm_connection_get_setting_wired (
Returns
- an NMSettingWired if the connection contains one, otherwise NULL.
+ an NMSettingWired if the connection contains one, otherwise NULL.
[transfer none]
@@ -2304,7 +2376,7 @@ nm_connection_get_setting_wireless (
Returns
- an NMSettingWireless if the connection contains one, otherwise NULL.
+ an NMSettingWireless if the connection contains one, otherwise NULL.
[transfer none]
@@ -2332,7 +2404,7 @@ nm_connection_get_setting_wireless_security
Returns
- an NMSettingWirelessSecurity if the connection contains one, otherwise NULL.
+ an NMSettingWirelessSecurity if the connection contains one, otherwise NULL.
[transfer none]
@@ -2359,7 +2431,7 @@ nm_connection_get_setting_vlan (
Returns
- an NMSettingVlan if the connection contains one, otherwise NULL.
+ an NMSettingVlan if the connection contains one, otherwise NULL.
[transfer none]
@@ -2386,7 +2458,7 @@ nm_connection_get_setting_vxlan (
Returns
- an NMSettingVxlan if the connection contains one, otherwise NULL.
+ an NMSettingVxlan if the connection contains one, otherwise NULL.
[transfer none]
Since: 1.2
@@ -2440,7 +2512,7 @@ nm_connection_get_setting_vxlan (
-GTypeInterface parent;
+GTypeInterface parent;
the parent interace struct
@@ -2468,8 +2540,8 @@ nm_connection_get_setting_vxlan (NM_VARIANT_TYPE_SETTING
#define NM_VARIANT_TYPE_SETTING G_VARIANT_TYPE_VARDICT
-GVariantType for a dictionary mapping from property names to values. This is
-an alias for G_VARIANT_TYPE_VARDICT, and is the type of each element of
+
GVariantType for a dictionary mapping from property names to values. This is
+an alias for G_VARIANT_TYPE_VARDICT, and is the type of each element of
an NM_VARIANT_TYPE_CONNECTION dictionary.
diff --git a/docs/libnm/html/NMDevice.html b/docs/libnm/html/NMDevice.html
index 7951da7a..a2fa6df2 100644
--- a/docs/libnm/html/NMDevice.html
+++ b/docs/libnm/html/NMDevice.html
@@ -117,7 +117,7 @@
-gboolean
+gboolean
nm_device_get_managed ()
@@ -133,7 +133,7 @@
-gboolean
+gboolean
nm_device_get_autoconnect ()
@@ -149,7 +149,7 @@
-gboolean
+gboolean
nm_device_get_firmware_missing ()
@@ -157,7 +157,7 @@
-gboolean
+gboolean
nm_device_get_nm_plugin_missing ()
@@ -220,7 +220,7 @@
-const GPtrArray *
+ const GPtrArray *
nm_device_get_available_connections ()
@@ -235,7 +235,7 @@
-guint32
+guint32
nm_device_get_mtu ()
@@ -243,7 +243,7 @@
-gboolean
+gboolean
nm_device_is_real ()
@@ -251,7 +251,7 @@
-gboolean
+gboolean
nm_device_is_software ()
@@ -288,7 +288,7 @@
-GPtrArray *
+GPtrArray *
nm_device_get_lldp_neighbors ()
@@ -304,7 +304,7 @@
-gboolean
+gboolean
nm_device_reapply ()
@@ -320,7 +320,7 @@
-gboolean
+gboolean
nm_device_reapply_finish ()
@@ -352,7 +352,7 @@
-gboolean
+gboolean
nm_device_disconnect ()
@@ -368,7 +368,7 @@
-gboolean
+gboolean
nm_device_disconnect_finish ()
@@ -376,7 +376,7 @@
-gboolean
+gboolean
nm_device_delete ()
@@ -392,7 +392,7 @@
-gboolean
+gboolean
nm_device_delete_finish ()
@@ -400,7 +400,7 @@
-GPtrArray *
+GPtrArray *
nm_device_filter_connections ()
@@ -408,7 +408,7 @@
-gboolean
+gboolean
nm_device_connection_valid ()
@@ -416,7 +416,7 @@
-gboolean
+gboolean
nm_device_connection_compatible ()
@@ -424,7 +424,7 @@
-GType
+GType
nm_device_get_setting_type ()
@@ -464,7 +464,7 @@
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_string_value ()
@@ -472,14 +472,14 @@
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_uint_value ()
-const GVariantType *
+ const GVariantType *
nm_lldp_neighbor_get_attr_type ()
@@ -504,13 +504,13 @@
Read
-gboolean
+gboolean
autoconnect
Read / Write
-GPtrArray *
+GPtrArray *
available-connections
Read
@@ -538,36 +538,36 @@
-gchar *
+gchar *
driver
Read
-gchar *
+gchar *
driver-version
Read
-gboolean
+gboolean
firmware-missing
Read
-gchar *
+gchar *
firmware-version
Read
-gchar *
+gchar *
interface
Read
-gchar *
+gchar *
ip-interface
Read
@@ -585,44 +585,44 @@
-GPtrArray *
+GPtrArray *
lldp-neighbors
Read
-gboolean
+gboolean
managed
Read
-guint
+guint
metered
Read
-guint
+guint
mtu
Read
-gboolean
+gboolean
nm-plugin-missing
Read
-gchar *
+gchar *
physical-port-id
Read
-gchar *
+gchar *
product
Read
-gboolean
+gboolean
real
Read
@@ -632,19 +632,19 @@
Read
-guint
+guint
state-reason
Read
-gchar *
+gchar *
udi
Read
-gchar *
+gchar *
vendor
Read
@@ -662,7 +662,7 @@
void
state-changed
-Run First
+Run First
@@ -793,7 +793,7 @@
Object Hierarchy
GBoxed
╰── NMLldpNeighbor
- GObject
+ GObject
╰── NMObject
╰── NMDevice
├── NMDeviceAdsl
@@ -804,6 +804,7 @@
├── NMDeviceGeneric
├── NMDeviceInfiniband
├── NMDeviceIPTunnel
+ ├── NMDeviceMacsec
├── NMDeviceMacvlan
├── NMDeviceModem
├── NMDeviceOlpcMesh
@@ -819,7 +820,7 @@
Implemented Interfaces
NMDevice implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -1068,7 +1069,7 @@ nm_device_get_hw_address (
Returns
- the current MAC of the device, or NULL.
+
the current MAC of the device, or NULL.
This is the internal string used by the device, and must not be modified.
@@ -1101,7 +1102,7 @@ nm_device_get_capabilities (
nm_device_get_managed ()
-gboolean
+gboolean
nm_device_get_managed (NMDevice *device);
Whether the NMDevice is managed by NetworkManager.
@@ -1121,7 +1122,7 @@ nm_device_get_managed (
Returns
- TRUE if the device is managed by NetworkManager
+ TRUE if the device is managed by NetworkManager
@@ -1129,7 +1130,7 @@ nm_device_get_managed (nm_device_set_managed ()
void
nm_device_set_managed (NMDevice *device,
- gboolean managed);
+ gboolean managed);
Enables or disables management of NMDevice by NetworkManager.
@@ -1158,7 +1159,7 @@ nm_device_set_managed (
nm_device_get_autoconnect ()
-gboolean
+gboolean
nm_device_get_autoconnect (NMDevice *device);
Whether the NMDevice can be autoconnected.
@@ -1178,7 +1179,7 @@ nm_device_get_autoconnect (
Returns
- TRUE if the device is allowed to be autoconnected
+ TRUE if the device is allowed to be autoconnected
@@ -1186,7 +1187,7 @@ nm_device_get_autoconnect (nm_device_set_autoconnect ()
void
nm_device_set_autoconnect (NMDevice *device,
- gboolean autoconnect);
+ gboolean autoconnect);
Enables or disables automatic activation of the NMDevice.
Parameters
@@ -1204,7 +1205,7 @@ nm_device_set_autoconnect (autoconnect
-TRUE to enable autoconnecting
+TRUE to enable autoconnecting
@@ -1214,7 +1215,7 @@ nm_device_set_autoconnect (
nm_device_get_firmware_missing ()
-gboolean
+gboolean
nm_device_get_firmware_missing (NMDevice *device);
Indicates that firmware required for the device's operation is likely
to be missing.
@@ -1235,14 +1236,14 @@ to be missing.
Returns
- TRUE if firmware required for the device's operation is likely
+
TRUE if firmware required for the device's operation is likely
to be missing.
nm_device_get_nm_plugin_missing ()
-gboolean
+gboolean
nm_device_get_nm_plugin_missing (NMDevice *device);
Indicates that the NetworkManager plugin for the device is not installed.
@@ -1262,7 +1263,7 @@ nm_device_get_nm_plugin_missing (
Since: 1.2
@@ -1291,7 +1292,7 @@ works with VPN connections.
Returns
- the IPv4 NMIPConfig, or NULL if the device is not
+
the IPv4 NMIPConfig, or NULL if the device is not
activated.
[transfer none]
@@ -1321,7 +1322,7 @@ works with VPN connections.
Returns
- the IPv4 NMDhcpConfig, or NULL if the device is
+
the IPv4 NMDhcpConfig, or NULL if the device is
not activated or not using DHCP.
[transfer none]
@@ -1351,7 +1352,7 @@ works with VPN connections.
Returns
- the IPv6 NMIPConfig or NULL if the device is not activated.
+ the IPv6 NMIPConfig or NULL if the device is not activated.
[transfer none]
@@ -1380,7 +1381,7 @@ works with VPN connections.
Returns
- the IPv6 NMDhcpConfig, or NULL if the device is
+
the IPv6 NMDhcpConfig, or NULL if the device is
not activated or not using DHCPv6.
[transfer none]
@@ -1460,7 +1461,7 @@ nm_device_get_active_connection (
Returns
- the NMActiveConnection or NULL if the device is
+
the NMActiveConnection or NULL if the device is
not part of an active connection.
[transfer none]
@@ -1468,7 +1469,7 @@ not part of an active connection.
nm_device_get_available_connections ()
-const GPtrArray *
+const GPtrArray *
nm_device_get_available_connections (NMDevice *device);
Gets the NMRemoteConnections currently known to the daemon that could
be activated on device
@@ -1490,7 +1491,7 @@ be activated on device
Returns
- the GPtrArray
+
the GPtrArray
containing NMRemoteConnections. This is the internal copy used by
the connection, and must not be modified.
[element-type NMRemoteConnection]
@@ -1501,7 +1502,7 @@ the connection, and must not be modified.
nm_device_get_physical_port_id ()
const char *
nm_device_get_physical_port_id (NMDevice *device);
-Gets the physical port ID of the NMDevice. If non-NULL, this is
+
Gets the physical port ID of the NMDevice. If non-NULL, this is
an opaque string that can be used to recognize when
seemingly-unrelated NMDevices are actually just different virtual
ports on a single physical port. (Eg, NPAR / SR-IOV.)
@@ -1522,7 +1523,7 @@ ports on a single physical port. (Eg, NPAR / SR-IOV.)
Returns
- the physical port ID of the device, or NULL if the port
+
the physical port ID of the device, or NULL if the port
ID is unknown. This is the internal string used by the device and
must not be modified.
@@ -1530,7 +1531,7 @@ must not be modified.
nm_device_get_mtu ()
-guint32
+guint32
nm_device_get_mtu (NMDevice *device);
Gets the MTU of the NMDevice.
@@ -1556,7 +1557,7 @@ nm_device_get_mtu (
nm_device_is_real ()
-gboolean
+gboolean
nm_device_is_real (NMDevice *device);
Parameters
@@ -1575,7 +1576,7 @@ nm_device_is_real (
Returns
- TRUE if the device exists, or FALSE if it is a placeholder device
+
TRUE if the device exists, or FALSE if it is a placeholder device
that could be automatically created by NetworkManager if one of its
“available-connections” was activated.
@@ -1584,7 +1585,7 @@ that could be automatically created by NetworkManager if one of its
nm_device_is_software ()
-gboolean
+gboolean
nm_device_is_software (NMDevice *device);
Whether the device is a software device.
@@ -1721,7 +1722,7 @@ nm_device_get_metered (
nm_device_get_lldp_neighbors ()
-GPtrArray *
+GPtrArray *
nm_device_get_lldp_neighbors (NMDevice *device);
Gets the list of neighbors discovered through LLDP.
@@ -1741,7 +1742,7 @@ nm_device_get_lldp_neighbors (
Returns
- the GPtrArray
+
the GPtrArray
containing NMLldpNeighbors. This is the internal copy used by the
device and must not be modified. The library never modifies the returned
array and thus it is safe for callers to reference and keep using it.
@@ -1790,13 +1791,13 @@ devices in devices
nm_device_reapply ()
-gboolean
+gboolean
nm_device_reapply (NMDevice *device,
NMConnection *connection,
- guint64 version_id,
- guint32 flags,
- GCancellable *cancellable,
- GError **error);
+ guint64 version_id,
+ guint32 flags,
+ GCancellable *cancellable,
+ GError **error);
Attempts to update device with changes to the currently active connection
made since it was last applied.
@@ -1815,7 +1816,7 @@ made since it was last applied.
connection
-the NMConnection to replace the applied settings with or NULL to reuse existing
+the NMConnection to replace the applied settings with or NULL to reuse existing
@@ -1832,12 +1833,12 @@ catch concurrent accesses.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-
+
@@ -1845,7 +1846,7 @@ catch concurrent accesses.
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
Since: 1.2
@@ -1856,11 +1857,11 @@ will be set.
void
nm_device_reapply_async (NMDevice *device,
NMConnection *connection,
- guint64 version_id,
- guint32 flags,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+ guint64 version_id,
+ guint32 flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
Asynchronously begins an attempt to update device with changes to the
currently active connection made since it was last applied.
@@ -1879,7 +1880,7 @@ currently active connection made since it was last applied.
connection
-the NMConnection to replace the applied settings with or NULL to reuse existing
+the NMConnection to replace the applied settings with or NULL to reuse existing
@@ -1896,7 +1897,7 @@ catch concurrent accesses.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
@@ -1918,10 +1919,10 @@ catch concurrent accesses.
nm_device_reapply_finish ()
-gboolean
+gboolean
nm_device_reapply_finish (NMDevice *device,
- GAsyncResult *result,
- GError **error);
+ GAsyncResult *result,
+ GError **error);
Gets the result of a call to nm_device_reapply_async().
Parameters
@@ -1939,12 +1940,12 @@ nm_device_reapply_finish (result
-the result passed to the GAsyncReadyCallback
+the result passed to the GAsyncReadyCallback
error
-
+
@@ -1952,7 +1953,7 @@ nm_device_reapply_finish (
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
Since: 1.2
@@ -1962,10 +1963,10 @@ will be set.
nm_device_get_applied_connection ()
NMConnection *
nm_device_get_applied_connection (NMDevice *device,
- guint32 flags,
- guint64 *version_id,
- GCancellable *cancellable,
- GError **error);
+ guint32 flags,
+ guint64 *version_id,
+ GCancellable *cancellable,
+ GError **error);
Fetch the currently applied connection on the device.
Parameters
@@ -1994,12 +1995,12 @@ the applied connection.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-
+
@@ -2008,7 +2009,7 @@ the applied connection.
Returns
a NMConnection with the currently applied settings
-or NULL on error.
+or NULL on error.
The connection is as received from D-Bus and might not validate according
to nm_connection_verify().
[transfer full]
@@ -2021,10 +2022,10 @@ to void
nm_device_get_applied_connection_async
(NMDevice *device,
- guint32 flags,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+ guint32 flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
Asynchronously begins an get the a currently applied connection.
Parameters
@@ -2047,7 +2048,7 @@ nm_device_get_applied_connection_async
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
@@ -2072,9 +2073,9 @@ nm_device_get_applied_connection_async
NMConnection *
nm_device_get_applied_connection_finish
(NMDevice *device,
- GAsyncResult *result,
- guint64 *version_id,
- GError **error);
+ GAsyncResult *result,
+ guint64 *version_id,
+ GError **error);
Gets the result of a call to nm_device_get_applied_connection_async().
result
-the result passed to the GAsyncReadyCallback
+the result passed to the GAsyncReadyCallback
@@ -2103,7 +2104,7 @@ connection.
error
-
+
@@ -2111,7 +2112,7 @@ connection.
Returns
- a currently applied NMConnection or NULL in case
+
a currently applied NMConnection or NULL in case
of error.
The connection is as received from D-Bus and might not validate according
to nm_connection_verify().
@@ -2122,10 +2123,10 @@ to
nm_device_disconnect ()
-gboolean
+gboolean
nm_device_disconnect (NMDevice *device,
- GCancellable *cancellable,
- GError **error);
+ GCancellable *cancellable,
+ GError **error);
Disconnects the device if currently connected, and prevents the device from
automatically connecting to networks until the next manual network connection
request.
@@ -2145,12 +2146,12 @@ request.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-
+
@@ -2158,7 +2159,7 @@ request.
@@ -2167,9 +2168,9 @@ will be set.
nm_device_disconnect_async ()
void
nm_device_disconnect_async (NMDevice *device,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
Asynchronously begins disconnecting the device if currently connected, and
prevents the device from automatically connecting to networks until the next
manual network connection request.
@@ -2189,7 +2190,7 @@ manual network connection request.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
@@ -2210,10 +2211,10 @@ manual network connection request.
nm_device_disconnect_finish ()
-gboolean
+gboolean
nm_device_disconnect_finish (NMDevice *device,
- GAsyncResult *result,
- GError **error);
+ GAsyncResult *result,
+ GError **error);
Gets the result of a call to nm_device_disconnect_async().
Parameters
@@ -2231,12 +2232,12 @@ nm_device_disconnect_finish (result
-the result passed to the GAsyncReadyCallback
+the result passed to the GAsyncReadyCallback
error
-
+
@@ -2244,17 +2245,17 @@ nm_device_disconnect_finish (
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
nm_device_delete ()
-gboolean
+gboolean
nm_device_delete (NMDevice *device,
- GCancellable *cancellable,
- GError **error);
+ GCancellable *cancellable,
+ GError **error);
Deletes the software device. Hardware devices can't be deleted.
Parameters
@@ -2272,12 +2273,12 @@ nm_device_delete (cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-
+
@@ -2285,7 +2286,7 @@ nm_device_delete (
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
@@ -2294,9 +2295,9 @@ will be set.
nm_device_delete_async ()
void
nm_device_delete_async (NMDevice *device,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
Asynchronously begins deleteing the software device. Hardware devices can't
be deleted.
@@ -2315,7 +2316,7 @@ be deleted.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
@@ -2336,10 +2337,10 @@ be deleted.
nm_device_delete_finish ()
-gboolean
+gboolean
nm_device_delete_finish (NMDevice *device,
- GAsyncResult *result,
- GError **error);
+ GAsyncResult *result,
+ GError **error);
Gets the result of a call to nm_device_delete_async().
Parameters
@@ -2357,12 +2358,12 @@ nm_device_delete_finish (result
-the result passed to the GAsyncReadyCallback
+the result passed to the GAsyncReadyCallback
error
-
+
@@ -2370,16 +2371,16 @@ nm_device_delete_finish (
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
nm_device_filter_connections ()
-GPtrArray *
+GPtrArray *
nm_device_filter_connections (NMDevice *device,
- const GPtrArray *connections);
+ const GPtrArray *connections);
Filters a given array of connections for a given NMDevice object and returns
connections which may be activated with the device. For example if device
@@ -2406,7 +2407,7 @@ incompatible with the device. To get the full list of connections see
connections
- an array of NMConnections to filter.
+ an array of NMConnections to filter.
[element-type NMConnection]
@@ -2415,16 +2416,16 @@ incompatible with the device. To get the full list of connections see
Returns
an array of
-NMConnections that could be activated with the given device
+NMConnections that could be activated with the given device
. The array
-should be freed with g_ptr_array_unref() when it is no longer required.
+should be freed with g_ptr_array_unref() when it is no longer required.
[transfer container][element-type NMConnection]
nm_device_connection_valid ()
-gboolean
+gboolean
nm_device_connection_valid (NMDevice *device,
NMConnection *connection);
Validates a given connection for a given NMDevice object and returns
@@ -2461,17 +2462,17 @@ against
nm_device_connection_compatible ()
-gboolean
+gboolean
nm_device_connection_compatible (NMDevice *device,
NMConnection *connection,
- GError **error);
+ GError **error);
Validates a given connection for a given NMDevice object and returns
whether the connection may be activated with the device. For example if
device
@@ -2506,7 +2507,7 @@ against
error
-
+
@@ -2514,14 +2515,14 @@ against
nm_device_get_setting_type ()
-GType
+GType
nm_device_get_setting_type (NMDevice *device);
Gets the (primary) NMSetting subtype associated with connections
that can be used on device
@@ -2631,7 +2632,7 @@ nm_lldp_neighbor_get_attr_names (
Returns
- a NULL-terminated array of attribute names.
+ a NULL-terminated array of attribute names.
[transfer full]
Since: 1.2
@@ -2639,7 +2640,7 @@ nm_lldp_neighbor_get_attr_names (
nm_lldp_neighbor_get_attr_string_value ()
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_string_value
(NMLldpNeighbor *neighbor,
char *name,
@@ -2676,18 +2677,18 @@ nm_lldp_neighbor_get_attr_string_value
Returns
- TRUE if a string attribute with name name
-was found, FALSE otherwise
+ TRUE if a string attribute with name name
+was found, FALSE otherwise
Since: 1.2
nm_lldp_neighbor_get_attr_uint_value ()
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor,
char *name,
- guint *out_value);
+ guint *out_value);
Gets the uint value of attribute with name name
on neighbor
@@ -2720,15 +2721,15 @@ nm_lldp_neighbor_get_attr_uint_value (
Returns
- TRUE if a uint attribute with name name
-was found, FALSE otherwise
+ TRUE if a uint attribute with name name
+was found, FALSE otherwise
Since: 1.2
nm_lldp_neighbor_get_attr_type ()
-const GVariantType *
+const GVariantType *
nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor,
char *name);
Get the type of an attribute.
@@ -2756,7 +2757,7 @@ nm_lldp_neighbor_get_attr_type (
Returns
- the GVariantType of the attribute with name name
+
the GVariantType of the attribute with name name
Since: 1.2
@@ -2942,7 +2943,7 @@ nm_lldp_neighbor_get_attr_type (
The “autoconnect” property
- “autoconnect” gboolean
+ “autoconnect” gboolean
Whether the device can auto-activate a connection.
Flags: Read / Write
Default value: TRUE
@@ -2950,7 +2951,7 @@ nm_lldp_neighbor_get_attr_type (
The “available-connections” property
- “available-connections” GPtrArray *
+ “available-connections” GPtrArray *
The available connections of the device
Element-type: NMRemoteConnection
Flags: Read
@@ -2987,7 +2988,7 @@ nm_lldp_neighbor_get_attr_type (
The “driver” property
- “driver” gchar *
+ “driver” gchar *
The driver of the device.
Flags: Read
Default value: NULL
@@ -2995,7 +2996,7 @@ nm_lldp_neighbor_get_attr_type (
The “driver-version” property
- “driver-version” gchar *
+ “driver-version” gchar *
The version of the device driver.
Flags: Read
Default value: NULL
@@ -3003,8 +3004,8 @@ nm_lldp_neighbor_get_attr_type (
The “firmware-missing” property
- “firmware-missing” gboolean
-When TRUE indicates the device is likely missing firmware required
+
“firmware-missing” gboolean
+When TRUE indicates the device is likely missing firmware required
for its operation.
Flags: Read
Default value: FALSE
@@ -3012,7 +3013,7 @@ for its operation.
The “firmware-version” property
- “firmware-version” gchar *
+ “firmware-version” gchar *
The firmware version of the device.
Flags: Read
Default value: NULL
@@ -3020,7 +3021,7 @@ for its operation.
The “interface” property
- “interface” gchar *
+ “interface” gchar *
The interface of the device.
Flags: Read
Default value: NULL
@@ -3028,7 +3029,7 @@ for its operation.
The “ip-interface” property
- “ip-interface” gchar *
+ “ip-interface” gchar *
The IP interface of the device which should be used for all IP-related
operations like addressing and routing.
Flags: Read
@@ -3051,14 +3052,14 @@ operations like addressing and routing.
The “lldp-neighbors” property
- “lldp-neighbors” GPtrArray *
+ “lldp-neighbors” GPtrArray *
The LLDP neighbors.
Flags: Read
The “managed” property
- “managed” gboolean
+ “managed” gboolean
Whether the device is managed by NetworkManager.
Flags: Read
Default value: FALSE
@@ -3066,7 +3067,7 @@ operations like addressing and routing.
The “metered” property
- “metered” guint
+ “metered” guint
Whether the device is metered.
Flags: Read
Default value: 0
@@ -3075,7 +3076,7 @@ operations like addressing and routing.
The “mtu” property
- “mtu” guint
+ “mtu” guint
The MTU of the device.
Flags: Read
Default value: 1500
@@ -3083,8 +3084,8 @@ operations like addressing and routing.
The “nm-plugin-missing” property
- “nm-plugin-missing” gboolean
-When TRUE indicates that the NetworkManager plugin for the device
+
“nm-plugin-missing” gboolean
+When TRUE indicates that the NetworkManager plugin for the device
is not installed.
Flags: Read
Default value: FALSE
@@ -3093,7 +3094,7 @@ is not installed.
The “physical-port-id” property
- “physical-port-id” gchar *
+ “physical-port-id” gchar *
The physical port ID of the device. (See
nm_device_get_physical_port_id().)
Flags: Read
@@ -3102,7 +3103,7 @@ is not installed.
The “product” property
- “product” gchar *
+ “product” gchar *
The product string of the device.
Flags: Read
Default value: NULL
@@ -3110,7 +3111,7 @@ is not installed.
The “real” property
- “real” gboolean
+ “real” gboolean
Whether the device is real or is a placeholder device that could
be created automatically by NetworkManager if one of its
“available-connections” was activated.
@@ -3129,7 +3130,7 @@ be created automatically by NetworkManager if one of its
The “state-reason” property
- “state-reason” guint
+ “state-reason” guint
The reason for the device state.
Flags: Read
Default value: 0
@@ -3137,7 +3138,7 @@ be created automatically by NetworkManager if one of its
The “udi” property
- “udi” gchar *
+ “udi” gchar *
An operating-system specific device hardware identifier; this is not
unique to a specific hardware device across reboots or hotplugs. It
is an opaque string which for some device types (Bluetooth, Modem)
@@ -3150,7 +3151,7 @@ request more information about the device from those services.
The “vendor” property
- “vendor” gchar *
+ “vendor” gchar *
The vendor string of the device.
Flags: Read
Default value: NULL
@@ -3162,10 +3163,10 @@ request more information about the device from those services.
The “state-changed” signal
void
user_function (NMDevice *device,
- guint new_state,
- guint old_state,
- guint reason,
- gpointer user_data)
+ guint new_state,
+ guint old_state,
+ guint reason,
+ gpointer user_data)
Notifies the state change of a NMDevice.
-Flags: Run First
+Flags: Run First
diff --git a/docs/libnm/html/NMDeviceAdsl.html b/docs/libnm/html/NMDeviceAdsl.html
index c687ebf2..2a158f31 100644
--- a/docs/libnm/html/NMDeviceAdsl.html
+++ b/docs/libnm/html/NMDeviceAdsl.html
@@ -43,7 +43,7 @@
-gboolean
+gboolean
nm_device_adsl_get_carrier ()
@@ -60,7 +60,7 @@
-gboolean
+gboolean
carrier
Read
@@ -87,7 +87,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceAdsl
@@ -97,7 +97,7 @@
Implemented Interfaces
NMDeviceAdsl implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -106,7 +106,7 @@ NMDeviceAdsl implements
Functions
nm_device_adsl_get_carrier ()
-gboolean
+gboolean
nm_device_adsl_get_carrier (NMDeviceAdsl *device);
Whether the device has carrier.
@@ -147,7 +147,7 @@ nm_device_adsl_get_carrier (Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
diff --git a/docs/libnm/html/NMDeviceBond.html b/docs/libnm/html/NMDeviceBond.html
index 74244575..fdd703ad 100644
--- a/docs/libnm/html/NMDeviceBond.html
+++ b/docs/libnm/html/NMDeviceBond.html
@@ -51,14 +51,14 @@
-gboolean
+gboolean
nm_device_bond_get_carrier ()
-const GPtrArray *
+ const GPtrArray *
nm_device_bond_get_slaves ()
@@ -77,19 +77,19 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
hw-address
Read
-GPtrArray *
+GPtrArray *
slaves
Read
@@ -125,7 +125,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceBond
@@ -135,7 +135,7 @@
Implemented Interfaces
NMDeviceBond implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -171,7 +171,7 @@ device, and must not be modified.
nm_device_bond_get_carrier ()
-gboolean
+gboolean
nm_device_bond_get_carrier (NMDeviceBond *device);
Whether the device has carrier.
nm_device_bond_get_slaves ()
-const GPtrArray *
+const GPtrArray *
nm_device_bond_get_slaves (NMDeviceBond *device);
Gets the devices currently slaved to device
.
@@ -218,7 +218,7 @@ nm_device_bond_get_slaves (
Returns
- the GPtrArray containing
+
the GPtrArray containing
NMDevices that are slaves of device
. This is the internal
copy used by the device, and must not be modified.
@@ -255,7 +255,7 @@ copy used by the device, and must not be modified.
Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
@@ -263,7 +263,7 @@ copy used by the device, and must not be modified.
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -271,7 +271,7 @@ copy used by the device, and must not be modified.
The “slaves” property
- “slaves” GPtrArray *
+ “slaves” GPtrArray *
The devices slaved to the bond device.
Element-type: NMDevice
Flags: Read
diff --git a/docs/libnm/html/NMDeviceBridge.html b/docs/libnm/html/NMDeviceBridge.html
index fab0710f..f566d8f0 100644
--- a/docs/libnm/html/NMDeviceBridge.html
+++ b/docs/libnm/html/NMDeviceBridge.html
@@ -51,14 +51,14 @@
-gboolean
+gboolean
nm_device_bridge_get_carrier ()
-const GPtrArray *
+ const GPtrArray *
nm_device_bridge_get_slaves ()
@@ -77,19 +77,19 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
hw-address
Read
-GPtrArray *
+GPtrArray *
slaves
Read
@@ -125,7 +125,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceBridge
@@ -135,7 +135,7 @@
Implemented Interfaces
NMDeviceBridge implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -171,7 +171,7 @@ device, and must not be modified.
nm_device_bridge_get_carrier ()
-gboolean
+gboolean
nm_device_bridge_get_carrier (NMDeviceBridge *device);
Whether the device has carrier.
nm_device_bridge_get_slaves ()
-const GPtrArray *
+const GPtrArray *
nm_device_bridge_get_slaves (NMDeviceBridge *device);
Gets the devices currently slaved to device
.
@@ -218,7 +218,7 @@ nm_device_bridge_get_slaves (
Returns
- the GPtrArray containing
+
the GPtrArray containing
NMDevices that are slaves of device
. This is the internal
copy used by the device, and must not be modified.
@@ -255,7 +255,7 @@ copy used by the device, and must not be modified.
Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
@@ -263,7 +263,7 @@ copy used by the device, and must not be modified.
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -271,7 +271,7 @@ copy used by the device, and must not be modified.
The “slaves” property
- “slaves” GPtrArray *
+ “slaves” GPtrArray *
The devices slaved to the bridge device.
Element-type: NMDevice
Flags: Read
diff --git a/docs/libnm/html/NMDeviceBt.html b/docs/libnm/html/NMDeviceBt.html
index df2edac0..7f7ca146 100644
--- a/docs/libnm/html/NMDeviceBt.html
+++ b/docs/libnm/html/NMDeviceBt.html
@@ -83,13 +83,13 @@
-gchar *
+gchar *
hw-address
Read
-gchar *
+gchar *
name
Read
@@ -125,7 +125,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceBt
@@ -135,7 +135,7 @@
Implemented Interfaces
NMDeviceBt implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -257,7 +257,7 @@ nm_device_bt_get_capabilities (
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -265,7 +265,7 @@ nm_device_bt_get_capabilities (
The “name” property
- “name” gchar *
+ “name” gchar *
The name of the bluetooth device.
Flags: Read
Default value: NULL
diff --git a/docs/libnm/html/NMDeviceEthernet.html b/docs/libnm/html/NMDeviceEthernet.html
index 0e2b62b6..c2d79716 100644
--- a/docs/libnm/html/NMDeviceEthernet.html
+++ b/docs/libnm/html/NMDeviceEthernet.html
@@ -58,7 +58,7 @@
-guint32
+guint32
nm_device_ethernet_get_speed ()
@@ -66,7 +66,7 @@
-gboolean
+gboolean
nm_device_ethernet_get_carrier ()
@@ -92,29 +92,29 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
hw-address
Read
-gchar *
+gchar *
perm-hw-address
Read
-GStrv
+GStrv
s390-subchannels
Read
-guint
+guint
speed
Read
@@ -158,7 +158,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceEthernet
@@ -168,7 +168,7 @@
Implemented Interfaces
NMDeviceEthernet implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -232,7 +232,7 @@ device, and must not be modified.
nm_device_ethernet_get_speed ()
-guint32
+guint32
nm_device_ethernet_get_speed (NMDeviceEthernet *device);
Gets the speed of the NMDeviceEthernet.
@@ -258,7 +258,7 @@ nm_device_ethernet_get_speed (
nm_device_ethernet_get_carrier ()
-gboolean
+gboolean
nm_device_ethernet_get_carrier (NMDeviceEthernet *device);
Whether the device has carrier.
@@ -353,7 +353,7 @@ one subchannel the s390 device uses to communicate to the host.
Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
@@ -361,7 +361,7 @@ one subchannel the s390 device uses to communicate to the host.
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The active hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -369,7 +369,7 @@ one subchannel the s390 device uses to communicate to the host.
The “perm-hw-address” property
- “perm-hw-address” gchar *
+ “perm-hw-address” gchar *
The permanent hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -377,7 +377,7 @@ one subchannel the s390 device uses to communicate to the host.
The “s390-subchannels” property
- “s390-subchannels” GStrv
+ “s390-subchannels” GStrv
Identifies subchannels of this network device used for
communication with z/VM or s390 host.
Flags: Read
@@ -386,7 +386,7 @@ communication with z/VM or s390 host.
The “speed” property
- “speed” guint
+ “speed” guint
The speed of the device.
Flags: Read
Default value: 0
diff --git a/docs/libnm/html/NMDeviceGeneric.html b/docs/libnm/html/NMDeviceGeneric.html
index f61ab469..9af61252 100644
--- a/docs/libnm/html/NMDeviceGeneric.html
+++ b/docs/libnm/html/NMDeviceGeneric.html
@@ -61,13 +61,13 @@
-gchar *
+gchar *
hw-address
Read
-gchar *
+gchar *
type-description
Read
@@ -99,7 +99,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceGeneric
@@ -109,7 +109,7 @@
Implemented Interfaces
NMDeviceGeneric implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -166,7 +166,7 @@ device, and must not be modified.
Property Details
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware address of the device.
Flags: Read
Default value: NULL
@@ -174,8 +174,8 @@ device, and must not be modified.
The “type-description” property
- “type-description” gchar *
-A description of the specific type of device this is, or NULL
+
“type-description” gchar *
+A description of the specific type of device this is, or NULL
if not known.
Flags: Read
Default value: NULL
diff --git a/docs/libnm/html/NMDeviceIPTunnel.html b/docs/libnm/html/NMDeviceIPTunnel.html
index 0c8a6ee9..e0afef32 100644
--- a/docs/libnm/html/NMDeviceIPTunnel.html
+++ b/docs/libnm/html/NMDeviceIPTunnel.html
@@ -74,7 +74,7 @@
-guint8
+guint8
nm_device_ip_tunnel_get_ttl ()
@@ -82,7 +82,7 @@
-guint8
+guint8
nm_device_ip_tunnel_get_tos ()
@@ -90,7 +90,7 @@
-gboolean
+gboolean
nm_device_ip_tunnel_get_path_mtu_discovery ()
@@ -112,7 +112,7 @@
-guint8
+guint8
nm_device_ip_tunnel_get_encapsulation_limit ()
@@ -120,7 +120,7 @@
-guint
+guint
nm_device_ip_tunnel_get_flow_label ()
@@ -139,35 +139,35 @@
-guchar
+guchar
encapsulation-limit
Read
-guint
+guint
flow-label
Read
-gchar *
+gchar *
input-key
Read
-gchar *
+gchar *
local
Read
-guint
+guint
mode
Read
-gchar *
+gchar *
output-key
Read
@@ -178,23 +178,23 @@
Read
-gboolean
+gboolean
path-mtu-discovery
Read
-gchar *
+gchar *
remote
Read
-guchar
+guchar
tos
Read
-guchar
+guchar
ttl
Read
@@ -262,7 +262,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceIPTunnel
@@ -272,7 +272,7 @@
Implemented Interfaces
NMDeviceIPTunnel implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -386,7 +386,7 @@ nm_device_ip_tunnel_get_remote (
nm_device_ip_tunnel_get_ttl ()
-guint8
+guint8
nm_device_ip_tunnel_get_ttl (NMDeviceIPTunnel *device);
Parameters
@@ -412,7 +412,7 @@ nm_device_ip_tunnel_get_ttl (
nm_device_ip_tunnel_get_tos ()
-guint8
+guint8
nm_device_ip_tunnel_get_tos (NMDeviceIPTunnel *device);
Parameters
@@ -439,7 +439,7 @@ to tunneled packets.
nm_device_ip_tunnel_get_path_mtu_discovery ()
-gboolean
+gboolean
nm_device_ip_tunnel_get_path_mtu_discovery
(NMDeviceIPTunnel *device);
@@ -518,7 +518,7 @@ nm_device_ip_tunnel_get_output_key (
nm_device_ip_tunnel_get_encapsulation_limit ()
-guint8
+guint8
nm_device_ip_tunnel_get_encapsulation_limit
(NMDeviceIPTunnel *device);
@@ -545,7 +545,7 @@ nm_device_ip_tunnel_get_encapsulation_limit
nm_device_ip_tunnel_get_flow_label ()
-guint
+guint
nm_device_ip_tunnel_get_flow_label (NMDeviceIPTunnel *device);
Parameters
@@ -646,7 +646,7 @@ nm_device_ip_tunnel_get_flow_label (Property Details
The “encapsulation-limit” property
- “encapsulation-limit” guchar
+ “encapsulation-limit” guchar
How many additional levels of encapsulation are permitted to
be prepended to packets. This property applies only to IPv6
tunnels.
@@ -657,7 +657,7 @@ tunnels.
The “flow-label” property
- “flow-label” guint
+ “flow-label” guint
The flow label to assign to tunnel packets. This property
applies only to IPv6 tunnels.
Flags: Read
@@ -668,7 +668,7 @@ applies only to IPv6 tunnels.
The “input-key” property
- “input-key” gchar *
+ “input-key” gchar *
The key used for tunneled input packets, if applicable.
Flags: Read
Default value: NULL
@@ -677,7 +677,7 @@ applies only to IPv6 tunnels.
The “local” property
- “local” gchar *
+ “local” gchar *
The local endpoint of the tunnel.
Flags: Read
Default value: NULL
@@ -686,7 +686,7 @@ applies only to IPv6 tunnels.
The “mode” property
- “mode” guint
+ “mode” guint
The tunneling mode of the device.
Flags: Read
Default value: 0
@@ -695,7 +695,7 @@ applies only to IPv6 tunnels.
The “output-key” property
- “output-key” gchar *
+ “output-key” gchar *
The key used for tunneled output packets, if applicable.
Flags: Read
Default value: NULL
@@ -712,7 +712,7 @@ applies only to IPv6 tunnels.
The “path-mtu-discovery” property
- “path-mtu-discovery” gboolean
+ “path-mtu-discovery” gboolean
Whether path MTU discovery is enabled on this tunnel.
Flags: Read
Default value: FALSE
@@ -721,7 +721,7 @@ applies only to IPv6 tunnels.
The “remote” property
- “remote” gchar *
+ “remote” gchar *
The remote endpoint of the tunnel.
Flags: Read
Default value: NULL
@@ -730,7 +730,7 @@ applies only to IPv6 tunnels.
The “tos” property
- “tos” guchar
+ “tos” guchar
The type of service (IPv4) or traffic class (IPv6) assigned to
tunneled packets.
Flags: Read
@@ -740,7 +740,7 @@ tunneled packets.
The “ttl” property
- “ttl” guchar
+ “ttl” guchar
The TTL assigned to tunneled packets. 0 is a special value
meaning that packets inherit the TTL value
Flags: Read
diff --git a/docs/libnm/html/NMDeviceInfiniband.html b/docs/libnm/html/NMDeviceInfiniband.html
index 912d7c44..9818369c 100644
--- a/docs/libnm/html/NMDeviceInfiniband.html
+++ b/docs/libnm/html/NMDeviceInfiniband.html
@@ -51,7 +51,7 @@
-gboolean
+gboolean
nm_device_infiniband_get_carrier ()
@@ -70,13 +70,13 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
hw-address
Read
@@ -108,7 +108,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceInfiniband
@@ -118,7 +118,7 @@
Implemented Interfaces
NMDeviceInfiniband implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -154,7 +154,7 @@ device, and must not be modified.
nm_device_infiniband_get_carrier ()
-gboolean
+gboolean
nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
Whether the device has carrier.
@@ -201,7 +201,7 @@ nm_device_infiniband_get_carrier (Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
@@ -209,7 +209,7 @@ nm_device_infiniband_get_carrier (
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
diff --git a/docs/libnm/html/NMDeviceMacvlan.html b/docs/libnm/html/NMDeviceMacvlan.html
index 5d0a4b77..953cb812 100644
--- a/docs/libnm/html/NMDeviceMacvlan.html
+++ b/docs/libnm/html/NMDeviceMacvlan.html
@@ -59,7 +59,7 @@
-gboolean
+gboolean
nm_device_macvlan_get_no_promisc ()
@@ -67,7 +67,7 @@
-gboolean
+gboolean
nm_device_macvlan_get_tap ()
@@ -94,18 +94,18 @@
-gchar *
+gchar *
hw-address
Read
-gchar *
+gchar *
mode
Read
-gboolean
+gboolean
no-promisc
Read
@@ -116,7 +116,7 @@
Read
-gboolean
+gboolean
tap
Read
@@ -160,7 +160,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceMacvlan
@@ -170,7 +170,7 @@
Implemented Interfaces
NMDeviceMacvlan implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -234,7 +234,7 @@ device, and must not be modified.
nm_device_macvlan_get_no_promisc ()
-gboolean
+gboolean
nm_device_macvlan_get_no_promisc (NMDeviceMacvlan *device);
Gets the no-promiscuous flag of the device.
@@ -261,7 +261,7 @@ nm_device_macvlan_get_no_promisc (
nm_device_macvlan_get_tap ()
-gboolean
+gboolean
nm_device_macvlan_get_tap (NMDeviceMacvlan *device);
Gets the device type (MACVLAN or MACVTAP).
@@ -281,7 +281,7 @@ nm_device_macvlan_get_tap (
Returns
-
+
Since: 1.2
@@ -355,7 +355,7 @@ device, and must not be modified.
Property Details
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -364,7 +364,7 @@ device, and must not be modified.
The “mode” property
- “mode” gchar *
+ “mode” gchar *
The MACVLAN mode.
Flags: Read
Default value: NULL
@@ -373,7 +373,7 @@ device, and must not be modified.
The “no-promisc” property
- “no-promisc” gboolean
+ “no-promisc” gboolean
Whether the device has the no-promiscuos flag.
Flags: Read
Default value: FALSE
@@ -390,7 +390,7 @@ device, and must not be modified.
The “tap” property
- “tap” gboolean
+ “tap” gboolean
Whether the device is a MACVTAP.
Flags: Read
Default value: FALSE
diff --git a/docs/libnm/html/NMDeviceModem.html b/docs/libnm/html/NMDeviceModem.html
index 1042663c..58a2c30e 100644
--- a/docs/libnm/html/NMDeviceModem.html
+++ b/docs/libnm/html/NMDeviceModem.html
@@ -108,7 +108,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceModem
@@ -118,7 +118,7 @@
Implemented Interfaces
NMDeviceModem implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
diff --git a/docs/libnm/html/NMDeviceOlpcMesh.html b/docs/libnm/html/NMDeviceOlpcMesh.html
index 4f1f18cc..e7ead454 100644
--- a/docs/libnm/html/NMDeviceOlpcMesh.html
+++ b/docs/libnm/html/NMDeviceOlpcMesh.html
@@ -59,7 +59,7 @@
-guint32
+guint32
nm_device_olpc_mesh_get_active_channel ()
@@ -78,7 +78,7 @@
-guint
+guint
active-channel
Read
@@ -90,7 +90,7 @@
-gchar *
+gchar *
hw-address
Read
@@ -126,7 +126,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceOlpcMesh
@@ -136,7 +136,7 @@
Implemented Interfaces
NMDeviceOlpcMesh implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
nm_device_olpc_mesh_get_active_channel ()
-guint32
+guint32
nm_device_olpc_mesh_get_active_channel
(NMDeviceOlpcMesh *device);
Returns the active channel of the NMDeviceOlpcMesh device.
@@ -253,7 +253,7 @@ nm_device_olpc_mesh_get_active_channel
Property Details
The “active-channel” property
- “active-channel” guint
+ “active-channel” guint
The device's active channel.
Flags: Read
Default value: 0
@@ -268,7 +268,7 @@ nm_device_olpc_mesh_get_active_channel
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
diff --git a/docs/libnm/html/NMDeviceTeam.html b/docs/libnm/html/NMDeviceTeam.html
index 363a96e1..933ee7af 100644
--- a/docs/libnm/html/NMDeviceTeam.html
+++ b/docs/libnm/html/NMDeviceTeam.html
@@ -51,14 +51,14 @@
-gboolean
+gboolean
nm_device_team_get_carrier ()
-const GPtrArray *
+ const GPtrArray *
nm_device_team_get_slaves ()
@@ -84,25 +84,25 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
config
Read
-gchar *
+gchar *
hw-address
Read
-GPtrArray *
+GPtrArray *
slaves
Read
@@ -142,7 +142,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceTeam
@@ -152,7 +152,7 @@
Implemented Interfaces
NMDeviceTeam implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -188,7 +188,7 @@ device, and must not be modified.
nm_device_team_get_carrier ()
-gboolean
+gboolean
nm_device_team_get_carrier (NMDeviceTeam *device);
Whether the device has carrier.
nm_device_team_get_slaves ()
-const GPtrArray *
+const GPtrArray *
nm_device_team_get_slaves (NMDeviceTeam *device);
Gets the devices currently enslaved to device
.
@@ -235,7 +235,7 @@ nm_device_team_get_slaves (
Returns
- the GPtrArray containing
+
the GPtrArray containing
NMDevices that are slaves of device
. This is the internal
copy used by the device, and must not be modified.
@@ -306,7 +306,7 @@ device, and must not be modified.
Property Details
The “carrier” property
- “carrier” gboolean
+ “carrier” gboolean
Whether the device has carrier.
Flags: Read
Default value: FALSE
@@ -314,7 +314,7 @@ device, and must not be modified.
The “config” property
- “config” gchar *
+ “config” gchar *
The current JSON configuration of the device.
Flags: Read
Default value: NULL
@@ -323,7 +323,7 @@ device, and must not be modified.
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -331,7 +331,7 @@ device, and must not be modified.
The “slaves” property
- “slaves” GPtrArray *
+ “slaves” GPtrArray *
The devices enslaved to the team device.
Element-type: NMDevice
Flags: Read
diff --git a/docs/libnm/html/NMDeviceTun.html b/docs/libnm/html/NMDeviceTun.html
index afbe4051..a492d0da 100644
--- a/docs/libnm/html/NMDeviceTun.html
+++ b/docs/libnm/html/NMDeviceTun.html
@@ -58,7 +58,7 @@
-gint64
+gint64
nm_device_tun_get_owner ()
@@ -66,7 +66,7 @@
-gint64
+gint64
nm_device_tun_get_group ()
@@ -74,7 +74,7 @@
-gboolean
+gboolean
nm_device_tun_get_no_pi ()
@@ -82,7 +82,7 @@
-gboolean
+gboolean
nm_device_tun_get_vnet_hdr ()
@@ -90,7 +90,7 @@
-gboolean
+gboolean
nm_device_tun_get_multi_queue ()
@@ -109,39 +109,39 @@
-gint64
+gint64
group
Read
-gchar *
+gchar *
hw-address
Read
-gchar *
+gchar *
mode
Read
-gboolean
+gboolean
multi-queue
Read
-gboolean
+gboolean
no-pi
Read
-gint64
+gint64
owner
Read
-gboolean
+gboolean
vnet-hdr
Read
@@ -193,7 +193,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceTun
@@ -203,7 +203,7 @@
Implemented Interfaces
NMDeviceTun implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.
Description
@@ -267,7 +267,7 @@ nm_device_tun_get_mode (
nm_device_tun_get_owner ()
-gint64
+gint64
nm_device_tun_get_owner (NMDeviceTun *device);
Gets the tunnel owner.
@@ -294,7 +294,7 @@ nm_device_tun_get_owner (
nm_device_tun_get_group ()
-gint64
+gint64
nm_device_tun_get_group (NMDeviceTun *device);
Gets the tunnel group.
@@ -321,13 +321,13 @@ nm_device_tun_get_group (
nm_device_tun_get_no_pi ()
-gboolean
+gboolean
nm_device_tun_get_no_pi (NMDeviceTun *device);
nm_device_tun_get_vnet_hdr ()
-gboolean
+gboolean
nm_device_tun_get_vnet_hdr (NMDeviceTun *device);
Returns whether the NMDeviceTun has the IFF_VNET_HDR flag.
@@ -347,14 +347,14 @@ nm_device_tun_get_vnet_hdr (
Returns
-
+
Since: 1.2
nm_device_tun_get_multi_queue ()
-gboolean
+gboolean
nm_device_tun_get_multi_queue (NMDeviceTun *device);
Returns whether the NMDeviceTun has the IFF_MULTI_QUEUE flag.
@@ -374,7 +374,7 @@ nm_device_tun_get_multi_queue (
Since: 1.2
@@ -432,7 +432,7 @@ nm_device_tun_get_multi_queue (Property Details
The “group” property
- “group” gint64
+ “group” gint64
The gid of the tunnel group, or -1 if it has no owner.
Flags: Read
Allowed values: [-1,4294967295]
@@ -442,7 +442,7 @@ nm_device_tun_get_multi_queue (
The “hw-address” property
- “hw-address” gchar *
+ “hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
@@ -451,7 +451,7 @@ nm_device_tun_get_multi_queue (
The “mode” property
- “mode” gchar *
+ “mode” gchar *
The tunnel mode, either "tun" or "tap".
Flags: Read
Default value: NULL
@@ -460,7 +460,7 @@ nm_device_tun_get_multi_queue (
The “multi-queue” property
- “multi-queue” gboolean
+ “multi-queue” gboolean
The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to
the tap device multiple times, for multiple send/receive
queues.
@@ -471,7 +471,7 @@ queues.
The “no-pi” property
- “no-pi” gboolean
+ “no-pi” gboolean
The tunnel's "TUN_NO_PI" flag; true if no protocol info is
prepended to the tunnel packets.
Flags: Read
@@ -481,7 +481,7 @@ prepended to the tunnel packets.
The “owner” property
- “owner” gint64
+ “owner” gint64
The uid of the tunnel owner, or -1 if it has no owner.
Flags: Read
Allowed values: [-1,4294967295]
@@ -491,7 +491,7 @@ prepended to the tunnel packets.
The “vnet-hdr” property
- “vnet-hdr” gboolean
+ “vnet-hdr” gboolean
The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets
include a virtio network header.
Flags: Read
diff --git a/docs/libnm/html/NMDeviceVlan.html b/docs/libnm/html/NMDeviceVlan.html
index 1b7c8c73..02a3d527 100644
--- a/docs/libnm/html/NMDeviceVlan.html
+++ b/docs/libnm/html/NMDeviceVlan.html
@@ -51,7 +51,7 @@
-gboolean
+gboolean
nm_device_vlan_get_carrier ()
@@ -67,7 +67,7 @@
-guint
+guint
nm_device_vlan_get_vlan_id ()
@@ -86,13 +86,13 @@
-gboolean
+gboolean
carrier
Read
-gchar *
+gchar *
hw-address
Read
@@ -103,7 +103,7 @@
Read
-guint
+guint
vlan-id
Read
@@ -143,7 +143,7 @@
Object Hierarchy
- GObject
+ GObject
╰── NMObject
╰── NMDevice
╰── NMDeviceVlan
@@ -153,7 +153,7 @@
Implemented Interfaces
NMDeviceVlan implements
- GInitable and GAsyncInitable.
+ GInitable and GAsyncInitable.