From 90e8691111889a7b5f3c812f5a41f15a8a058913 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 7 Nov 2017 00:14:39 +0100 Subject: New upstream version 1.9.90 --- docs/libnm/Makefile.in | 4 +- docs/libnm/html/NMAccessPoint.html | 72 +-- docs/libnm/html/NMActiveConnection.html | 137 ++-- docs/libnm/html/NMClient.html | 762 ++++++++++++++--------- docs/libnm/html/NMConnection.html | 407 ++++++++---- docs/libnm/html/NMDevice.html | 396 ++++++------ docs/libnm/html/NMDeviceAdsl.html | 14 +- docs/libnm/html/NMDeviceBond.html | 28 +- docs/libnm/html/NMDeviceBridge.html | 28 +- docs/libnm/html/NMDeviceBt.html | 12 +- docs/libnm/html/NMDeviceDummy.html | 94 ++- docs/libnm/html/NMDeviceEthernet.html | 34 +- docs/libnm/html/NMDeviceGeneric.html | 14 +- docs/libnm/html/NMDeviceIPTunnel.html | 64 +- docs/libnm/html/NMDeviceInfiniband.html | 18 +- docs/libnm/html/NMDeviceMacsec.html | 100 +-- docs/libnm/html/NMDeviceMacvlan.html | 30 +- docs/libnm/html/NMDeviceModem.html | 4 +- docs/libnm/html/NMDeviceOlpcMesh.html | 18 +- docs/libnm/html/NMDeviceTeam.html | 32 +- docs/libnm/html/NMDeviceTun.html | 56 +- docs/libnm/html/NMDeviceVlan.html | 26 +- docs/libnm/html/NMDeviceVxlan.html | 130 ++-- docs/libnm/html/NMDeviceWifi.html | 116 ++-- docs/libnm/html/NMDeviceWimax.html | 76 +-- docs/libnm/html/NMDhcpConfig.html | 20 +- docs/libnm/html/NMIPConfig.html | 58 +- docs/libnm/html/NMObject.html | 26 +- docs/libnm/html/NMRemoteConnection.html | 194 +++--- docs/libnm/html/NMSecretAgentOld.html | 138 ++-- docs/libnm/html/NMSetting.html | 116 ++-- docs/libnm/html/NMSetting8021x.html | 340 +++++----- docs/libnm/html/NMSettingAdsl.html | 34 +- docs/libnm/html/NMSettingBluetooth.html | 30 +- docs/libnm/html/NMSettingBond.html | 52 +- docs/libnm/html/NMSettingBridge.html | 135 +++- docs/libnm/html/NMSettingBridgePort.html | 28 +- docs/libnm/html/NMSettingCdma.html | 22 +- docs/libnm/html/NMSettingConnection.html | 251 +++++--- docs/libnm/html/NMSettingDcb.html | 134 ++-- docs/libnm/html/NMSettingDummy.html | 2 +- docs/libnm/html/NMSettingGeneric.html | 2 +- docs/libnm/html/NMSettingGsm.html | 58 +- docs/libnm/html/NMSettingIP4Config.html | 12 +- docs/libnm/html/NMSettingIP6Config.html | 27 +- docs/libnm/html/NMSettingIPConfig.html | 526 ++++++++++------ docs/libnm/html/NMSettingIPTunnel.html | 77 +-- docs/libnm/html/NMSettingInfiniband.html | 32 +- docs/libnm/html/NMSettingMacsec.html | 36 +- docs/libnm/html/NMSettingMacvlan.html | 28 +- docs/libnm/html/NMSettingOlpcMesh.html | 22 +- docs/libnm/html/NMSettingPpp.html | 180 +++--- docs/libnm/html/NMSettingPppoe.html | 75 ++- docs/libnm/html/NMSettingSerial.html | 36 +- docs/libnm/html/NMSettingTeam.html | 6 +- docs/libnm/html/NMSettingTeamPort.html | 6 +- docs/libnm/html/NMSettingTun.html | 50 +- docs/libnm/html/NMSettingVlan.html | 84 +-- docs/libnm/html/NMSettingVpn.html | 68 +- docs/libnm/html/NMSettingVxlan.html | 120 ++-- docs/libnm/html/NMSettingWimax.html | 10 +- docs/libnm/html/NMSettingWired.html | 150 ++--- docs/libnm/html/NMSettingWireless.html | 150 ++--- docs/libnm/html/NMSettingWirelessSecurity.html | 352 +++++++++-- docs/libnm/html/NMSimpleConnection.html | 10 +- docs/libnm/html/NMVpnConnection.html | 18 +- docs/libnm/html/NMVpnEditorPlugin.html | 76 +-- docs/libnm/html/NMWimaxNsp.html | 32 +- docs/libnm/html/api-index-full.html | 404 ++++++++++++ docs/libnm/html/index.html | 2 +- docs/libnm/html/libnm-nm-dbus-interface.html | 252 ++++++-- docs/libnm/html/libnm-nm-errors.html | 42 +- docs/libnm/html/libnm-nm-utils.html | 563 ++++++++--------- docs/libnm/html/libnm-nm-version.html | 32 + docs/libnm/html/libnm-nm-vpn-dbus-interface.html | 2 +- docs/libnm/html/libnm.devhelp2 | 78 +++ docs/libnm/html/object-tree.html | 21 +- docs/libnm/html/usage.html | 6 +- docs/libnm/libnm-sections.txt | 189 ++++++ docs/libnm/libnm.types | 11 + docs/libnm/version.xml | 2 +- 81 files changed, 5053 insertions(+), 3046 deletions(-) (limited to 'docs/libnm') diff --git a/docs/libnm/Makefile.in b/docs/libnm/Makefile.in index 4a105a44..400e917f 100644 --- a/docs/libnm/Makefile.in +++ b/docs/libnm/Makefile.in @@ -149,7 +149,6 @@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BINUTILS_NM = @BINUTILS_NM@ BLUEZ5_CFLAGS = @BLUEZ5_CFLAGS@ BLUEZ5_LIBS = @BLUEZ5_LIBS@ CC = @CC@ @@ -171,6 +170,7 @@ DBUS_SYS_DIR = @DBUS_SYS_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DHCLIENT_PATH = @DHCLIENT_PATH@ +DHCPCANON_PATH = @DHCPCANON_PATH@ DHCPCD_PATH = @DHCPCD_PATH@ DISTRO_NETWORK_SERVICE = @DISTRO_NETWORK_SERVICE@ DLLTOOL = @DLLTOOL@ @@ -359,6 +359,7 @@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_NM = @ac_ct_NM@ ac_ct_RANLIB = @ac_ct_RANLIB@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ @@ -420,6 +421,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ with_dhclient = @with_dhclient@ +with_dhcpcanon = @with_dhcpcanon@ with_dhcpcd = @with_dhcpcd@ with_netconfig = @with_netconfig@ with_resolvconf = @with_resolvconf@ diff --git a/docs/libnm/html/NMAccessPoint.html b/docs/libnm/html/NMAccessPoint.html index 6e32e8e5..784bb4bc 100644 --- a/docs/libnm/html/NMAccessPoint.html +++ b/docs/libnm/html/NMAccessPoint.html @@ -68,7 +68,7 @@ -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 @@ -gchar * +gchar * bssid Read @@ -161,23 +161,23 @@ Read -guint +guint frequency Read -gchar * +gchar * hw-address Read -gint +gint last-seen Read -guint +guint max-bitrate Read @@ -193,12 +193,12 @@ -GBytes * +GBytes * ssid Read -guchar +guchar strength Read @@ -271,7 +271,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMAccessPoint
 
@@ -280,7 +280,7 @@

Implemented Interfaces

NMAccessPoint implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -368,7 +368,7 @@ point.


nm_access_point_get_ssid ()

-
GBytes *
+
GBytes *
 nm_access_point_get_ssid (NMAccessPoint *ap);

Gets the SSID of the access point.

@@ -388,7 +388,7 @@ nm_access_point_get_ssid (

Returns

-

the GBytes containing the SSID, or NULL if the +

the GBytes containing the SSID, or NULL if the SSID is unknown.

[transfer none]

@@ -423,7 +423,7 @@ not be modified or freed.


nm_access_point_get_frequency ()

-
guint32
+
guint32
 nm_access_point_get_frequency (NMAccessPoint *ap);

Gets the frequency of the access point.

@@ -475,7 +475,7 @@ nm_access_point_get_mode (

nm_access_point_get_max_bitrate ()

-
guint32
+
guint32
 nm_access_point_get_max_bitrate (NMAccessPoint *ap);

Gets the maximum bit rate of the access point in kbit/s.

@@ -501,7 +501,7 @@ nm_access_point_get_max_bitrate (

nm_access_point_get_strength ()

-
guint8
+
guint8
 nm_access_point_get_strength (NMAccessPoint *ap);

Gets the current signal strength of the access point.

@@ -527,7 +527,7 @@ nm_access_point_get_strength (

nm_access_point_get_last_seen ()

-
gint
+
gint
 nm_access_point_get_last_seen (NMAccessPoint *ap);

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.


nm_access_point_filter_connections ()

-
GPtrArray *
+
GPtrArray *
 nm_access_point_filter_connections (NMAccessPoint *ap,
-                                    const GPtrArray *connections);
+ const GPtrArray *connections);

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 ap @@ -596,14 +596,14 @@ filter.

an array of 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.

+be freed with g_ptr_array_unref() when it is no longer required.

[transfer container][element-type NMConnection]


nm_access_point_connection_valid ()

-
gboolean
+
gboolean
 nm_access_point_connection_valid (NMAccessPoint *ap,
                                   NMConnection *connection);

Validates a given connection against a given Wi-Fi access point to ensure that @@ -637,8 +637,8 @@ against

Returns

-

TRUE if the connection may be activated with this Wi-Fi AP, -FALSE if it cannot be.

+

TRUE if the connection may be activated with this Wi-Fi AP, +FALSE if it cannot be.

@@ -719,7 +719,7 @@ against

Property Details

The “bssid” property

-
  “bssid”                    gchar *
+
  “bssid”                    gchar *

The BSSID of the access point.

Flags: Read

Default value: NULL

@@ -734,7 +734,7 @@ against


The “frequency” property

-
  “frequency”                guint
+
  “frequency”                guint

The frequency of the access point.

Flags: Read

Allowed values: <= 10000

@@ -743,7 +743,7 @@ against


The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

Alias for “bssid”.

NMAccessPoint:hw-address has been deprecated since version 1.0 and should not be used in newly-written code.

@@ -755,7 +755,7 @@ against


The “last-seen” property

-
  “last-seen”                gint
+
  “last-seen”                gint

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.

@@ -767,7 +767,7 @@ access point has not been found in a scan.


The “max-bitrate” property

-
  “max-bitrate”              guint
+
  “max-bitrate”              guint

The maximum bit rate of the access point in kbit/s.

Flags: Read

Default value: 0

@@ -792,14 +792,14 @@ coordinator of the wireless network allowing clients to connect) or

The “ssid” property

-
  “ssid”                     GBytes *
-

The SSID of the access point, or NULL if it is not known.

+
  “ssid”                     GBytes *
+

The SSID of the access point, or NULL if it is not known.

Flags: Read


The “strength” property

-
  “strength”                 guchar
+
  “strength”                 guchar

The current signal strength of the access point.

Flags: Read

Default value: 0

diff --git a/docs/libnm/html/NMActiveConnection.html b/docs/libnm/html/NMActiveConnection.html index 1dafc378..95151677 100644 --- a/docs/libnm/html/NMActiveConnection.html +++ b/docs/libnm/html/NMActiveConnection.html @@ -80,7 +80,7 @@ -const GPtrArray * +const GPtrArray * nm_active_connection_get_devices () @@ -96,6 +96,14 @@ +NMActivationStateFlags + + +nm_active_connection_get_state_flags () + + + + NMActiveConnectionStateReason @@ -112,7 +120,7 @@ -gboolean +gboolean nm_active_connection_get_default () @@ -136,7 +144,7 @@ -gboolean +gboolean nm_active_connection_get_default6 () @@ -160,7 +168,7 @@ -gboolean +gboolean nm_active_connection_get_vpn () @@ -185,18 +193,18 @@ Read -gboolean +gboolean default Read -gboolean +gboolean default6 Read -GPtrArray * +GPtrArray * devices Read @@ -214,7 +222,7 @@ -gchar * +gchar * id Read @@ -238,7 +246,7 @@ -gchar * +gchar * specific-object-path Read @@ -248,19 +256,24 @@ Read +guint +state-flags +Read + + -gchar * +gchar * type Read -gchar * +gchar * uuid Read -gboolean +gboolean vpn Read @@ -278,7 +291,7 @@ void state-changed -Run First +Run First
@@ -320,6 +333,10 @@ #define +NM_ACTIVE_CONNECTION_STATE_FLAGS + + +#define NM_ACTIVE_CONNECTION_DEFAULT @@ -359,7 +376,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMActiveConnection
             ╰── NMVpnConnection
@@ -369,7 +386,7 @@
 

Implemented Interfaces

NMActiveConnection implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -523,7 +540,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);

Gets the NMDevices used for the active connections.

@@ -543,7 +560,7 @@ nm_active_connection_get_devices (

Returns

-

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]

@@ -576,6 +593,33 @@ nm_active_connection_get_state (
+

nm_active_connection_get_state_flags ()

+
NMActivationStateFlags
+nm_active_connection_get_state_flags (NMActiveConnection *connection);
+

Gets the active connection's state flags.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the state flags

+
+

Since: 1.10

+
+
+

nm_active_connection_get_state_reason ()

NMActiveConnectionStateReason
 nm_active_connection_get_state_reason (NMActiveConnection *connection);
@@ -631,7 +675,7 @@ nm_active_connection_get_master (

nm_active_connection_get_default ()

-
gboolean
+
gboolean
 nm_active_connection_get_default (NMActiveConnection *connection);

Whether the active connection is the default IPv4 one (that is, is used for the default IPv4 route and DNS information).

@@ -652,7 +696,7 @@ the default IPv4 route and DNS information).

Returns

-

TRUE if the active connection is the default IPv4 connection

+

TRUE if the active connection is the default IPv4 connection


@@ -678,7 +722,7 @@ nm_active_connection_get_ip4_config (

Returns

-

the IPv4 NMIPConfig, or NULL if the connection is +

the IPv4 NMIPConfig, or NULL if the connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

[transfer none]

@@ -707,7 +751,7 @@ nm_active_connection_get_dhcp4_config (

Returns

-

the IPv4 NMDhcpConfig, or NULL if the connection +

the IPv4 NMDhcpConfig, or NULL if the connection does not use DHCP, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

[transfer none]

@@ -716,7 +760,7 @@ state.


nm_active_connection_get_default6 ()

-
gboolean
+
gboolean
 nm_active_connection_get_default6 (NMActiveConnection *connection);

Whether the active connection is the default IPv6 one (that is, is used for the default IPv6 route and DNS information).

@@ -737,7 +781,7 @@ the default IPv6 route and DNS information).

Returns

-

TRUE if the active connection is the default IPv6 connection

+

TRUE if the active connection is the default IPv6 connection


@@ -763,7 +807,7 @@ nm_active_connection_get_ip6_config (

Returns

-

the IPv6 NMIPConfig, or NULL if the connection is +

the IPv6 NMIPConfig, or NULL if the connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

[transfer none]

@@ -792,7 +836,7 @@ nm_active_connection_get_dhcp6_config (

Returns

-

the IPv6 NMDhcpConfig, or NULL if the connection +

the IPv6 NMDhcpConfig, or NULL if the connection does not use DHCPv6, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

[transfer none]

@@ -801,7 +845,7 @@ state.


nm_active_connection_get_vpn ()

-
gboolean
+
gboolean
 nm_active_connection_get_vpn (NMActiveConnection *connection);

Whether the active connection is a VPN connection.

@@ -821,7 +865,7 @@ nm_active_connection_get_vpn (

Returns

-

TRUE if the active connection is a VPN connection

+

TRUE if the active connection is a VPN connection

@@ -870,6 +914,12 @@ nm_active_connection_get_vpn ( +

NM_ACTIVE_CONNECTION_STATE_FLAGS

+
#define NM_ACTIVE_CONNECTION_STATE_FLAGS          "state-flags"
+
+
+
+

NM_ACTIVE_CONNECTION_DEFAULT

#define NM_ACTIVE_CONNECTION_DEFAULT              "default"
 
@@ -933,7 +983,7 @@ nm_active_connection_get_vpn (

The “default” property

-
  “default”                  gboolean
+
  “default”                  gboolean

Whether the active connection is the default IPv4 one.

Flags: Read

Default value: FALSE

@@ -941,7 +991,7 @@ nm_active_connection_get_vpn (

The “default6” property

-
  “default6”                 gboolean
+
  “default6”                 gboolean

Whether the active connection is the default IPv6 one.

Flags: Read

Default value: FALSE

@@ -949,7 +999,7 @@ nm_active_connection_get_vpn (

The “devices” property

-
  “devices”                  GPtrArray *
+
  “devices”                  GPtrArray *

The devices of the active connection.

Element-type: NMDevice

Flags: Read

@@ -971,7 +1021,7 @@ nm_active_connection_get_vpn (

The “id” property

-
  “id”                       gchar *
+
  “id”                       gchar *

The active connection's ID

Flags: Read

Default value: NULL

@@ -1000,7 +1050,7 @@ nm_active_connection_get_vpn (

The “specific-object-path” property

-
  “specific-object-path”     gchar *
+
  “specific-object-path”     gchar *

The path to the "specific object" of the active connection; see nm_active_connection_get_specific_object_path() for more details.

Flags: Read

@@ -1016,8 +1066,17 @@ nm_active_connection_get_vpn ( +

The “state-flags” property

+
  “state-flags”              guint
+

The state flags of the active connection.

+

Flags: Read

+

Default value: 0

+

Since: 1.10

+
+
+

The “type” property

-
  “type”                     gchar *
+
  “type”                     gchar *

The active connection's type

Flags: Read

Default value: NULL

@@ -1025,7 +1084,7 @@ nm_active_connection_get_vpn (

The “uuid” property

-
  “uuid”                     gchar *
+
  “uuid”                     gchar *

The active connection's UUID

Flags: Read

Default value: NULL

@@ -1033,7 +1092,7 @@ nm_active_connection_get_vpn (

The “vpn” property

-
  “vpn”                      gboolean
+
  “vpn”                      gboolean

Whether the active connection is a VPN connection.

Flags: Read

Default value: FALSE

@@ -1045,10 +1104,10 @@ nm_active_connection_get_vpn (

The “state-changed” signal

void
 user_function (NMActiveConnection *nmactiveconnection,
-               guint               arg1,
-               guint               arg2,
-               gpointer            user_data)
-

Flags: Run First

+ guint arg1, + guint arg2, + gpointer user_data)
+

Flags: Run First

diff --git a/docs/libnm/html/NMClient.html b/docs/libnm/html/NMClient.html index fbad59d3..a2fbf00e 100644 --- a/docs/libnm/html/NMClient.html +++ b/docs/libnm/html/NMClient.html @@ -45,7 +45,7 @@ -GQuark +GQuark nm_client_error_quark () @@ -90,7 +90,7 @@ -gboolean +gboolean nm_dns_entry_get_vpn () @@ -137,7 +137,7 @@ -gboolean +gboolean nm_client_get_startup () @@ -145,7 +145,7 @@ -gboolean +gboolean nm_client_get_nm_running () @@ -153,7 +153,7 @@ -gboolean +gboolean nm_client_networking_get_enabled () @@ -161,7 +161,7 @@ -gboolean +gboolean nm_client_networking_set_enabled () @@ -169,7 +169,7 @@ -gboolean +gboolean nm_client_wireless_get_enabled () @@ -185,7 +185,7 @@ -gboolean +gboolean nm_client_wireless_hardware_get_enabled () @@ -193,7 +193,7 @@ -gboolean +gboolean nm_client_wwan_get_enabled () @@ -209,7 +209,7 @@ -gboolean +gboolean nm_client_wwan_hardware_get_enabled () @@ -217,7 +217,7 @@ -gboolean +gboolean nm_client_wimax_get_enabled () @@ -233,7 +233,7 @@ -gboolean +gboolean nm_client_wimax_hardware_get_enabled () @@ -241,7 +241,31 @@ -gboolean +gboolean + + +nm_client_connectivity_check_get_available () + + + + +gboolean + + +nm_client_connectivity_check_get_enabled () + + + + +void + + +nm_client_connectivity_check_set_enabled () + + + + +gboolean nm_client_get_logging () @@ -249,7 +273,7 @@ -gboolean +gboolean nm_client_set_logging () @@ -297,7 +321,7 @@ -gboolean +gboolean nm_client_save_hostname () @@ -313,21 +337,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 () @@ -350,7 +374,7 @@ -const GPtrArray * +const GPtrArray * nm_client_get_active_connections () @@ -406,7 +430,7 @@ -gboolean +gboolean nm_client_deactivate_connection () @@ -422,14 +446,14 @@ -gboolean +gboolean nm_client_deactivate_connection_finish () -const GPtrArray * +const GPtrArray * nm_client_get_connections () @@ -477,7 +501,7 @@ -gboolean +gboolean nm_client_load_connections () @@ -493,7 +517,7 @@ -gboolean +gboolean nm_client_load_connections_finish () @@ -501,7 +525,7 @@ -gboolean +gboolean nm_client_reload_connections () @@ -517,7 +541,7 @@ -gboolean +gboolean nm_client_reload_connections_finish () @@ -538,7 +562,7 @@ -const GPtrArray * +const GPtrArray * nm_client_get_dns_configuration () @@ -564,24 +588,24 @@ -GPtrArray * +GPtrArray * active-connections Read -GPtrArray * +GPtrArray * all-devices Read -gboolean +gboolean can-modify Read -GPtrArray * +GPtrArray * connections Read @@ -591,47 +615,57 @@ Read +gboolean +connectivity-check-available +Read + + +gboolean +connectivity-check-enabled +Read / Write + + -GPtrArray * +GPtrArray * devices Read -GPtrArray * +GPtrArray * dns-configuration Read -gchar * +gchar * dns-mode Read -gchar * +gchar * dns-rc-manager Read -gchar * +gchar * hostname Read -guint +guint metered Read -gboolean +gboolean networking-enabled Read / Write -gboolean +gboolean nm-running Read @@ -642,7 +676,7 @@ Read -gboolean +gboolean startup Read @@ -653,37 +687,37 @@ -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 -gboolean +gboolean wwan-hardware-enabled Read @@ -702,47 +736,47 @@ 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
@@ -809,6 +843,14 @@ #define +NM_CLIENT_CONNECTIVITY_CHECK_AVAILABLE + + +#define +NM_CLIENT_CONNECTIVITY_CHECK_ENABLED + + +#define NM_CLIENT_PRIMARY_CONNECTION @@ -912,13 +954,13 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── NMDnsEntry
-    GEnum
+    GEnum
     ├── NMClientError
     ├── NMClientPermission
     ╰── NMClientPermissionResult
-    GObject
+    GObject
     ╰── NMClient
 
@@ -926,7 +968,7 @@

Implemented Interfaces

NMClient implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -935,7 +977,7 @@ NMClient implements

Functions

nm_client_error_quark ()

-
GQuark
+
GQuark
 nm_client_error_quark (void);

Registers an error quark for NMClient if necessary.

@@ -1081,7 +1123,7 @@ nm_dns_entry_get_priority (

nm_dns_entry_get_vpn ()

-
gboolean
+
gboolean
 nm_dns_entry_get_vpn (NMDnsEntry *entry);

Gets whether the entry refers to VPN name servers.

@@ -1101,7 +1143,7 @@ nm_dns_entry_get_vpn (

Returns

-

TRUE if the entry refers to VPN name servers

+

TRUE if the entry refers to VPN name servers

Since: 1.6

@@ -1109,8 +1151,8 @@ nm_dns_entry_get_vpn (

nm_client_new ()

NMClient *
-nm_client_new (GCancellable *cancellable,
-               GError **error);
+nm_client_new (GCancellable *cancellable, + GError **error);

Creates a new NMClient.

Note that this will do blocking D-Bus calls to initialize the client. You can use nm_client_new_async() if you want to avoid @@ -1126,12 +1168,12 @@ that.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1146,9 +1188,9 @@ that.

nm_client_new_async ()

void
-nm_client_new_async (GCancellable *cancellable,
-                     GAsyncReadyCallback callback,
-                     gpointer user_data);
+nm_client_new_async (GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Creates a new NMClient and begins asynchronously initializing it. callback will be called when it is done; use @@ -1165,7 +1207,7 @@ the callback can be invoked with two first parameters as NULL.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -1187,8 +1229,8 @@ the callback can be invoked with two first parameters as NULL.

nm_client_new_finish ()

NMClient *
-nm_client_new_finish (GAsyncResult *result,
-                      GError **error);
+nm_client_new_finish (GAsyncResult *result, + GError **error);

Gets the result of an nm_client_new_async() call.

Parameters

@@ -1201,12 +1243,12 @@ nm_client_new_finish (GAsyncResul

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1214,7 +1256,7 @@ nm_client_new_finish (GAsyncResul

Returns

-

a new NMClient, or NULL on error

+

a new NMClient, or NULL on error


@@ -1240,7 +1282,7 @@ nm_client_get_version (

Returns

-

string with the version (or NULL if NetworkManager is not running)

+

string with the version (or NULL if NetworkManager is not running)


@@ -1272,7 +1314,7 @@ nm_client_get_state (

nm_client_get_startup ()

-
gboolean
+
gboolean
 nm_client_get_startup (NMClient *client);

Tests whether the daemon is still in the process of activating connections at startup.

@@ -1299,7 +1341,7 @@ connections at startup.


nm_client_get_nm_running ()

-
gboolean
+
gboolean
 nm_client_get_nm_running (NMClient *client);

Determines whether the daemon is running.

@@ -1319,13 +1361,13 @@ nm_client_get_nm_running (

Returns

-

TRUE if the daemon is running

+

TRUE if the daemon is running


nm_client_networking_get_enabled ()

-
gboolean
+
gboolean
 nm_client_networking_get_enabled (NMClient *client);

Whether networking is enabled or disabled.

@@ -1345,16 +1387,16 @@ nm_client_networking_get_enabled (

Returns

-

TRUE if networking is enabled, FALSE if networking is disabled

+

TRUE if networking is enabled, FALSE if networking is disabled


nm_client_networking_set_enabled ()

-
gboolean
+
gboolean
 nm_client_networking_set_enabled (NMClient *client,
-                                  gboolean enabled,
-                                  GError **error);
+ gboolean enabled, + GError **error);

Enables or disables networking. When networking is disabled, all controlled interfaces are disconnected and deactivated. When networking is enabled, all controlled interfaces are available for activation.

@@ -1374,12 +1416,12 @@ all controlled interfaces are available for activation.

enabled

-

TRUE to set networking enabled, FALSE to set networking disabled

+

TRUE to set networking enabled, FALSE to set networking disabled

 

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -1387,13 +1429,13 @@ all controlled interfaces are available for activation.

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


nm_client_wireless_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wireless_get_enabled (NMClient *client);

Determines whether the wireless is enabled.

@@ -1413,7 +1455,7 @@ nm_client_wireless_get_enabled (

Returns

-

TRUE if wireless is enabled

+

TRUE if wireless is enabled


@@ -1421,7 +1463,7 @@ nm_client_wireless_get_enabled (

nm_client_wireless_set_enabled ()

void
 nm_client_wireless_set_enabled (NMClient *client,
-                                gboolean enabled);
+ gboolean enabled);

Enables or disables wireless devices.

Parameters

@@ -1439,7 +1481,7 @@ nm_client_wireless_set_enabled (

enabled

-

TRUE to enable wireless

+

TRUE to enable wireless

  @@ -1449,7 +1491,7 @@ nm_client_wireless_set_enabled (

nm_client_wireless_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wireless_hardware_get_enabled
                                (NMClient *client);

Determines whether the wireless hardware is enabled.

@@ -1470,13 +1512,13 @@ nm_client_wireless_hardware_get_enabled

Returns

-

TRUE if the wireless hardware is enabled

+

TRUE if the wireless hardware is enabled


nm_client_wwan_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wwan_get_enabled (NMClient *client);

Determines whether WWAN is enabled.

@@ -1496,7 +1538,7 @@ nm_client_wwan_get_enabled (

Returns

-

TRUE if WWAN is enabled

+

TRUE if WWAN is enabled


@@ -1504,7 +1546,7 @@ nm_client_wwan_get_enabled (

nm_client_wwan_set_enabled ()

void
 nm_client_wwan_set_enabled (NMClient *client,
-                            gboolean enabled);
+ gboolean enabled);

Enables or disables WWAN devices.

Parameters

@@ -1522,7 +1564,7 @@ nm_client_wwan_set_enabled (

enabled

-

TRUE to enable WWAN

+

TRUE to enable WWAN

  @@ -1532,7 +1574,7 @@ nm_client_wwan_set_enabled (

nm_client_wwan_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wwan_hardware_get_enabled (NMClient *client);

Determines whether the WWAN hardware is enabled.

@@ -1552,13 +1594,13 @@ nm_client_wwan_hardware_get_enabled (

Returns

-

TRUE if the WWAN hardware is enabled

+

TRUE if the WWAN hardware is enabled


nm_client_wimax_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wimax_get_enabled (NMClient *client);

Determines whether WiMAX is enabled.

@@ -1578,7 +1620,7 @@ nm_client_wimax_get_enabled (

Returns

-

TRUE if WiMAX is enabled

+

TRUE if WiMAX is enabled


@@ -1586,7 +1628,7 @@ nm_client_wimax_get_enabled (

nm_client_wimax_set_enabled ()

void
 nm_client_wimax_set_enabled (NMClient *client,
-                             gboolean enabled);
+ gboolean enabled);

Enables or disables WiMAX devices.

Parameters

@@ -1604,7 +1646,7 @@ nm_client_wimax_set_enabled (

enabled

-

TRUE to enable WiMAX

+

TRUE to enable WiMAX

  @@ -1614,7 +1656,7 @@ nm_client_wimax_set_enabled (

nm_client_wimax_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wimax_hardware_get_enabled (NMClient *client);

Determines whether the WiMAX hardware is enabled.

@@ -1634,17 +1676,109 @@ nm_client_wimax_hardware_get_enabled (

Returns

-

TRUE if the WiMAX hardware is enabled

+

TRUE if the WiMAX hardware is enabled

+
+
+
+
+

nm_client_connectivity_check_get_available ()

+
gboolean
+nm_client_connectivity_check_get_available
+                               (NMClient *client);
+

Determine whether connectivity checking is available. This +requires that the URI of a connectivity service has been set in the +configuration file.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if connectivity checking is available.

+
+

Since: 1.10

+
+
+
+

nm_client_connectivity_check_get_enabled ()

+
gboolean
+nm_client_connectivity_check_get_enabled
+                               (NMClient *client);
+

Determine whether connectivity checking is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if connectivity checking is enabled.

+
+

Since: 1.10

+
+
+
+

nm_client_connectivity_check_set_enabled ()

+
void
+nm_client_connectivity_check_set_enabled
+                               (NMClient *client,
+                                gboolean enabled);
+

Enable or disable connectivity checking. Note that if a +connectivity checking URI has not been configured, this will not +have any effect.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

client

a NMClient

 

enabled

TRUE to enable connectivity checking

 
+

Since: 1.10


nm_client_get_logging ()

-
gboolean
+
gboolean
 nm_client_get_logging (NMClient *client,
                        char **level,
                        char **domains,
-                       GError **error);
+ GError **error);

Gets NetworkManager current logging level and domains.

Parameters

@@ -1673,7 +1807,7 @@ a list of domains separated by ",".

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -1681,17 +1815,17 @@ a list of domains separated by ",".

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


nm_client_set_logging ()

-
gboolean
+
gboolean
 nm_client_set_logging (NMClient *client,
                        const char *level,
                        const char *domains,
-                       GError **error);
+ GError **error);

Sets NetworkManager logging level and/or domains.

Parameters

@@ -1709,18 +1843,18 @@ nm_client_set_logging (

level

-

logging level to set (NULL or an empty string for no change).

+

logging level to set (NULL or an empty string for no change).

[allow-none]

domains

logging domains to set. The string should be a list of log -domains separated by ",". (NULL or an empty string for no change).

+domains separated by ",". (NULL or an empty string for no change).

[allow-none]

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -1728,7 +1862,7 @@ domains separated by ",". (NULL or an empty string

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


@@ -1800,8 +1934,8 @@ connectivity state first before returning any information.

nm_client_check_connectivity ()

NMConnectivityState
 nm_client_check_connectivity (NMClient *client,
-                              GCancellable *cancellable,
-                              GError **error);
+ GCancellable *cancellable, + GError **error);

Updates the network connectivity state and returns the (new) current state. Contrast nm_client_get_connectivity(), which returns the most recent known state without re-checking.

@@ -1823,12 +1957,12 @@ if you do not want to block.

cancellable

-

a GCancellable

+

a GCancellable

 

error

-

return location for a GError

+

return location for a GError

  @@ -1844,9 +1978,9 @@ if you do not want to block.

nm_client_check_connectivity_async ()

void
 nm_client_check_connectivity_async (NMClient *client,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously updates the network connectivity state and invokes callback when complete. Contrast nm_client_get_connectivity(), @@ -1868,7 +2002,7 @@ re-checking, and

cancellable

-

a GCancellable

+

a GCancellable

  @@ -1891,8 +2025,8 @@ re-checking, and

nm_client_check_connectivity_finish ()

NMConnectivityState
 nm_client_check_connectivity_finish (NMClient *client,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Retrieves the result of an nm_client_check_connectivity_async() call.

@@ -1911,12 +2045,12 @@ call.

result

-

the GAsyncResult

+

the GAsyncResult

 

error

-

return location for a GError

+

return location for a GError

  @@ -1930,11 +2064,11 @@ call.


nm_client_save_hostname ()

-
gboolean
+
gboolean
 nm_client_save_hostname (NMClient *client,
                          const char *hostname,
-                         GCancellable *cancellable,
-                         GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the machine's persistent hostname be set to the specified value or cleared.

@@ -1953,18 +2087,18 @@ or cleared.

hostname

-

the new persistent hostname to set, or NULL to +

the new persistent hostname to set, or NULL to clear any existing persistent hostname.

[allow-none]

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

return location for GError

+

return location for GError

  @@ -1972,7 +2106,7 @@ clear any existing persistent hostname.

Returns

-

TRUE if the request was successful, FALSE if it failed

+

TRUE if the request was successful, FALSE if it failed


@@ -1981,9 +2115,9 @@ clear any existing persistent hostname.

void
 nm_client_save_hostname_async (NMClient *client,
                                const char *hostname,
-                               GCancellable *cancellable,
-                               GAsyncReadyCallback callback,
-                               gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the machine's persistent hostname be set to the specified value or cleared.

@@ -2002,13 +2136,13 @@ or cleared.

hostname

-

the new persistent hostname to set, or NULL to +

the new persistent hostname to set, or NULL to clear any existing persistent hostname.

[allow-none]

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -2029,10 +2163,10 @@ clear any existing persistent hostname.


nm_client_save_hostname_finish ()

-
gboolean
+
gboolean
 nm_client_save_hostname_finish (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_save_hostname_async() call.

Parameters

@@ -2050,12 +2184,12 @@ nm_client_save_hostname_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

return location for GError

+

return location for GError

  @@ -2063,13 +2197,13 @@ nm_client_save_hostname_finish (

Returns

-

TRUE if the request was successful, FALSE if it failed

+

TRUE if the request was successful, FALSE if it failed


nm_client_get_devices ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_devices (NMClient *client);

Gets all the known network devices. Use nm_device_get_type() or the NM_IS_DEVICE_XXXX functions to determine what kind of @@ -2092,7 +2226,7 @@ methods such as

Returns

-

a GPtrArray +

a GPtrArray containing all the NMDevices. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDevice]

@@ -2101,7 +2235,7 @@ containing all the NM

nm_client_get_all_devices ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_all_devices (NMClient *client);

Gets both real devices and device placeholders (eg, software devices which do not currently exist, but could be created automatically by NetworkManager @@ -2128,7 +2262,7 @@ use device-specific methods such as

Returns

-

a GPtrArray +

a GPtrArray containing all the NMDevices. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDevice]

@@ -2167,7 +2301,7 @@ nm_client_get_device_by_path (

Returns

the NMDevice for the given object_path -or NULL if none is found.

+or NULL if none is found.

[transfer none]

@@ -2203,14 +2337,14 @@ nm_client_get_device_by_iface (

Returns

the NMDevice for the given iface -or NULL if none is found.

+or NULL if none is found.

[transfer none]


nm_client_get_active_connections ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_active_connections (NMClient *client);

Gets the active connections.

@@ -2230,7 +2364,7 @@ nm_client_get_active_connections (

Returns

-

a GPtrArray +

a GPtrArray containing all the active NMActiveConnections. The returned array is owned by the client and should not be modified.

[transfer none][element-type NMActiveConnection]

@@ -2249,7 +2383,7 @@ the default route. If there is a VPN active with the default route, then this function returns the active connection that contains the route to the VPN endpoint.

If there is no default route, or the default route is over a -non-NetworkManager-recognized device, this will return NULL.

+non-NetworkManager-recognized device, this will return NULL.

Parameters

@@ -2310,9 +2444,9 @@ nm_client_activate_connection_async (NMConnection *connection, NMDevice *device, const char *specific_object, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously starts a connection to a particular network using the configuration settings from connection and the network device device @@ -2328,7 +2462,7 @@ in connection is not given for a device-based activation, NetworkManager picks the best available connection for the device and activates it.

Note that the callback is invoked when NetworkManager has started activating -the new connection, not when it finishes. You can used the returned +the new connection, not when it finishes. You can use the returned NMActiveConnection object (in particular, “state”) to track the activation to its completion.

@@ -2359,7 +2493,7 @@ track the activation to its completion.

- + @@ -2392,8 +2526,8 @@ details of the newly added connection.

nm_client_activate_connection_finish ()

NMActiveConnection *
 nm_client_activate_connection_finish (NMClient *client,
-                                      GAsyncResult *result,
-                                      GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_activate_connection_async().

Parameters

@@ -2411,12 +2545,12 @@ nm_client_activate_connection_finish (

result

-
+ - + @@ -2424,7 +2558,7 @@ nm_client_activate_connection_finish (

Returns

-

the new NMActiveConnection on success, NULL on +

the new NMActiveConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -2439,9 +2573,9 @@ nm_client_add_and_activate_connection_async NMConnection *partial, NMDevice *device, const char *specific_object, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Adds a new connection using the given details (if any) as a template, automatically filling in missing settings with the capabilities of the given device and specific object. The new connection is then asynchronously @@ -2468,7 +2602,7 @@ track the activation to its completion.

@@ -2483,7 +2617,7 @@ before being added.

- + @@ -2517,8 +2651,8 @@ details of the newly added connection.

NMActiveConnection *
 nm_client_add_and_activate_connection_finish
                                (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_add_and_activate_connection_async().

You can call nm_active_connection_get_connection() on the returned NMActiveConnection to find the path of the created NMConnection.

@@ -2538,12 +2672,12 @@ nm_client_add_and_activate_connection_finish
- + - + @@ -2551,7 +2685,7 @@ nm_client_add_and_activate_connection_finish

Returns

-

the new NMActiveConnection on success, NULL on +

the new NMActiveConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -2560,11 +2694,11 @@ will be set.


nm_client_deactivate_connection ()

-
gboolean
+
gboolean
 nm_client_deactivate_connection (NMClient *client,
                                  NMActiveConnection *active,
-                                 GCancellable *cancellable,
-                                 GError **error);
+ GCancellable *cancellable, + GError **error);

Deactivates an active NMActiveConnection.

Parameters

@@ -2587,12 +2721,12 @@ nm_client_deactivate_connection (
- + - + @@ -2609,9 +2743,9 @@ nm_client_deactivate_connection (void nm_client_deactivate_connection_async (NMClient *client, NMActiveConnection *active, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously deactivates an active NMActiveConnection.

Parameters

@@ -2634,7 +2768,7 @@ nm_client_deactivate_connection_async (

cancellable

-
+ @@ -2655,11 +2789,11 @@ nm_client_deactivate_connection_async (

nm_client_deactivate_connection_finish ()

-
gboolean
+
gboolean
 nm_client_deactivate_connection_finish
                                (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_deactivate_connection_async().

Parameters

@@ -2677,12 +2811,12 @@ nm_client_deactivate_connection_finish
- + - + @@ -2696,7 +2830,7 @@ nm_client_deactivate_connection_finish

nm_client_get_connections ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_connections (NMClient *client);

Parameters

@@ -2755,7 +2889,7 @@ nm_client_get_connection_by_id (

Returns

-

the remote connection object on success, or NULL if no +

the remote connection object on success, or NULL if no matching object was found.

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2794,7 +2928,7 @@ nm_client_get_connection_by_path (

Returns

-

the remote connection object on success, or NULL if the object was +

the remote connection object on success, or NULL if the object was not known

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2833,7 +2967,7 @@ nm_client_get_connection_by_uuid (

Returns

-

the remote connection object on success, or NULL if the object was +

the remote connection object on success, or NULL if the object was not known

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2846,13 +2980,13 @@ to void nm_client_add_connection_async (NMClient *client, NMConnection *connection, - gboolean save_to_disk, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data);
+ gboolean save_to_disk, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service add the given settings to a new connection. If save_to_disk - is TRUE, the connection is immediately written + is TRUE, the connection is immediately written to disk; otherwise it is initially only stored in memory, but may be saved later by calling the connection's nm_remote_connection_commit_changes() method.

@@ -2894,7 +3028,7 @@ added, not the object itself

- + @@ -2917,8 +3051,8 @@ added, not the object itself

nm_client_add_connection_finish ()

NMRemoteConnection *
 nm_client_add_connection_finish (NMClient *client,
-                                 GAsyncResult *result,
-                                 GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_add_connection_async().

Parameters

@@ -2936,12 +3070,12 @@ nm_client_add_connection_finish (
- + - + @@ -2949,7 +3083,7 @@ nm_client_add_connection_finish (

Returns

-

the new NMRemoteConnection on success, NULL on +

the new NMRemoteConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -2958,23 +3092,23 @@ will be set.


nm_client_load_connections ()

-
gboolean
+
gboolean
 nm_client_load_connections (NMClient *client,
                             char **filenames,
                             char ***failures,
-                            GCancellable *cancellable,
-                            GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the remote settings service load or reload the given files, adding or updating the connections described within.

The changes to the indicated files will not yet be reflected in client 's connections array when the function returns.

If all of the indicated files were successfully loaded, the -function will return TRUE, and failures - will be set to NULL. If +function will return TRUE, and failures + will be set to NULL. If NetworkManager tried to load the files, but some (or all) failed, then failures - will be set to a NULL-terminated array of the + will be set to a NULL-terminated array of the filenames that failed to load.

Parameters

@@ -2992,23 +3126,23 @@ filenames that failed to load.

- + - - + - + @@ -3016,9 +3150,9 @@ filenames that failed to load.

Returns

-

TRUE if NetworkManager at least tried to load filenames +

TRUE if NetworkManager at least tried to load filenames , -FALSE if an error occurred (eg, permission denied).

+FALSE if an error occurred (eg, permission denied).


@@ -3027,9 +3161,9 @@ filenames that failed to load.

void
 nm_client_load_connections_async (NMClient *client,
                                   char **filenames,
-                                  GCancellable *cancellable,
-                                  GAsyncReadyCallback callback,
-                                  gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service asynchronously load or reload the given files, adding or updating the connections described within.

See nm_client_load_connections() for more details.

@@ -3049,12 +3183,12 @@ given files, adding or updating the connections described within.

- + - + @@ -3075,11 +3209,11 @@ given files, adding or updating the connections described within.


nm_client_load_connections_finish ()

-
gboolean
+
gboolean
 nm_client_load_connections_finish (NMClient *client,
                                    char ***failures,
-                                   GAsyncResult *result,
-                                   GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_load_connections_async() call.

See nm_client_load_connections() for more details.

@@ -3099,17 +3233,17 @@ nm_client_load_connections_finish (
+NULL-terminated array of filenames that failed to load.

- + - + @@ -3117,18 +3251,18 @@ nm_client_load_connections_finish (

Returns

-

TRUE if NetworkManager at least tried to load filenames +

TRUE if NetworkManager at least tried to load filenames , -FALSE if an error occurred (eg, permission denied).

+FALSE if an error occurred (eg, permission denied).


nm_client_reload_connections ()

-
gboolean
+
gboolean
 nm_client_reload_connections (NMClient *client,
-                              GCancellable *cancellable,
-                              GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the remote settings service reload all connection files from disk, adding, updating, and removing connections until the in-memory state matches the on-disk state.

@@ -3148,12 +3282,12 @@ the in-memory state matches the on-disk state.

- + - + @@ -3161,7 +3295,7 @@ the in-memory state matches the on-disk state.

Returns

-

TRUE on success, FALSE on failure

+

TRUE on success, FALSE on failure


@@ -3169,9 +3303,9 @@ the in-memory state matches the on-disk state.

nm_client_reload_connections_async ()

void
 nm_client_reload_connections_async (NMClient *client,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service begin reloading all connection files from disk, adding, updating, and removing connections until the in-memory state matches the on-disk state.

@@ -3191,7 +3325,7 @@ in-memory state matches the on-disk state.

- + @@ -3212,10 +3346,10 @@ in-memory state matches the on-disk state.


nm_client_reload_connections_finish ()

-
gboolean
+
gboolean
 nm_client_reload_connections_finish (NMClient *client,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_reload_connections_async() call.

Parameters

@@ -3233,12 +3367,12 @@ nm_client_reload_connections_finish (
- + - + @@ -3246,7 +3380,7 @@ nm_client_reload_connections_finish (

Returns

-

TRUE on success, FALSE on failure

+

TRUE on success, FALSE on failure


@@ -3272,7 +3406,7 @@ nm_client_get_dns_mode (

Returns

-

the DNS processing mode, or NULL in case the +

the DNS processing mode, or NULL in case the value is not available.

Since: 1.6

@@ -3300,7 +3434,7 @@ nm_client_get_dns_rc_manager (

Returns

-

the resolv.conf manager or NULL in case the +

the resolv.conf manager or NULL in case the value is not available.

Since: 1.6

@@ -3308,7 +3442,7 @@ value is not available.


nm_client_get_dns_configuration ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_dns_configuration (NMClient *client);

Gets the current DNS configuration

@@ -3328,8 +3462,8 @@ nm_client_get_dns_configuration (

Returns

-

a GPtrArray -containing NMDnsEntry elements or NULL in case the value is not +

a GPtrArray +containing NMDnsEntry elements or NULL in case the value is not available. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDnsEntry]

@@ -3418,6 +3552,18 @@ and should not be modified.


+

NM_CLIENT_CONNECTIVITY_CHECK_AVAILABLE

+
#define NM_CLIENT_CONNECTIVITY_CHECK_AVAILABLE "connectivity-check-available"
+
+
+
+
+

NM_CLIENT_CONNECTIVITY_CHECK_ENABLED

+
#define NM_CLIENT_CONNECTIVITY_CHECK_ENABLED "connectivity-check-enabled"
+
+
+
+

NM_CLIENT_PRIMARY_CONNECTION

#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
 
@@ -3676,6 +3822,14 @@ clients can obtain to perform certain tasks on behalf of the current user.

+ + + + +

specific_object

the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used +wired and mobile broadband connections, and the value of NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a NMAccessPoint or NMWimaxNsp owned by device , which you can @@ -2369,7 +2503,7 @@ details of the newly added connection.

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

partial

an NMConnection to add; the connection may be -partially filled (or even NULL) and will be completed by NetworkManager +partially filled (or even NULL) and will be completed by NetworkManager using the given device and specific_object before being added.

specific_object

the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used +wired and mobile broadband connections, and the value of NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a NMAccessPoint or NMWimaxNsp owned by device , which you can @@ -2493,7 +2627,7 @@ details of the newly added connection.

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

filenames

NULL-terminated array of filenames to load.

NULL-terminated array of filenames to load.

[array zero-terminated=1]

failures

on return, a NULL-terminated array of +

on return, a NULL-terminated array of filenames that failed to load.

[out][transfer full]

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

return location for GError

return location for GError

 

filenames

NULL-terminated array of filenames to load.

NULL-terminated array of filenames to load.

[array zero-terminated=1]

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

failures

on return, a -NULL-terminated array of filenames that failed to load.

[out][transfer full][array zero-terminated=1]

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

return location for GError

return location for GError

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

return location for GError

return location for GError

 
 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_CONNECTIVITY_CHECK

+

controls whether + connectivity check can be enabled or disabled

+
 

NM_CLIENT_PERMISSION_LAST

a reserved boundary value

@@ -3802,7 +3956,7 @@ likely to become the new

The “active-connections” property

-
  “active-connections”       GPtrArray *
+
  “active-connections”       GPtrArray *

The active connections.

Element-type: NMActiveConnection

Flags: Read

@@ -3810,7 +3964,7 @@ likely to become the new

The “all-devices” property

-
  “all-devices”              GPtrArray *
+
  “all-devices”              GPtrArray *

List of both real devices and device placeholders.

Element-type: NMDevice

Flags: Read

@@ -3819,15 +3973,15 @@ likely to become the new

The “can-modify” property

-
  “can-modify”               gboolean
-

If TRUE, adding and modifying connections is supported.

+
  “can-modify”               gboolean
+

If TRUE, adding and modifying connections is supported.

Flags: Read

Default value: FALSE


The “connections” property

-
  “connections”              GPtrArray *
+
  “connections”              GPtrArray *

The list of configured connections that are available to the user. (Note that this differs from the underlying D-Bus property, which may also contain the object paths of connections that the user does not have @@ -3845,8 +3999,22 @@ permission to read the details of.)


+

The “connectivity-check-available” property

+
  “connectivity-check-available” gboolean
+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “connectivity-check-enabled” property

+
  “connectivity-check-enabled” gboolean
+

Flags: Read / Write

+

Default value: FALSE

+
+
+

The “devices” property

-
  “devices”                  GPtrArray *
+
  “devices”                  GPtrArray *

List of real network devices. Does not include placeholder devices.

Element-type: NMDevice

Flags: Read

@@ -3854,7 +4022,7 @@ permission to read the details of.)


The “dns-configuration” property

-
  “dns-configuration”        GPtrArray *
+
  “dns-configuration”        GPtrArray *

The current DNS configuration represented as an array of dictionaries. Each dictionary has the "nameservers", "priority" keys and, optionally, "interface" and "vpn". @@ -3868,7 +4036,7 @@ configuration was obtained from a VPN connection.


The “dns-mode” property

-
  “dns-mode”                 gchar *
+
  “dns-mode”                 gchar *

The current DNS processing mode.

Flags: Read

Default value: ""

@@ -3877,7 +4045,7 @@ configuration was obtained from a VPN connection.


The “dns-rc-manager” property

-
  “dns-rc-manager”           gchar *
+
  “dns-rc-manager”           gchar *

The current resolv.conf management mode.

Flags: Read

Default value: ""

@@ -3886,7 +4054,7 @@ configuration was obtained from a VPN connection.


The “hostname” property

-
  “hostname”                 gchar *
+
  “hostname”                 gchar *

The machine hostname stored in persistent configuration. This can be modified by calling nm_client_save_hostname().

Flags: Read

@@ -3895,7 +4063,7 @@ modified by calling

The “metered” property

-
  “metered”                  guint
+
  “metered”                  guint

Whether the connectivity is metered.

Flags: Read

Default value: 0

@@ -3904,7 +4072,7 @@ modified by calling

The “networking-enabled” property

-
  “networking-enabled”       gboolean
+
  “networking-enabled”       gboolean

Whether networking is enabled.

Flags: Read / Write

Default value: TRUE

@@ -3912,7 +4080,7 @@ modified by calling

The “nm-running” property

-
  “nm-running”               gboolean
+
  “nm-running”               gboolean

Whether the daemon is running.

Flags: Read

Default value: FALSE

@@ -3928,7 +4096,7 @@ see

The “startup” property

-
  “startup”                  gboolean
+
  “startup”                  gboolean

Whether the daemon is still starting up.

Flags: Read

Default value: FALSE

@@ -3944,7 +4112,7 @@ see

The “version” property

-
  “version”                  gchar *
+
  “version”                  gchar *

The NetworkManager version.

Flags: Read

Default value: NULL

@@ -3952,7 +4120,7 @@ see

The “wimax-enabled” property

-
  “wimax-enabled”            gboolean
+
  “wimax-enabled”            gboolean

Whether WiMAX functionality is enabled.

Flags: Read / Write

Default value: FALSE

@@ -3960,7 +4128,7 @@ see

The “wimax-hardware-enabled” property

-
  “wimax-hardware-enabled”   gboolean
+
  “wimax-hardware-enabled”   gboolean

Whether the WiMAX hardware is enabled.

Flags: Read

Default value: FALSE

@@ -3968,7 +4136,7 @@ see

The “wireless-enabled” property

-
  “wireless-enabled”         gboolean
+
  “wireless-enabled”         gboolean

Whether wireless is enabled.

Flags: Read / Write

Default value: FALSE

@@ -3976,7 +4144,7 @@ see

The “wireless-hardware-enabled” property

-
  “wireless-hardware-enabled” gboolean
+
  “wireless-hardware-enabled” gboolean

Whether the wireless hardware is enabled.

Flags: Read

Default value: TRUE

@@ -3984,7 +4152,7 @@ see

The “wwan-enabled” property

-
  “wwan-enabled”             gboolean
+
  “wwan-enabled”             gboolean

Whether WWAN functionality is enabled.

Flags: Read / Write

Default value: FALSE

@@ -3992,7 +4160,7 @@ see

The “wwan-hardware-enabled” property

-
  “wwan-hardware-enabled”    gboolean
+
  “wwan-hardware-enabled”    gboolean

Whether the WWAN hardware is enabled.

Flags: Read

Default value: FALSE

@@ -4005,7 +4173,7 @@ see void user_function (NMClient *client, NMActiveConnection *active_connection, - gpointer user_data) + gpointer user_data)

Notifies that a NMActiveConnection has been added.

Parameters

@@ -4034,7 +4202,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First


@@ -4042,7 +4210,7 @@ user_function (void user_function (NMClient *client, NMActiveConnection *active_connection, - gpointer user_data)
+ gpointer user_data)

Notifies that a NMActiveConnection has been removed.

Parameters

@@ -4071,15 +4239,15 @@ user_function (
-

Flags: Run First

+

Flags: Run First


The “any-device-added” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is added. This signal is emitted for both regular devices and placeholder devices.

@@ -4109,15 +4277,15 @@ regular devices and placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “any-device-removed” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is removed. This signal is emitted for both regular devices and placeholder devices.

@@ -4147,7 +4315,7 @@ regular devices and placeholder devices.

-

Flags: Run First

+

Flags: Run First


@@ -4155,7 +4323,7 @@ regular devices and placeholder devices.

void
 user_function (NMClient           *client,
                NMRemoteConnection *connection,
-               gpointer            user_data)
+ gpointer user_data)

Notifies that a NMConnection has been added.

Parameters

@@ -4184,7 +4352,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First


@@ -4192,7 +4360,7 @@ user_function (void user_function (NMClient *client, NMRemoteConnection *connection, - gpointer user_data) + gpointer user_data)

Notifies that a NMConnection has been removed.

Parameters

@@ -4221,15 +4389,15 @@ user_function (
-

Flags: Run First

+

Flags: Run First


The “device-added” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is added. This signal is not emitted for placeholder devices.

@@ -4259,15 +4427,15 @@ placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “device-removed” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is removed. This signal is not emitted for placeholder devices.

@@ -4297,16 +4465,16 @@ placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “permission-changed” signal

void
 user_function (NMClient *client,
-               guint     permission,
-               guint     result,
-               gpointer  user_data)
+ guint permission, + guint result, + gpointer user_data)

Notifies that a permission has changed

Parameters

@@ -4340,7 +4508,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First

diff --git a/docs/libnm/html/NMConnection.html b/docs/libnm/html/NMConnection.html index 95620afd..4a9f692c 100644 --- a/docs/libnm/html/NMConnection.html +++ b/docs/libnm/html/NMConnection.html @@ -74,7 +74,7 @@ -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 () @@ -215,6 +215,14 @@ +NMSetting ** + + +nm_connection_get_settings () + + + + void @@ -244,7 +252,7 @@ -gboolean +gboolean nm_connection_is_virtual () @@ -420,6 +428,38 @@ +NMSettingOvsBridge * + + +nm_connection_get_setting_ovs_bridge () + + + + +NMSettingOvsInterface * + + +nm_connection_get_setting_ovs_interface () + + + + +NMSettingOvsPatch * + + +nm_connection_get_setting_ovs_patch () + + + + +NMSettingOvsPort * + + +nm_connection_get_setting_ovs_port () + + + + NMSettingPpp * @@ -566,7 +606,7 @@

Object Hierarchy

-
    GFlags
+
    GFlags
     ╰── NMConnectionSerializationFlags
 
@@ -623,8 +663,8 @@ the setting object's reference count.

nm_connection_remove_setting ()

void
 nm_connection_remove_setting (NMConnection *connection,
-                              GType setting_type);
-

Removes the NMSetting with the given GType from the NMConnection. This + GType setting_type); +

Removes the NMSetting with the given GType from the NMConnection. This operation dereferences the NMSetting object.

Parameters

@@ -642,7 +682,7 @@ operation dereferences the

setting_type

-

the GType of the setting object to remove

+

the GType of the setting object to remove

  @@ -654,8 +694,8 @@ operation dereferences the

nm_connection_get_setting ()

NMSetting *
 nm_connection_get_setting (NMConnection *connection,
-                           GType setting_type);
-

Gets the NMSetting with the given GType, if one has been previously added + GType setting_type); +

Gets the NMSetting with the given GType, if one has been previously added to the NMConnection.

Parameters

@@ -673,7 +713,7 @@ to the

setting_type

-

the GType of the setting object to return

+

the GType of the setting object to return

  @@ -681,7 +721,7 @@ to the

Returns

-

the NMSetting, or NULL if no setting of that type was previously +

the NMSetting, or NULL if no setting of that type was previously added to the NMConnection.

[transfer none]

@@ -718,7 +758,7 @@ the

Returns

-

the NMSetting, or NULL if no setting with that name was previously +

the NMSetting, or NULL if no setting with that name was previously added to the NMConnection.

[transfer none]

@@ -726,10 +766,10 @@ added to the

nm_connection_to_dbus ()

-
GVariant *
+
GVariant *
 nm_connection_to_dbus (NMConnection *connection,
                        NMConnectionSerializationFlags flags);
-

Converts the NMConnection into a GVariant of type +

Converts the NMConnection into a GVariant of type NM_VARIANT_TYPE_CONNECTION describing the connection, suitable for marshalling over D-Bus or otherwise serializing.

@@ -756,7 +796,7 @@ marshalling over D-Bus or otherwise serializing.

Returns

-

a new floating GVariant describing the connection, +

a new floating GVariant describing the connection, its settings, and each setting's properties.

[transfer none]

@@ -764,10 +804,10 @@ its settings, and each setting's properties.


nm_connection_replace_settings ()

-
gboolean
+
gboolean
 nm_connection_replace_settings (NMConnection *connection,
-                                GVariant *new_settings,
-                                GError **error);
+ GVariant *new_settings, + GError **error);

Replaces connection 's settings with new_settings (which must be @@ -789,12 +829,12 @@ need to result in a connection that passes

new_settings

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION, with the new settings

+

a GVariant of type NM_VARIANT_TYPE_CONNECTION, with the new settings

 

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -802,7 +842,7 @@ need to result in a connection that passes

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).

@@ -869,7 +909,7 @@ nm_connection_clear_settings (

nm_connection_compare ()

-
gboolean
+
gboolean
 nm_connection_compare (NMConnection *a,
                        NMConnection *b,
                        NMSettingCompareFlags flags);
@@ -905,17 +945,17 @@ each flag's behavior.

Returns

-

TRUE if the comparison succeeds, FALSE if it does not

+

TRUE if the comparison succeeds, FALSE if it does not


nm_connection_diff ()

-
gboolean
+
gboolean
 nm_connection_diff (NMConnection *a,
                     NMConnection *b,
                     NMSettingCompareFlags flags,
-                    GHashTable **out_settings);
+ GHashTable **out_settings);

Compares two NMConnection objects for similarity, with comparison behavior modified by a set of flags. See nm_setting_compare() for a description of each flag's behavior. If the connections differ, settings and keys within @@ -959,16 +999,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);

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 @@ -976,7 +1016,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.

Parameters

@@ -994,7 +1034,7 @@ setting and which property failed validation, and how it failed validation.

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1002,15 +1042,15 @@ setting and which property failed validation, and how it failed validation.

Returns

-

TRUE if the connection is valid, FALSE if it is not

+

TRUE if the connection is valid, FALSE if it is not


nm_connection_verify_secrets ()

-
gboolean
+
gboolean
 nm_connection_verify_secrets (NMConnection *connection,
-                              GError **error);
+ GError **error);

Verifies the secrets in the connection.

Parameters

@@ -1028,7 +1068,7 @@ nm_connection_verify_secrets (

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1036,23 +1076,23 @@ nm_connection_verify_secrets (

Returns

-

TRUE if the secrets are valid, FALSE if they are not

+

TRUE if the secrets are valid, FALSE if they are not

Since: 1.2


nm_connection_normalize ()

-
gboolean
+
gboolean
 nm_connection_normalize (NMConnection *connection,
-                         GHashTable *parameters,
-                         gboolean *modified,
-                         GError **error);
+ GHashTable *parameters, + gboolean *modified, + GError **error);

Does some basic normalization and fixup of well known inconsistencies and deprecated fields. If the connection was modified in any way, the output parameter modified - is set TRUE.

-

Finally the connection will be verified and TRUE returns if the connection + is set TRUE.

+

Finally the connection will be verified and 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.

@@ -1072,10 +1112,10 @@ cannot be normalized, the connection will not be modified.

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 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] @@ -1086,7 +1126,7 @@ The values are opaque and depend on the parameter name.

error

-

location to store error, or NULL. Contains the reason, +

location to store error, or NULL. Contains the reason, why the connection is invalid, if the function returns an error.

  @@ -1095,7 +1135,7 @@ why the connection is invalid, if the function returns an error.

Returns

-

TRUE if the connection is valid, FALSE if it is not

+

TRUE if the connection is valid, FALSE if it is not


@@ -1103,7 +1143,7 @@ why the connection is invalid, if the function returns an error.

nm_connection_need_secrets ()

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 @@ -1125,10 +1165,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.

[out][element-type utf8][allow-none][transfer container] @@ -1171,7 +1211,7 @@ keeping secret data in memory when not needed.

nm_connection_clear_secrets_with_flags (NMConnection *connection, NMSettingClearSecretsWithFlagsFn func, - gpointer user_data); + gpointer user_data);

Clears and frees secrets determined by func .

@@ -1207,16 +1247,16 @@ specific secret should be cleared or not.


nm_connection_update_secrets ()

-
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 .

@@ -1241,13 +1281,13 @@ settings contained in 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

  @@ -1255,7 +1295,7 @@ or

Returns

-

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)

@@ -1325,7 +1365,7 @@ nm_connection_get_path (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.

@@ -1346,13 +1386,13 @@ NetworkManager, this is the name of the created interface.

Returns

-

Name of the kernel interface or NULL

+

Name of the kernel interface or NULL


nm_connection_is_type ()

-
gboolean
+
gboolean
 nm_connection_is_type (NMConnection *connection,
                        const char *type);

A convenience function to check if the given connection @@ -1385,8 +1425,8 @@ property of the connection and matches that against

Returns

-

TRUE if the connection is of the given type -, FALSE if not

+

TRUE if the connection is of the given type +, FALSE if not


@@ -1395,7 +1435,7 @@ 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.

@@ -1429,6 +1469,48 @@ at each invocation


+

nm_connection_get_settings ()

+
NMSetting **
+nm_connection_get_settings (NMConnection *connection,
+                            guint *out_length);
+

Retrieves the settings in connection +.

+

The returned array is NULL-terminated.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

connection

the NMConnection instance

 

out_length

(out): the length of the returned array.

[allow-none]
+
+
+

Returns

+

a +NULL-terminated array containing every setting of +connection +. +If the connection has no settings, NULL is returned.

+

[array length=out_length][transfer container]

+
+

Since: 1.10

+
+
+

nm_connection_dump ()

void
 nm_connection_dump (NMConnection *connection);
@@ -1532,7 +1614,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 @@ -1587,7 +1669,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]

@@ -1615,7 +1697,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]

@@ -1642,7 +1724,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]

@@ -1669,7 +1751,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]

@@ -1696,7 +1778,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]

@@ -1723,7 +1805,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]

@@ -1750,7 +1832,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]

@@ -1777,7 +1859,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]

@@ -1804,7 +1886,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]

@@ -1831,7 +1913,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]

@@ -1885,7 +1967,7 @@ nm_connection_get_setting_dummy (

Returns

-

an NMSettingDummy if the connection contains one, otherwise NULL.

+

an NMSettingDummy if the connection contains one, otherwise NULL.

[transfer none]

Since: 1.8

@@ -1940,7 +2022,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]

@@ -1967,7 +2049,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]

@@ -1994,7 +2076,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

@@ -2026,7 +2108,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]

@@ -2057,7 +2139,7 @@ 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]

@@ -2084,7 +2166,7 @@ nm_connection_get_setting_macsec (

Returns

-

an NMSettingMacsec if the connection contains one, otherwise NULL.

+

an NMSettingMacsec if the connection contains one, otherwise NULL.

[transfer none]

Since: 1.6

@@ -2112,7 +2194,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

@@ -2140,9 +2222,122 @@ 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]

+
+ +
+
+

nm_connection_get_setting_ovs_bridge ()

+
NMSettingOvsBridge *
+nm_connection_get_setting_ovs_bridge (NMConnection *connection);
+

A shortcut to return any NMSettingOvsBridge the connection might contain.

+
+

Parameters

+
+++++ + + + + + +

connection

the NMConnection

 
+
+
+

Returns

+

an NMSettingOvsBridge if the connection contains one, otherwise NULL.

+

[transfer none]

+
+

Since: 1.10

+
+
+
+

nm_connection_get_setting_ovs_interface ()

+
NMSettingOvsInterface *
+nm_connection_get_setting_ovs_interface
+                               (NMConnection *connection);
+

A shortcut to return any NMSettingOvsInterface the connection might contain.

+
+

Parameters

+
+++++ + + + + + +

connection

the NMConnection

 
+
+
+

Returns

+

an NMSettingOvsInterface if the connection contains one, otherwise NULL.

+

[transfer none]

+
+

Since: 1.10

+
+
+
+

nm_connection_get_setting_ovs_patch ()

+
NMSettingOvsPatch *
+nm_connection_get_setting_ovs_patch (NMConnection *connection);
+

A shortcut to return any NMSettingOvsPatch the connection might contain.

+
+

Parameters

+
+++++ + + + + + +

connection

the NMConnection

 
+
+
+

Returns

+

an NMSettingOvsPatch if the connection contains one, otherwise NULL.

+

[transfer none]

+
+

Since: 1.10

+
+
+
+

nm_connection_get_setting_ovs_port ()

+
NMSettingOvsPort *
+nm_connection_get_setting_ovs_port (NMConnection *connection);
+

A shortcut to return any NMSettingOvsPort the connection might contain.

+
+

Parameters

+
+++++ + + + + + +

connection

the NMConnection

 
+
+
+

Returns

+

an NMSettingOvsPort if the connection contains one, otherwise NULL.

[transfer none]

+

Since: 1.10


@@ -2167,7 +2362,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]

@@ -2194,7 +2389,7 @@ 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]

@@ -2221,7 +2416,7 @@ nm_connection_get_setting_proxy (

Returns

-

an NMSettingProxy if the connection contains one, otherwise NULL.

+

an NMSettingProxy if the connection contains one, otherwise NULL.

[transfer none]

Since: 1.6

@@ -2249,7 +2444,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]

@@ -2276,7 +2471,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

@@ -2304,7 +2499,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]

@@ -2331,7 +2526,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]

@@ -2358,7 +2553,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]

@@ -2385,7 +2580,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]

@@ -2412,7 +2607,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]

@@ -2440,7 +2635,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]

@@ -2467,7 +2662,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]

@@ -2494,7 +2689,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

@@ -2548,7 +2743,7 @@ nm_connection_get_setting_vxlan ( -

GTypeInterface parent;

+

GTypeInterface parent;

the parent interace struct

  @@ -2576,8 +2771,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 bd5282be..90940fdd 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 @@ -791,9 +791,9 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── NMLldpNeighbor
-    GObject
+    GObject
     ╰── NMObject
         ╰── NMDevice
             ├── NMDeviceAdsl
@@ -809,6 +809,10 @@
             ├── NMDeviceMacvlan
             ├── NMDeviceModem
             ├── NMDeviceOlpcMesh
+            ├── NMDeviceOvsBridge
+            ├── NMDeviceOvsInterface
+            ├── NMDeviceOvsPort
+            ├── NMDevicePpp
             ├── NMDeviceTeam
             ├── NMDeviceTun
             ├── NMDeviceVlan
@@ -821,7 +825,7 @@
 

Implemented Interfaces

NMDevice implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -1070,7 +1074,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.

@@ -1103,7 +1107,7 @@ nm_device_get_capabilities (

nm_device_get_managed ()

-
gboolean
+
gboolean
 nm_device_get_managed (NMDevice *device);

Whether the NMDevice is managed by NetworkManager.

@@ -1123,7 +1127,7 @@ nm_device_get_managed (

Returns

-

TRUE if the device is managed by NetworkManager

+

TRUE if the device is managed by NetworkManager


@@ -1131,7 +1135,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.

Parameters

@@ -1149,7 +1153,7 @@ nm_device_set_managed (

managed

-

TRUE to make the device managed by NetworkManager.

+

TRUE to make the device managed by NetworkManager.

  @@ -1160,7 +1164,7 @@ nm_device_set_managed (

nm_device_get_autoconnect ()

-
gboolean
+
gboolean
 nm_device_get_autoconnect (NMDevice *device);

Whether the NMDevice can be autoconnected.

@@ -1180,7 +1184,7 @@ nm_device_get_autoconnect (

Returns

-

TRUE if the device is allowed to be autoconnected

+

TRUE if the device is allowed to be autoconnected


@@ -1188,7 +1192,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

@@ -1206,7 +1210,7 @@ nm_device_set_autoconnect (

autoconnect

-

TRUE to enable autoconnecting

+

TRUE to enable autoconnecting

  @@ -1216,7 +1220,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.

@@ -1237,14 +1241,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.

@@ -1264,7 +1268,7 @@ nm_device_get_nm_plugin_missing (

Returns

-

TRUE if the device plugin not installed.

+

TRUE if the device plugin not installed.

Since: 1.2

@@ -1293,7 +1297,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]

@@ -1323,7 +1327,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]

@@ -1353,7 +1357,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]

@@ -1382,7 +1386,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]

@@ -1462,7 +1466,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]

@@ -1470,7 +1474,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 @@ -1492,7 +1496,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]

@@ -1503,7 +1507,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.)

@@ -1524,7 +1528,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.

@@ -1532,7 +1536,7 @@ must not be modified.


nm_device_get_mtu ()

-
guint32
+
guint32
 nm_device_get_mtu (NMDevice *device);

Gets the MTU of the NMDevice.

@@ -1558,7 +1562,7 @@ nm_device_get_mtu (

nm_device_is_real ()

-
gboolean
+
gboolean
 nm_device_is_real (NMDevice *device);

Parameters

@@ -1577,7 +1581,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.

@@ -1586,7 +1590,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.

@@ -1606,8 +1610,8 @@ nm_device_is_software (

Returns

-

TRUE if device -is a software device, FALSE if it is a hardware device.

+

TRUE if device +is a software device, FALSE if it is a hardware device.


@@ -1636,7 +1640,7 @@ nm_device_get_product (g_strcompress(), however the result may not be valid UTF-8.

+can be reverted with
g_strcompress(), however the result may not be valid UTF-8.


@@ -1665,7 +1669,7 @@ nm_device_get_vendor (g_strcompress(), however the result may not be valid UTF-8.

+can be reverted with
g_strcompress(), however the result may not be valid UTF-8.


@@ -1727,7 +1731,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.

@@ -1747,7 +1751,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.

@@ -1796,13 +1800,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.

@@ -1821,7 +1825,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

  @@ -1838,12 +1842,12 @@ catch concurrent accesses.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1851,7 +1855,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

@@ -1862,11 +1866,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.

@@ -1885,7 +1889,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

  @@ -1902,7 +1906,7 @@ catch concurrent accesses.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -1924,10 +1928,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

@@ -1945,12 +1949,12 @@ nm_device_reapply_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1958,7 +1962,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

@@ -1968,10 +1972,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

@@ -2000,12 +2004,12 @@ the applied connection.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -2014,7 +2018,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]

@@ -2027,11 +2031,11 @@ to void nm_device_get_applied_connection_async (NMDevice *device, - guint32 flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -

Asynchronously begins an get the a currently applied connection.

+ guint32 flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +

Asynchronously begins and gets the currently applied connection.

Parameters

@@ -2053,7 +2057,7 @@ nm_device_get_applied_connection_async - + @@ -2078,9 +2082,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().

Parameters

@@ -2098,7 +2102,7 @@ nm_device_get_applied_connection_finish
- + @@ -2109,7 +2113,7 @@ connection.

- + @@ -2117,7 +2121,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().

@@ -2128,10 +2132,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.

@@ -2151,12 +2155,12 @@ request.

- + - + @@ -2164,7 +2168,7 @@ request.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -2173,9 +2177,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.

@@ -2195,7 +2199,7 @@ manual network connection request.

- + @@ -2216,10 +2220,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

@@ -2237,12 +2241,12 @@ nm_device_disconnect_finish (

result

-
+ - + @@ -2250,17 +2254,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

@@ -2278,12 +2282,12 @@ nm_device_delete (

cancellable

-
+ - + @@ -2291,7 +2295,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.

@@ -2300,9 +2304,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.

@@ -2321,7 +2325,7 @@ be deleted.

- + @@ -2342,10 +2346,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

@@ -2363,12 +2367,12 @@ nm_device_delete_finish (

result

-
+ - + @@ -2376,16 +2380,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 @@ -2423,14 +2427,14 @@ incompatible with the device. To get the full list of connections see

an array of 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 @@ -2467,17 +2471,17 @@ against

Returns

-

TRUE if the connection may be activated with this device, FALSE +

TRUE if the connection may be activated with this device, FALSE if is incompatible with the device's capabilities and characteristics.


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 @@ -2512,7 +2516,7 @@ against

- + @@ -2520,14 +2524,14 @@ against

Returns

-

TRUE if the connection may be activated with this device, FALSE +

TRUE if the connection may be activated with this device, FALSE if is incompatible with the device's capabilities and characteristics.


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 @@ -2637,7 +2641,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

@@ -2645,7 +2649,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,
@@ -2682,18 +2686,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

@@ -2726,15 +2730,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.

@@ -2762,7 +2766,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

@@ -2948,7 +2952,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

@@ -2956,7 +2960,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

@@ -2993,7 +2997,7 @@ nm_lldp_neighbor_get_attr_type (

The “driver” property

-
  “driver”                   gchar *
+
  “driver”                   gchar *

The driver of the device.

Flags: Read

Default value: NULL

@@ -3001,7 +3005,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

@@ -3009,8 +3013,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

@@ -3018,7 +3022,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

@@ -3026,7 +3030,7 @@ for its operation.


The “interface” property

-
  “interface”                gchar *
+
  “interface”                gchar *

The interface of the device.

Flags: Read

Default value: NULL

@@ -3034,7 +3038,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

@@ -3057,14 +3061,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

@@ -3072,7 +3076,7 @@ operations like addressing and routing.


The “metered” property

-
  “metered”                  guint
+
  “metered”                  guint

Whether the device is metered.

Flags: Read

Default value: 0

@@ -3081,7 +3085,7 @@ operations like addressing and routing.


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

The MTU of the device.

Flags: Read

Default value: 1500

@@ -3089,8 +3093,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

@@ -3099,7 +3103,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

@@ -3108,7 +3112,7 @@ is not installed.


The “product” property

-
  “product”                  gchar *
+
  “product”                  gchar *

The product string of the device.

Flags: Read

Default value: NULL

@@ -3116,7 +3120,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.

@@ -3135,7 +3139,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

@@ -3143,7 +3147,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) @@ -3156,7 +3160,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

@@ -3168,10 +3172,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.

Parameters

@@ -3210,7 +3214,7 @@ user_function (

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

error

return location for a GError, or NULL

return location for a GError, or NULL

 
-

Flags: Run First

+

Flags: Run First

diff --git a/docs/libnm/html/NMDeviceAdsl.html b/docs/libnm/html/NMDeviceAdsl.html index c4cd4a58..c43bbbc3 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.

@@ -126,7 +126,7 @@ nm_device_adsl_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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 2870d64a..14f870e9 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.

@@ -191,13 +191,13 @@ nm_device_bond_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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 54255c71..1aeadba6 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.

@@ -191,13 +191,13 @@ nm_device_bridge_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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 79d36a83..e0dfbccd 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/NMDeviceDummy.html b/docs/libnm/html/NMDeviceDummy.html index b6f81170..3e4d779b 100644 --- a/docs/libnm/html/NMDeviceDummy.html +++ b/docs/libnm/html/NMDeviceDummy.html @@ -17,7 +17,8 @@ Top  |  Description  |  Object Hierarchy  |  - Implemented Interfaces + Implemented Interfaces  |  + Properties Home Up @@ -34,21 +35,59 @@
+

Functions

+
++++ + + + + +
const char * + +nm_device_dummy_get_hw_address () +
+
+
+

Properties

+
+++++ + + + + + +
+gchar *hw-addressRead
+
+

Types and Values

- + + + + + + - + +
#defineNM_DEVICE_DUMMY_HW_ADDRESS
  NMDeviceDummy

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDevice
             ╰── NMDeviceDummy
@@ -58,22 +97,65 @@
 

Implemented Interfaces

NMDeviceDummy implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

Functions

-

+
+

nm_device_dummy_get_hw_address ()

+
const char *
+nm_device_dummy_get_hw_address (NMDeviceDummy *device);
+

Gets the hardware (MAC) address of the NMDeviceDummy

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceDummy

 
+
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+
+

Since: 1.10

+

Types and Values

+

NM_DEVICE_DUMMY_HW_ADDRESS

+
#define NM_DEVICE_DUMMY_HW_ADDRESS  "hw-address"
+
+
+
+

NMDeviceDummy

typedef struct _NMDeviceDummy NMDeviceDummy;
+
+

Property Details

+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

The active hardware (MAC) address of the device.

+

Flags: Read

+

Default value: NULL

+

Since: 1.10

+
+
diff --git a/docs/libnm/html/NMDeviceEthernet.html b/docs/libnm/html/NMDeviceEthernet.html index 3b69db6f..d160db6f 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.

@@ -278,7 +278,7 @@ nm_device_ethernet_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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 b01f3880..75e1c785 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 c8b90517..84dd605f 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 3c3606e2..111c9d22 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.

@@ -174,7 +174,7 @@ nm_device_infiniband_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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/NMDeviceMacsec.html b/docs/libnm/html/NMDeviceMacsec.html index afe6d691..c6670e1f 100644 --- a/docs/libnm/html/NMDeviceMacsec.html +++ b/docs/libnm/html/NMDeviceMacsec.html @@ -59,7 +59,7 @@ -guint64 +guint64 nm_device_macsec_get_sci () @@ -67,7 +67,7 @@ -guint8 +guint8 nm_device_macsec_get_icv_length () @@ -75,7 +75,7 @@ -guint64 +guint64 nm_device_macsec_get_cipher_suite () @@ -83,7 +83,7 @@ -guint +guint nm_device_macsec_get_window () @@ -91,7 +91,7 @@ -guint8 +guint8 nm_device_macsec_get_encoding_sa () @@ -106,7 +106,7 @@ -gboolean +gboolean nm_device_macsec_get_encrypt () @@ -114,7 +114,7 @@ -gboolean +gboolean nm_device_macsec_get_protect () @@ -122,7 +122,7 @@ -gboolean +gboolean nm_device_macsec_get_include_sci () @@ -130,7 +130,7 @@ -gboolean +gboolean nm_device_macsec_get_es () @@ -138,7 +138,7 @@ -gboolean +gboolean nm_device_macsec_get_scb () @@ -146,7 +146,7 @@ -gboolean +gboolean nm_device_macsec_get_replay_protect () @@ -165,38 +165,38 @@ -guint64 +guint64 cipher-suite Read -guchar +guchar encoding-sa Read -gboolean +gboolean encrypt Read -gboolean +gboolean es Read -gchar * +gchar * hw-address Read -guchar +guchar icv-length Read -gboolean +gboolean include-sci Read @@ -207,33 +207,33 @@ Read -gboolean +gboolean protect Read -gboolean +gboolean replay-protect Read -gboolean +gboolean scb Read -guint64 +guint64 sci Read -gchar * +gchar * validation Read -guint +guint window Read @@ -313,7 +313,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDevice
             ╰── NMDeviceMacsec
@@ -323,7 +323,7 @@
 

Implemented Interfaces

NMDeviceMacsec implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -387,7 +387,7 @@ device, and must not be modified.


nm_device_macsec_get_sci ()

-
guint64
+
guint64
 nm_device_macsec_get_sci (NMDeviceMacsec *device);

Gets the Secure Channel Identifier in use

@@ -414,7 +414,7 @@ nm_device_macsec_get_sci (

nm_device_macsec_get_icv_length ()

-
guint8
+
guint8
 nm_device_macsec_get_icv_length (NMDeviceMacsec *device);

Gets the length of ICV (Integrity Check Value)

@@ -441,7 +441,7 @@ nm_device_macsec_get_icv_length (

nm_device_macsec_get_cipher_suite ()

-
guint64
+
guint64
 nm_device_macsec_get_cipher_suite (NMDeviceMacsec *device);

Gets the set of cryptographic algorithms in use

@@ -468,7 +468,7 @@ nm_device_macsec_get_cipher_suite (

nm_device_macsec_get_window ()

-
guint
+
guint
 nm_device_macsec_get_window (NMDeviceMacsec *device);

Gets the size of the replay window

@@ -495,7 +495,7 @@ nm_device_macsec_get_window (

nm_device_macsec_get_encoding_sa ()

-
guint8
+
guint8
 nm_device_macsec_get_encoding_sa (NMDeviceMacsec *device);

Gets the value of the Association Number (0..3) for the Security Association in use.

@@ -551,7 +551,7 @@ disabled)


nm_device_macsec_get_encrypt ()

-
gboolean
+
gboolean
 nm_device_macsec_get_encrypt (NMDeviceMacsec *device);

Gets whether encryption of transmitted frames is enabled

@@ -578,7 +578,7 @@ nm_device_macsec_get_encrypt (

nm_device_macsec_get_protect ()

-
gboolean
+
gboolean
 nm_device_macsec_get_protect (NMDeviceMacsec *device);

Gets whether protection of transmitted frames is enabled

@@ -605,7 +605,7 @@ nm_device_macsec_get_protect (

nm_device_macsec_get_include_sci ()

-
gboolean
+
gboolean
 nm_device_macsec_get_include_sci (NMDeviceMacsec *device);

Gets whether the SCI is always included in SecTAG for transmitted frames

@@ -633,7 +633,7 @@ frames


nm_device_macsec_get_es ()

-
gboolean
+
gboolean
 nm_device_macsec_get_es (NMDeviceMacsec *device);

Gets whether the ES (End station) bit is enabled in SecTAG for transmitted frames

@@ -661,7 +661,7 @@ transmitted frames


nm_device_macsec_get_scb ()

-
gboolean
+
gboolean
 nm_device_macsec_get_scb (NMDeviceMacsec *device);

Gets whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames

@@ -689,7 +689,7 @@ SecTAG for transmitted frames


nm_device_macsec_get_replay_protect ()

-
gboolean
+
gboolean
 nm_device_macsec_get_replay_protect (NMDeviceMacsec *device);

Gets whether replay protection is enabled

@@ -809,7 +809,7 @@ nm_device_macsec_get_replay_protect (

Property Details

The “cipher-suite” property

-
  “cipher-suite”             guint64
+
  “cipher-suite”             guint64

The set of cryptographic algorithms in use.

Flags: Read

Default value: 0

@@ -818,7 +818,7 @@ nm_device_macsec_get_replay_protect (

The “encoding-sa” property

-
  “encoding-sa”              guchar
+
  “encoding-sa”              guchar

The value of the Association Number (0..3) for the Security Association in use.

Flags: Read

@@ -828,7 +828,7 @@ Association in use.


The “encrypt” property

-
  “encrypt”                  gboolean
+
  “encrypt”                  gboolean

Whether encryption of transmitted frames is enabled.

Flags: Read

Default value: FALSE

@@ -837,7 +837,7 @@ Association in use.


The “es” property

-
  “es”                       gboolean
+
  “es”                       gboolean

Whether the ES (End station) bit is enabled in SecTAG for transmitted frames.

Flags: Read

@@ -847,7 +847,7 @@ transmitted frames.


The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL

@@ -856,7 +856,7 @@ transmitted frames.


The “icv-length” property

-
  “icv-length”               guchar
+
  “icv-length”               guchar

The length of ICV (Integrity Check Value).

Flags: Read

Default value: 0

@@ -865,7 +865,7 @@ transmitted frames.


The “include-sci” property

-
  “include-sci”              gboolean
+
  “include-sci”              gboolean

Whether the SCI is always included in SecTAG for transmitted frames.

Flags: Read

@@ -883,7 +883,7 @@ frames.


The “protect” property

-
  “protect”                  gboolean
+
  “protect”                  gboolean

Whether protection of transmitted frames is enabled.

Flags: Read

Default value: FALSE

@@ -892,7 +892,7 @@ frames.


The “replay-protect” property

-
  “replay-protect”           gboolean
+
  “replay-protect”           gboolean

Whether replay protection is enabled.

Flags: Read

Default value: FALSE

@@ -901,7 +901,7 @@ frames.


The “scb” property

-
  “scb”                      gboolean
+
  “scb”                      gboolean

Whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames.

Flags: Read

@@ -911,7 +911,7 @@ SecTAG for transmitted frames.


The “sci” property

-
  “sci”                      guint64
+
  “sci”                      guint64

The Secure Channel Identifier in use.

Flags: Read

Default value: 0

@@ -920,7 +920,7 @@ SecTAG for transmitted frames.


The “validation” property

-
  “validation”               gchar *
+
  “validation”               gchar *

The validation mode for incoming packets (strict, check, disabled).

Flags: Read

@@ -930,7 +930,7 @@ disabled).


The “window” property

-
  “window”                   guint
+
  “window”                   guint

The size of the replay window.

Flags: Read

Default value: 0

diff --git a/docs/libnm/html/NMDeviceMacvlan.html b/docs/libnm/html/NMDeviceMacvlan.html index adae7e11..17e803d2 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

-

TRUE if the device is a MACVTAP, FALSE if it is a MACVLAN.

+

TRUE if the device is a MACVTAP, FALSE if it is a MACVLAN.

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 7f9046b9..a7dae607 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 be5c2956..4bc58393 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.

Description

@@ -192,14 +192,14 @@ nm_device_olpc_mesh_get_companion (

Returns

-

the companion of the device of NULL.

+

the companion of the device of NULL.

[transfer none]


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 d7b78da6..ccf7441b 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.

@@ -208,13 +208,13 @@ nm_device_team_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if 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 eb87644a..d28acaba 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

-

TRUE if the device has the flag, FALSE otherwise

+

TRUE if the device has the flag, FALSE otherwise

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 (

Returns

-

TRUE if the device doesn't have the flag, FALSE otherwise

+

TRUE if the device doesn't have the flag, FALSE otherwise

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 b87b2254..f696e1aa 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.

Description

@@ -189,7 +189,7 @@ device, and must not be modified.


nm_device_vlan_get_carrier ()

-
gboolean
+
gboolean
 nm_device_vlan_get_carrier (NMDeviceVlan *device);

Whether the device has carrier.

@@ -209,7 +209,7 @@ nm_device_vlan_get_carrier (

Returns

-

TRUE if the device has carrier

+

TRUE if the device has carrier


@@ -241,7 +241,7 @@ nm_device_vlan_get_parent (

nm_device_vlan_get_vlan_id ()

-
guint
+
guint
 nm_device_vlan_get_vlan_id (NMDeviceVlan *device);

Parameters

@@ -299,7 +299,7 @@ nm_device_vlan_get_vlan_id (

Property Details

The “carrier” property

-
  “carrier”                  gboolean
+
  “carrier”                  gboolean

Whether the device has carrier.

Flags: Read

Default value: FALSE

@@ -307,7 +307,7 @@ nm_device_vlan_get_vlan_id (

The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL

@@ -322,7 +322,7 @@ nm_device_vlan_get_vlan_id (

The “vlan-id” property

-
  “vlan-id”                  guint
+
  “vlan-id”                  guint

The device's VLAN ID.

Flags: Read

Allowed values: <= 4095

diff --git a/docs/libnm/html/NMDeviceVxlan.html b/docs/libnm/html/NMDeviceVxlan.html index 2f841e07..b6533521 100644 --- a/docs/libnm/html/NMDeviceVxlan.html +++ b/docs/libnm/html/NMDeviceVxlan.html @@ -51,7 +51,7 @@ -gboolean +gboolean nm_device_vxlan_get_carrier () @@ -67,7 +67,7 @@ -guint +guint nm_device_vxlan_get_id () @@ -89,7 +89,7 @@ -guint +guint nm_device_vxlan_get_src_port_min () @@ -97,7 +97,7 @@ -guint +guint nm_device_vxlan_get_src_port_max () @@ -105,7 +105,7 @@ -guint +guint nm_device_vxlan_get_dst_port () @@ -113,7 +113,7 @@ -gboolean +gboolean nm_device_vxlan_get_learning () @@ -121,7 +121,7 @@ -guint +guint nm_device_vxlan_get_ageing () @@ -129,7 +129,7 @@ -guint +guint nm_device_vxlan_get_tos () @@ -137,7 +137,7 @@ -guint +guint nm_device_vxlan_get_ttl () @@ -145,7 +145,7 @@ -guint +guint nm_device_vxlan_get_limit () @@ -153,7 +153,7 @@ -gboolean +gboolean nm_device_vxlan_get_proxy () @@ -161,7 +161,7 @@ -gboolean +gboolean nm_device_vxlan_get_rsc () @@ -169,7 +169,7 @@ -gboolean +gboolean nm_device_vxlan_get_l2miss () @@ -177,7 +177,7 @@ -gboolean +gboolean nm_device_vxlan_get_l3miss () @@ -196,60 +196,60 @@ -guint +guint ageing Read -gboolean +gboolean carrier Read -guint +guint dst-port Read -gchar * +gchar * group Read -gchar * +gchar * hw-address Read -guint +guint id Read -gboolean +gboolean l2miss Read -gboolean +gboolean l3miss Read -gboolean +gboolean learning Read -guint +guint limit Read -gchar * +gchar * local Read @@ -260,32 +260,32 @@ Read -gboolean +gboolean proxy Read -gboolean +gboolean rsc Read -guint +guint src-port-max Read -guint +guint src-port-min Read -guchar +guchar tos Read -guchar +guchar ttl Read @@ -381,7 +381,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDevice
             ╰── NMDeviceVxlan
@@ -391,7 +391,7 @@
 

Implemented Interfaces

NMDeviceVxlan implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -428,7 +428,7 @@ device, and must not be modified.


nm_device_vxlan_get_carrier ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_carrier (NMDeviceVxlan *device);

Whether the device has carrier.

@@ -448,7 +448,7 @@ nm_device_vxlan_get_carrier (

Returns

-

TRUE if the device has carrier.

+

TRUE if the device has carrier.

Since: 1.2

@@ -482,7 +482,7 @@ nm_device_vxlan_get_parent (

nm_device_vxlan_get_id ()

-
guint
+
guint
 nm_device_vxlan_get_id (NMDeviceVxlan *device);

Parameters

@@ -561,7 +561,7 @@ nm_device_vxlan_get_local (

nm_device_vxlan_get_src_port_min ()

-
guint
+
guint
 nm_device_vxlan_get_src_port_min (NMDeviceVxlan *device);

Parameters

@@ -587,7 +587,7 @@ nm_device_vxlan_get_src_port_min (

nm_device_vxlan_get_src_port_max ()

-
guint
+
guint
 nm_device_vxlan_get_src_port_max (NMDeviceVxlan *device);

Parameters

@@ -613,7 +613,7 @@ nm_device_vxlan_get_src_port_max (

nm_device_vxlan_get_dst_port ()

-
guint
+
guint
 nm_device_vxlan_get_dst_port (NMDeviceVxlan *device);

Parameters

@@ -639,7 +639,7 @@ nm_device_vxlan_get_dst_port (

nm_device_vxlan_get_learning ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_learning (NMDeviceVxlan *device);

Parameters

@@ -665,7 +665,7 @@ nm_device_vxlan_get_learning (

nm_device_vxlan_get_ageing ()

-
guint
+
guint
 nm_device_vxlan_get_ageing (NMDeviceVxlan *device);

Parameters

@@ -691,7 +691,7 @@ nm_device_vxlan_get_ageing (

nm_device_vxlan_get_tos ()

-
guint
+
guint
 nm_device_vxlan_get_tos (NMDeviceVxlan *device);

Parameters

@@ -717,7 +717,7 @@ nm_device_vxlan_get_tos (

nm_device_vxlan_get_ttl ()

-
guint
+
guint
 nm_device_vxlan_get_ttl (NMDeviceVxlan *device);

Parameters

@@ -743,7 +743,7 @@ nm_device_vxlan_get_ttl (

nm_device_vxlan_get_limit ()

-
guint
+
guint
 nm_device_vxlan_get_limit (NMDeviceVxlan *device);

Parameters

@@ -770,7 +770,7 @@ forwarding table


nm_device_vxlan_get_proxy ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_proxy (NMDeviceVxlan *device);

Parameters

@@ -796,7 +796,7 @@ nm_device_vxlan_get_proxy (

nm_device_vxlan_get_rsc ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_rsc (NMDeviceVxlan *device);

Parameters

@@ -822,7 +822,7 @@ nm_device_vxlan_get_rsc (

nm_device_vxlan_get_l2miss ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_l2miss (NMDeviceVxlan *device);

Parameters

@@ -848,7 +848,7 @@ nm_device_vxlan_get_l2miss (

nm_device_vxlan_get_l3miss ()

-
gboolean
+
gboolean
 nm_device_vxlan_get_l3miss (NMDeviceVxlan *device);

Parameters

@@ -991,7 +991,7 @@ nm_device_vxlan_get_l3miss (

Property Details

The “ageing” property

-
  “ageing”                   guint
+
  “ageing”                   guint

The lifetime in seconds of FDB entries learnt by the kernel.

Flags: Read

Default value: 0

@@ -1000,7 +1000,7 @@ nm_device_vxlan_get_l3miss (

The “carrier” property

-
  “carrier”                  gboolean
+
  “carrier”                  gboolean

Whether the device has carrier.

Flags: Read

Default value: FALSE

@@ -1009,7 +1009,7 @@ nm_device_vxlan_get_l3miss (

The “dst-port” property

-
  “dst-port”                 guint
+
  “dst-port”                 guint

The UDP destination port used to communicate with the remote VXLAN tunnel endpoint.

Flags: Read

@@ -1020,7 +1020,7 @@ endpoint.


The “group” property

-
  “group”                    gchar *
+
  “group”                    gchar *

The unicast destination IP address used in outgoing packets when the destination link layer address is not known in the VXLAN device forwarding database or the multicast IP address joined.

@@ -1031,7 +1031,7 @@ forwarding database or the multicast IP address joined.


The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL

@@ -1040,7 +1040,7 @@ forwarding database or the multicast IP address joined.


The “id” property

-
  “id”                       guint
+
  “id”                       guint

The device's VXLAN ID.

Flags: Read

Allowed values: <= 16777215

@@ -1050,7 +1050,7 @@ forwarding database or the multicast IP address joined.


The “l2miss” property

-
  “l2miss”                   gboolean
+
  “l2miss”                   gboolean

Whether netlink LL ADDR miss notifications are generated.

Flags: Read

Default value: FALSE

@@ -1059,7 +1059,7 @@ forwarding database or the multicast IP address joined.


The “l3miss” property

-
  “l3miss”                   gboolean
+
  “l3miss”                   gboolean

Whether netlink IP ADDR miss notifications are generated.

Flags: Read

Default value: FALSE

@@ -1068,7 +1068,7 @@ forwarding database or the multicast IP address joined.


The “learning” property

-
  “learning”                 gboolean
+
  “learning”                 gboolean

Whether unknown source link layer addresses and IP addresses are entered into the VXLAN device forwarding database.

Flags: Read

@@ -1078,7 +1078,7 @@ into the VXLAN device forwarding database.


The “limit” property

-
  “limit”                    guint
+
  “limit”                    guint

The maximum number of entries that can be added to the forwarding table.

Flags: Read

Default value: 0

@@ -1087,7 +1087,7 @@ into the VXLAN device forwarding database.


The “local” property

-
  “local”                    gchar *
+
  “local”                    gchar *

The source IP address to use in outgoing packets.

Flags: Read

Default value: NULL

@@ -1104,7 +1104,7 @@ into the VXLAN device forwarding database.


The “proxy” property

-
  “proxy”                    gboolean
+
  “proxy”                    gboolean

Whether ARP proxy is turned on.

Flags: Read

Default value: FALSE

@@ -1113,7 +1113,7 @@ into the VXLAN device forwarding database.


The “rsc” property

-
  “rsc”                      gboolean
+
  “rsc”                      gboolean

Whether route short circuit is turned on.

Flags: Read

Default value: FALSE

@@ -1122,7 +1122,7 @@ into the VXLAN device forwarding database.


The “src-port-max” property

-
  “src-port-max”             guint
+
  “src-port-max”             guint

The maximum UDP source port used to communicate with the remote VXLAN tunnel endpoint.

Flags: Read

@@ -1133,7 +1133,7 @@ tunnel endpoint.


The “src-port-min” property

-
  “src-port-min”             guint
+
  “src-port-min”             guint

The minimum UDP source port used to communicate with the remote VXLAN tunnel endpoint.

Flags: Read

@@ -1144,7 +1144,7 @@ tunnel endpoint.


The “tos” property

-
  “tos”                      guchar
+
  “tos”                      guchar

The TOS value to use in outgoing packets.

Flags: Read

Default value: 0

@@ -1153,7 +1153,7 @@ tunnel endpoint.


The “ttl” property

-
  “ttl”                      guchar
+
  “ttl”                      guchar

The time-to-live value to use in outgoing packets.

Flags: Read

Default value: 0

diff --git a/docs/libnm/html/NMDeviceWifi.html b/docs/libnm/html/NMDeviceWifi.html index 02a0b206..522db515 100644 --- a/docs/libnm/html/NMDeviceWifi.html +++ b/docs/libnm/html/NMDeviceWifi.html @@ -67,7 +67,7 @@ -guint32 +guint32 nm_device_wifi_get_bitrate () @@ -98,7 +98,7 @@ -const GPtrArray * +const GPtrArray * nm_device_wifi_get_access_points () @@ -106,7 +106,7 @@ -gboolean +gboolean nm_device_wifi_request_scan () @@ -114,7 +114,7 @@ -gboolean +gboolean nm_device_wifi_request_scan_options () @@ -138,7 +138,7 @@ -gboolean +gboolean nm_device_wifi_request_scan_finish () @@ -158,7 +158,7 @@ -GPtrArray * +GPtrArray * access-points Read @@ -169,13 +169,13 @@ Read -guint +guint bitrate Read -gchar * +gchar * hw-address Read @@ -186,7 +186,7 @@ -gchar * +gchar * perm-hw-address Read @@ -210,12 +210,12 @@ void access-point-added -Run First +Run First void access-point-removed -Run First +Run First
@@ -265,7 +265,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDevice
             ╰── NMDeviceWifi
@@ -275,7 +275,7 @@
 

Implemented Interfaces

NMDeviceWifi implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -365,7 +365,7 @@ nm_device_wifi_get_mode (

nm_device_wifi_get_bitrate ()

-
guint32
+
guint32
 nm_device_wifi_get_bitrate (NMDeviceWifi *device);

Gets the bit rate of the NMDeviceWifi in kbit/s.

@@ -438,7 +438,7 @@ nm_device_wifi_get_active_access_point

Returns

-

the access point or NULL if none is active.

+

the access point or NULL if none is active.

[transfer none]

@@ -474,14 +474,14 @@ nm_device_wifi_get_access_point_by_path

Returns

-

the access point or NULL if none is found.

+

the access point or NULL if none is found.

[transfer none]


nm_device_wifi_get_access_points ()

-
const GPtrArray *
+
const GPtrArray *
 nm_device_wifi_get_access_points (NMDeviceWifi *device);

Gets all the scanned access points of the NMDeviceWifi.

@@ -501,7 +501,7 @@ nm_device_wifi_get_access_points (

Returns

-

a GPtrArray containing all the +

a GPtrArray containing all the scanned NMAccessPoints. The returned array is owned by the client and should not be modified.

[element-type NMAccessPoint]

@@ -510,10 +510,10 @@ The returned array is owned by the client and should not be modified.


nm_device_wifi_request_scan ()

-
gboolean
+
gboolean
 nm_device_wifi_request_scan (NMDeviceWifi *device,
-                             GCancellable *cancellable,
-                             GError **error);
+ GCancellable *cancellable, + GError **error);

Request NM to scan for access points on device . Note that the function returns immediately after requesting the scan, and it may take some time @@ -534,12 +534,12 @@ after that for the scan to complete.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -547,7 +547,7 @@ after that for the scan to complete.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -555,11 +555,11 @@ set.


nm_device_wifi_request_scan_options ()

-
gboolean
+
gboolean
 nm_device_wifi_request_scan_options (NMDeviceWifi *device,
-                                     GVariant *options,
-                                     GCancellable *cancellable,
-                                     GError **error);
+ GVariant *options, + GCancellable *cancellable, + GError **error);

Request NM to scan for access points on device . Note that the function returns immediately after requesting the scan, and it may take some time @@ -586,17 +586,17 @@ D-Bus call. Valid otions inside the dictionary are:

options

-

dictionary with options for RequestScan(), or NULL

+

dictionary with options for RequestScan(), or NULL

 

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -604,7 +604,7 @@ D-Bus call. Valid otions inside the dictionary are:

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -615,9 +615,9 @@ set.

nm_device_wifi_request_scan_async ()

void
 nm_device_wifi_request_scan_async (NMDeviceWifi *device,
-                                   GCancellable *cancellable,
-                                   GAsyncReadyCallback callback,
-                                   gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Request NM to scan for access points on device . Note that callback will be @@ -639,7 +639,7 @@ that for the scan to complete.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -663,10 +663,10 @@ that for the scan to complete.

void
 nm_device_wifi_request_scan_options_async
                                (NMDeviceWifi *device,
-                                GVariant *options,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ GVariant *options, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Request NM to scan for access points on device . Note that callback will be @@ -694,12 +694,12 @@ D-Bus call. Valid otions inside the dictionary are:

options

-

dictionary with options for RequestScan(), or NULL

+

dictionary with options for RequestScan(), or NULL

 

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -721,10 +721,10 @@ D-Bus call. Valid otions inside the dictionary are:

nm_device_wifi_request_scan_finish ()

-
gboolean
+
gboolean
 nm_device_wifi_request_scan_finish (NMDeviceWifi *device,
-                                    GAsyncResult *result,
-                                    GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_device_wifi_request_scan_async().

Parameters

@@ -742,12 +742,12 @@ nm_device_wifi_request_scan_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -755,7 +755,7 @@ nm_device_wifi_request_scan_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.

@@ -814,7 +814,7 @@ set.

Property Details

The “access-points” property

-
  “access-points”            GPtrArray *
+
  “access-points”            GPtrArray *

List of all Wi-Fi access points the device can see.

Element-type: NMAccessPoint

Flags: Read

@@ -829,7 +829,7 @@ set.


The “bitrate” property

-
  “bitrate”                  guint
+
  “bitrate”                  guint

The bit rate of the device in kbit/s.

Flags: Read

Default value: 0

@@ -837,7 +837,7 @@ set.


The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL

@@ -853,7 +853,7 @@ set.


The “perm-hw-address” property

-
  “perm-hw-address”          gchar *
+
  “perm-hw-address”          gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL

@@ -872,8 +872,8 @@ set.

The “access-point-added” signal

void
 user_function (NMDeviceWifi *device,
-               GObject      *ap,
-               gpointer      user_data)
+ GObject *ap, + gpointer user_data)

Notifies that a NMAccessPoint is added to the Wi-Fi device.

Parameters

@@ -902,15 +902,15 @@ user_function (
-

Flags: Run First

+

Flags: Run First


The “access-point-removed” signal

void
 user_function (NMDeviceWifi *device,
-               GObject      *ap,
-               gpointer      user_data)
+ GObject *ap, + gpointer user_data)

Notifies that a NMAccessPoint is removed from the Wi-Fi device.

Parameters

@@ -939,7 +939,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First

diff --git a/docs/libnm/html/NMDeviceWimax.html b/docs/libnm/html/NMDeviceWimax.html index 902b76d5..3322e8f7 100644 --- a/docs/libnm/html/NMDeviceWimax.html +++ b/docs/libnm/html/NMDeviceWimax.html @@ -67,7 +67,7 @@ -const GPtrArray * +const GPtrArray * nm_device_wimax_get_nsps () @@ -75,7 +75,7 @@ -guint +guint nm_device_wimax_get_center_frequency () @@ -83,7 +83,7 @@ -gint +gint nm_device_wimax_get_rssi () @@ -91,7 +91,7 @@ -gint +gint nm_device_wimax_get_cinr () @@ -99,7 +99,7 @@ -gint +gint nm_device_wimax_get_tx_power () @@ -132,39 +132,39 @@ -gchar * +gchar * bsid Read -guint +guint center-frequency Read -gint +gint cinr Read -gchar * +gchar * hw-address Read -GPtrArray * +GPtrArray * nsps Read -gint +gint rssi Read -gint +gint tx-power Read @@ -183,12 +183,12 @@ void nsp-added -Run First +Run First void nsp-removed -Run First +Run First
@@ -242,7 +242,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDevice
             ╰── NMDeviceWimax
@@ -252,7 +252,7 @@
 

Implemented Interfaces

NMDeviceWimax implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -316,7 +316,7 @@ nm_device_wimax_get_active_nsp (

Returns

-

the access point or NULL if none is active.

+

the access point or NULL if none is active.

[transfer full]

@@ -355,14 +355,14 @@ nm_device_wimax_get_nsp_by_path (

Returns

-

the access point or NULL if none is found.

+

the access point or NULL if none is found.

[transfer none]


nm_device_wimax_get_nsps ()

-
const GPtrArray *
+
const GPtrArray *
 nm_device_wimax_get_nsps (NMDeviceWimax *wimax);

nm_device_wimax_get_nsps has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -386,7 +386,7 @@ nm_device_wimax_get_nsps (

Returns

-

a GPtrArray containing +

a GPtrArray containing all the scanned NMWimaxNsps. The returned array is owned by the client and should not be modified.

[element-type NMWimaxNsp]

@@ -395,7 +395,7 @@ The returned array is owned by the client and should not be modified.


nm_device_wimax_get_center_frequency ()

-
guint
+
guint
 nm_device_wimax_get_center_frequency (NMDeviceWimax *self);

nm_device_wimax_get_center_frequency has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -427,7 +427,7 @@ device is not connected.


nm_device_wimax_get_rssi ()

-
gint
+
gint
 nm_device_wimax_get_rssi (NMDeviceWimax *self);

nm_device_wimax_get_rssi has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -460,7 +460,7 @@ device is not connected.


nm_device_wimax_get_cinr ()

-
gint
+
gint
 nm_device_wimax_get_cinr (NMDeviceWimax *self);

nm_device_wimax_get_cinr has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -492,7 +492,7 @@ meaning when the device is not connected.


nm_device_wimax_get_tx_power ()

-
gint
+
gint
 nm_device_wimax_get_tx_power (NMDeviceWimax *self);

nm_device_wimax_get_tx_power has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -548,7 +548,7 @@ nm_device_wimax_get_bsid (

Returns

-

the ID of the serving Base Station, or NULL

+

the ID of the serving Base Station, or NULL

@@ -622,7 +622,7 @@ nm_device_wimax_get_bsid (

The “bsid” property

-
  “bsid”                     gchar *
+
  “bsid”                     gchar *

The ID of the serving base station as received from the network. Has no meaning when the device is not connected.

@@ -635,7 +635,7 @@ no meaning when the device is not connected.


The “center-frequency” property

-
  “center-frequency”         guint
+
  “center-frequency”         guint

The center frequency (in KHz) of the radio channel the device is using to communicate with the network when connected. Has no meaning when the device is not connected.

@@ -649,7 +649,7 @@ device is not connected.


The “cinr” property

-
  “cinr”                     gint
+
  “cinr”                     gint

CINR (Carrier to Interference + Noise Ratio) of the current radio link in dB. CINR is a more accurate measure of radio link quality. Has no meaning when the device is not connected.

@@ -663,7 +663,7 @@ meaning when the device is not connected.


The “hw-address” property

-
  “hw-address”               gchar *
+
  “hw-address”               gchar *

The hardware (MAC) address of the device.

NMDeviceWimax:hw-address has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -675,7 +675,7 @@ meaning when the device is not connected.


The “nsps” property

-
  “nsps”                     GPtrArray *
+
  “nsps”                     GPtrArray *

List of all WiMAX Network Service Providers the device can see.

Element-type: NMWimaxNsp

Flags: Read

@@ -683,7 +683,7 @@ meaning when the device is not connected.


The “rssi” property

-
  “rssi”                     gint
+
  “rssi”                     gint

RSSI of the current radio link in dBm. This value indicates how strong the raw received RF signal from the base station is, but does not indicate the overall quality of the radio link. Has no meaning when the @@ -698,7 +698,7 @@ device is not connected.


The “tx-power” property

-
  “tx-power”                 gint
+
  “tx-power”                 gint

Average power of the last burst transmitted by the device, in units of 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of -5.5 dBm. Has no meaning when the device is not connected.

@@ -716,8 +716,8 @@ device is not connected.

The “nsp-added” signal

void
 user_function (NMDeviceWimax *self,
-               GObject       *nsp,
-               gpointer       user_data)
+ GObject *nsp, + gpointer user_data)

Notifies that a NMWimaxNsp is added to the wimax device.

NMDeviceWimax::nsp-added has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -750,15 +750,15 @@ user_function (<
-

Flags: Run First

+

Flags: Run First


The “nsp-removed” signal

void
 user_function (NMDeviceWimax *self,
-               GObject       *nsp,
-               gpointer       user_data)
+ GObject *nsp, + gpointer user_data)

Notifies that a NMWimaxNsp is removed from the wimax device.

NMDeviceWimax::nsp-removed has been deprecated since version 1.2 and should not be used in newly-written code.

@@ -791,7 +791,7 @@ user_function (<
-

Flags: Run First

+

Flags: Run First

diff --git a/docs/libnm/html/NMDhcpConfig.html b/docs/libnm/html/NMDhcpConfig.html index 1783fe5c..93ab4f8e 100644 --- a/docs/libnm/html/NMDhcpConfig.html +++ b/docs/libnm/html/NMDhcpConfig.html @@ -52,7 +52,7 @@ -GHashTable * +GHashTable * nm_dhcp_config_get_options () @@ -78,13 +78,13 @@ -gint +gint family Read -GHashTable * +GHashTable * options Read @@ -116,7 +116,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMDhcpConfig
 
@@ -125,7 +125,7 @@

Implemented Interfaces

NMDhcpConfig implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -161,7 +161,7 @@ nm_dhcp_config_get_family (

nm_dhcp_config_get_options ()

-
GHashTable *
+
GHashTable *
 nm_dhcp_config_get_options (NMDhcpConfig *config);

Gets all the options contained in the configuration.

@@ -181,7 +181,7 @@ nm_dhcp_config_get_options (

Returns

-

the GHashTable containing +

the GHashTable containing strings for keys and values. This is the internal copy used by the configuration, and must not be modified.

[transfer none][element-type utf8 utf8]

@@ -246,7 +246,7 @@ configuration, and must not be modified.

Property Details

The “family” property

-
  “family”                   gint
+
  “family”                   gint

The IP address family of the configuration; either AF_INET or AF_INET6.

Flags: Read

@@ -256,8 +256,8 @@ configuration, and must not be modified.


The “options” property

-
  “options”                  GHashTable *
-

The GHashTable containing options of the configuration.

+
  “options”                  GHashTable *
+

The GHashTable containing options of the configuration.

Type: GLib.HashTable(utf8,utf8)

Flags: Read

diff --git a/docs/libnm/html/NMIPConfig.html b/docs/libnm/html/NMIPConfig.html index 1282637c..2bc3d610 100644 --- a/docs/libnm/html/NMIPConfig.html +++ b/docs/libnm/html/NMIPConfig.html @@ -59,7 +59,7 @@ -GPtrArray * +GPtrArray * nm_ip_config_get_addresses () @@ -67,7 +67,7 @@ -GPtrArray * +GPtrArray * nm_ip_config_get_routes () @@ -115,44 +115,44 @@ -GPtrArray * +GPtrArray * addresses Read -GStrv +GStrv domains Read -gint +gint family Read -gchar * +gchar * gateway Read -GStrv +GStrv nameservers Read -GPtrArray * +GPtrArray * routes Read -GStrv +GStrv searches Read -GStrv +GStrv wins-servers Read @@ -208,7 +208,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMIPConfig
 
@@ -217,7 +217,7 @@

Implemented Interfaces

NMIPConfig implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -280,7 +280,7 @@ nm_ip_config_get_gateway (

nm_ip_config_get_addresses ()

-
GPtrArray *
+
GPtrArray *
 nm_ip_config_get_addresses (NMIPConfig *config);

Gets the IP addresses (containing the address, prefix, and gateway).

@@ -300,7 +300,7 @@ nm_ip_config_get_addresses (

Returns

-

the GPtrArray +

the GPtrArray containing NMIPAddresses. This is the internal copy used by the configuration 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.

@@ -310,7 +310,7 @@ returned array and thus it is safe for callers to reference and keep using it. <

nm_ip_config_get_routes ()

-
GPtrArray *
+
GPtrArray *
 nm_ip_config_get_routes (NMIPConfig *config);

Gets the routes.

@@ -330,7 +330,7 @@ nm_ip_config_get_routes (

Returns

-

the GPtrArray containing +

the GPtrArray containing NMIPRoutes. This is the internal copy used by the configuration, 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.

@@ -388,7 +388,7 @@ nm_ip_config_get_domains (

Returns

the array of domains. -(This is never NULL, though it may be 0-length).

+(This is never NULL, though it may be 0-length).

[transfer none]

@@ -416,7 +416,7 @@ nm_ip_config_get_searches (

Returns

the array of DNS search strings. -(This is never NULL, though it may be 0-length).

+(This is never NULL, though it may be 0-length).

[transfer none]

@@ -444,7 +444,7 @@ nm_ip_config_get_wins_servers (

Returns

the arry of WINS server IP address strings. -(This is never NULL, though it may be 0-length.).

+(This is never NULL, though it may be 0-length.).

[transfer none]

@@ -508,21 +508,21 @@ nm_ip_config_get_wins_servers (

Property Details

The “addresses” property

-
  “addresses”                GPtrArray *
-

A GPtrArray containing the addresses (NMIPAddress) of the configuration.

+
  “addresses”                GPtrArray *
+

A GPtrArray containing the addresses (NMIPAddress) of the configuration.

Flags: Read


The “domains” property

-
  “domains”                  GStrv
+
  “domains”                  GStrv

The array containing domain strings of the configuration.

Flags: Read


The “family” property

-
  “family”                   gint
+
  “family”                   gint

The IP address family of the configuration; either AF_INET or AF_INET6.

Flags: Read

@@ -532,7 +532,7 @@ nm_ip_config_get_wins_servers (

The “gateway” property

-
  “gateway”                  gchar *
+
  “gateway”                  gchar *

The IP gateway address of the configuration as string.

Flags: Read

Default value: NULL

@@ -540,28 +540,28 @@ nm_ip_config_get_wins_servers (

The “nameservers” property

-
  “nameservers”              GStrv
+
  “nameservers”              GStrv

The array containing name server IP addresses of the configuration.

Flags: Read


The “routes” property

-
  “routes”                   GPtrArray *
-

A GPtrArray containing the routes (NMIPRoute) of the configuration.

+
  “routes”                   GPtrArray *
+

A GPtrArray containing the routes (NMIPRoute) of the configuration.

Flags: Read


The “searches” property

-
  “searches”                 GStrv
+
  “searches”                 GStrv

The array containing DNS search strings of the configuration.

Flags: Read


The “wins-servers” property

-
  “wins-servers”             GStrv
+
  “wins-servers”             GStrv

The array containing WINS server IP addresses of the configuration. (This will always be empty for IPv6 configurations.)

Flags: Read

diff --git a/docs/libnm/html/NMObject.html b/docs/libnm/html/NMObject.html index c6fae01c..0bd269b9 100644 --- a/docs/libnm/html/NMObject.html +++ b/docs/libnm/html/NMObject.html @@ -61,25 +61,25 @@ -GDBusConnection * +GDBusConnection * dbus-connection Read -GDBusObject * +GDBusObject * dbus-object Write / Construct Only -GDBusObjectManager * +GDBusObjectManager * dbus-object-manager Write / Construct Only -gchar * +gchar * path Read @@ -115,7 +115,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ├── NMAccessPoint
         ├── NMActiveConnection
@@ -130,7 +130,7 @@
 

Implemented Interfaces

NMObject implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -193,31 +193,31 @@ object, and must not be modified.

Property Details

The “dbus-connection” property

-
  “dbus-connection”          GDBusConnection *
-

The GDBusConnection of the object.

+
  “dbus-connection”          GDBusConnection *
+

The GDBusConnection of the object.

[skip]

Flags: Read


The “dbus-object” property

-
  “dbus-object”              GDBusObject *
-

The GDBusObject of the object.

+
  “dbus-object”              GDBusObject *
+

The GDBusObject of the object.

[skip]

Flags: Write / Construct Only


The “dbus-object-manager” property

-
  “dbus-object-manager”      GDBusObjectManager *
-

The GDBusObjectManager of the object.

+
  “dbus-object-manager”      GDBusObjectManager *
+

The GDBusObjectManager of the object.

[skip]

Flags: Write / Construct Only


The “path” property

-
  “path”                     gchar *
+
  “path”                     gchar *

The D-Bus object path.

[skip]

Flags: Read

diff --git a/docs/libnm/html/NMRemoteConnection.html b/docs/libnm/html/NMRemoteConnection.html index 03b7753e..839ac5f0 100644 --- a/docs/libnm/html/NMRemoteConnection.html +++ b/docs/libnm/html/NMRemoteConnection.html @@ -44,7 +44,7 @@ -gboolean +gboolean nm_remote_connection_commit_changes () @@ -60,7 +60,7 @@ -gboolean +gboolean nm_remote_connection_commit_changes_finish () @@ -68,7 +68,7 @@ -gboolean +gboolean nm_remote_connection_save () @@ -84,7 +84,7 @@ -gboolean +gboolean nm_remote_connection_save_finish () @@ -92,7 +92,7 @@ -gboolean +gboolean nm_remote_connection_delete () @@ -108,7 +108,7 @@ -gboolean +gboolean nm_remote_connection_delete_finish () @@ -116,7 +116,7 @@ -GVariant * +GVariant * nm_remote_connection_get_secrets () @@ -132,7 +132,7 @@ -GVariant * +GVariant * nm_remote_connection_get_secrets_finish () @@ -140,7 +140,7 @@ -gboolean +gboolean nm_remote_connection_get_unsaved () @@ -148,7 +148,7 @@ -gboolean +gboolean nm_remote_connection_get_visible () @@ -167,12 +167,12 @@ -gboolean +gboolean unsaved Read -gboolean +gboolean visible Read @@ -212,7 +212,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMRemoteConnection
 
@@ -221,7 +221,7 @@

Implemented Interfaces

NMRemoteConnection implements - GInitable, GAsyncInitable and NMConnection.

+ GInitable, GAsyncInitable and NMConnection.

Description

@@ -230,16 +230,16 @@ NMRemoteConnection implements

Functions

nm_remote_connection_commit_changes ()

-
gboolean
+
gboolean
 nm_remote_connection_commit_changes (NMRemoteConnection *connection,
-                                     gboolean save_to_disk,
-                                     GCancellable *cancellable,
-                                     GError **error);
+ gboolean save_to_disk, + GCancellable *cancellable, + GError **error);

Send any local changes to the settings and properties of connection to NetworkManager. If save_to_disk - is TRUE, the updated connection will be saved to -disk; if FALSE, then only the in-memory representation will be changed.

+ is TRUE, the updated connection will be saved to +disk; if FALSE, then only the in-memory representation will be changed.

Parameters

@@ -261,12 +261,12 @@ disk; if FALSE, then only the in-memory representat - + - + @@ -274,7 +274,7 @@ disk; if FALSE, then only the in-memory representat

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -284,15 +284,15 @@ will be set.

void
 nm_remote_connection_commit_changes_async
                                (NMRemoteConnection *connection,
-                                gboolean save_to_disk,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ gboolean save_to_disk, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously sends any local changes to the settings and properties of connection to NetworkManager. If save - is TRUE, the updated connection will -be saved to disk; if FALSE, then only the in-memory representation will be + is TRUE, the updated connection will +be saved to disk; if FALSE, then only the in-memory representation will be changed.

Parameters

@@ -315,7 +315,7 @@ changed.

- + @@ -336,11 +336,11 @@ changed.


nm_remote_connection_commit_changes_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_commit_changes_finish
                                (NMRemoteConnection *connection,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_commit_changes_async().

Parameters

@@ -358,12 +358,12 @@ nm_remote_connection_commit_changes_finish
- + - + @@ -371,17 +371,17 @@ nm_remote_connection_commit_changes_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_remote_connection_save ()

-
gboolean
+
gboolean
 nm_remote_connection_save (NMRemoteConnection *connection,
-                           GCancellable *cancellable,
-                           GError **error);
+ GCancellable *cancellable, + GError **error);

Saves the connection to disk if the connection has changes that have not yet been written to disk, or if the connection has never been saved.

@@ -400,12 +400,12 @@ been written to disk, or if the connection has never been saved.

- + - + @@ -413,7 +413,7 @@ been written to disk, or if the connection has never been saved.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -422,9 +422,9 @@ will be set.

nm_remote_connection_save_async ()

void
 nm_remote_connection_save_async (NMRemoteConnection *connection,
-                                 GCancellable *cancellable,
-                                 GAsyncReadyCallback callback,
-                                 gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Saves the connection to disk if the connection has changes that have not yet been written to disk, or if the connection has never been saved.

@@ -443,7 +443,7 @@ been written to disk, or if the connection has never been saved.

- + @@ -464,10 +464,10 @@ been written to disk, or if the connection has never been saved.


nm_remote_connection_save_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_save_finish (NMRemoteConnection *connection,
-                                  GAsyncResult *result,
-                                  GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_save_async().

Parameters

@@ -485,12 +485,12 @@ nm_remote_connection_save_finish (
- + - + @@ -498,17 +498,17 @@ nm_remote_connection_save_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_remote_connection_delete ()

-
gboolean
+
gboolean
 nm_remote_connection_delete (NMRemoteConnection *connection,
-                             GCancellable *cancellable,
-                             GError **error);
+ GCancellable *cancellable, + GError **error);

Deletes the connection.

Parameters

@@ -526,12 +526,12 @@ nm_remote_connection_delete (

cancellable

-
+ - + @@ -539,7 +539,7 @@ nm_remote_connection_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.

@@ -548,9 +548,9 @@ will be set.

nm_remote_connection_delete_async ()

void
 nm_remote_connection_delete_async (NMRemoteConnection *connection,
-                                   GCancellable *cancellable,
-                                   GAsyncReadyCallback callback,
-                                   gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously deletes the connection.

Parameters

@@ -568,7 +568,7 @@ nm_remote_connection_delete_async (
- + @@ -589,10 +589,10 @@ nm_remote_connection_delete_async (

nm_remote_connection_delete_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_delete_finish (NMRemoteConnection *connection,
-                                    GAsyncResult *result,
-                                    GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_delete_async().

Parameters

@@ -610,12 +610,12 @@ nm_remote_connection_delete_finish (
- + - + @@ -623,18 +623,18 @@ nm_remote_connection_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_remote_connection_get_secrets ()

-
GVariant *
+
GVariant *
 nm_remote_connection_get_secrets (NMRemoteConnection *connection,
                                   const char *setting_name,
-                                  GCancellable *cancellable,
-                                  GError **error);
+ GCancellable *cancellable, + GError **error);

Request the connection's secrets. Note that this is a blocking D-Bus call, not a simple property accessor.

@@ -658,12 +658,12 @@ not a simple property accessor.

- + - + @@ -671,9 +671,9 @@ not a simple property accessor.

Returns

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing +

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing connection -'s secrets, or NULL on error.

+'s secrets, or NULL on error.


@@ -683,9 +683,9 @@ not a simple property accessor.

nm_remote_connection_get_secrets_async (NMRemoteConnection *connection, const char *setting_name, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously requests the connection's secrets.

Parameters

@@ -708,7 +708,7 @@ nm_remote_connection_get_secrets_async
- + @@ -729,11 +729,11 @@ nm_remote_connection_get_secrets_async

nm_remote_connection_get_secrets_finish ()

-
GVariant *
+
GVariant *
 nm_remote_connection_get_secrets_finish
                                (NMRemoteConnection *connection,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_get_secrets_async().

Parameters

@@ -751,12 +751,12 @@ nm_remote_connection_get_secrets_finish
- + - + @@ -764,16 +764,16 @@ nm_remote_connection_get_secrets_finish

Returns

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION +

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing connection -'s secrets, or NULL on error.

+'s secrets, or NULL on error.

[transfer full]


nm_remote_connection_get_unsaved ()

-
gboolean
+
gboolean
 nm_remote_connection_get_unsaved (NMRemoteConnection *connection);

Parameters

@@ -792,15 +792,15 @@ nm_remote_connection_get_unsaved (

Returns

-

TRUE if the remote connection contains changes that have not -been saved to disk, FALSE if the connection is the same as its on-disk +

TRUE if the remote connection contains changes that have not +been saved to disk, FALSE if the connection is the same as its on-disk representation.


nm_remote_connection_get_visible ()

-
gboolean
+
gboolean
 nm_remote_connection_get_visible (NMRemoteConnection *connection);

Checks if the connection is visible to the current user. If the connection is not visible then it is essentially useless; it will @@ -827,8 +827,8 @@ reference to it.)

Returns

-

TRUE if the remote connection is visible to the current -user, FALSE if not.

+

TRUE if the remote connection is visible to the current +user, FALSE if not.

@@ -867,17 +867,17 @@ user, FALSE if not.

Property Details

The “unsaved” property

-
  “unsaved”                  gboolean
-

TRUE if the remote connection contains changes that have not been saved -to disk, FALSE if the connection is the same as its on-disk representation.

+
  “unsaved”                  gboolean
+

TRUE if the remote connection contains changes that have not been saved +to disk, FALSE if the connection is the same as its on-disk representation.

Flags: Read

Default value: FALSE


The “visible” property

-
  “visible”                  gboolean
-

TRUE if the remote connection is visible to the current user, FALSE if +

  “visible”                  gboolean
+

TRUE if the remote connection is visible to the current user, FALSE if not. If the connection is not visible then it is essentially useless; it will not contain any settings, and operations such as nm_remote_connection_save() and nm_remote_connection_delete() will always diff --git a/docs/libnm/html/NMSecretAgentOld.html b/docs/libnm/html/NMSecretAgentOld.html index 8e11585e..45f7024f 100644 --- a/docs/libnm/html/NMSecretAgentOld.html +++ b/docs/libnm/html/NMSecretAgentOld.html @@ -68,7 +68,7 @@

- + @@ -170,12 +170,12 @@ +gchar * - + @@ -215,7 +215,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSecretAgentOld
 
@@ -223,7 +223,7 @@

Implemented Interfaces

NMSecretAgentOld implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -235,9 +235,9 @@ NMSecretAgentOld implements
void
 (*NMSecretAgentOldGetSecretsFunc) (NMSecretAgentOld *agent,
                                    NMConnection *connection,
-                                   GVariant *secrets,
-                                   GError *error,
-                                   gpointer user_data);
+ GVariant *secrets, + GError *error, + gpointer user_data);

Called as a result of a request by NM to retrieve secrets. When the NMSecretAgentOld subclass has finished retrieving secrets and is ready to return them, or to return an error, this function should be called with @@ -272,16 +272,16 @@ something like this:

secrets = nm_simple_connection_new (); s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new (); -g_object_set (G_OBJECT (s_wsec), +g_object_set (G_OBJECT (s_wsec), NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK", - NULL); + NULL); nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); secrets_dict = nm_connection_to_dbus (secrets, NM_CONNECTION_SERIALIZE_ALL); (call the NMSecretAgentOldGetSecretsFunc with secrets_dict) -g_object_unref (secrets); -g_variant_unref (secrets_dict); +g_object_unref (secrets); +g_variant_unref (secrets_dict);

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 
-gboolean +gboolean nm_secret_agent_old_register () @@ -84,7 +84,7 @@
-gboolean +gboolean nm_secret_agent_old_register_finish () @@ -92,7 +92,7 @@
-gboolean +gboolean nm_secret_agent_old_unregister () @@ -108,7 +108,7 @@
-gboolean +gboolean nm_secret_agent_old_unregister_finish () @@ -116,7 +116,7 @@
-gboolean +gboolean nm_secret_agent_old_get_registered () @@ -159,7 +159,7 @@
gbooleangboolean auto-register Read / Write / Construct
-gchar *identifier Read / Write / Construct Only
gbooleangboolean registered Read
@@ -306,13 +306,13 @@ something like this:

connection

the connection for which secrets were requested, note that this object will be unrefed after the callback has returned, use -g_object_ref()/g_object_unref() if you want to use this object after the callback +g_object_ref()/g_object_unref() if you want to use this object after the callback has returned.

[transfer none]

secrets

-

the GVariant of type NM_VARIANT_TYPE_CONNECTION containing the requested +

the GVariant of type NM_VARIANT_TYPE_CONNECTION containing the requested secrets (as created by nm_connection_to_dbus() for example). Each key in secrets should be the name of a NMSetting object (like "802-11-wireless-security") and each value should be an NM_VARIANT_TYPE_SETTING variant. The sub-dicts @@ -340,8 +340,8 @@ and the value is the secret

void
 (*NMSecretAgentOldSaveSecretsFunc) (NMSecretAgentOld *agent,
                                     NMConnection *connection,
-                                    GError *error,
-                                    gpointer user_data);
+ GError *error, + gpointer user_data);

Called as a result of a request by NM to save secrets. When the NMSecretAgentOld subclass has finished saving the secrets, this function should be called.

@@ -363,7 +363,7 @@ should be called.

connection

the connection for which secrets were to be saved, note that this object will be unrefed after the callback has returned, use -g_object_ref()/g_object_unref() if you want to use this object after the callback +g_object_ref()/g_object_unref() if you want to use this object after the callback has returned.

[transfer none] @@ -387,8 +387,8 @@ has returned.

void
 (*NMSecretAgentOldDeleteSecretsFunc) (NMSecretAgentOld *agent,
                                       NMConnection *connection,
-                                      GError *error,
-                                      gpointer user_data);
+ GError *error, + gpointer user_data);

Called as a result of a request by NM to delete secrets. When the NMSecretAgentOld subclass has finished deleting the secrets, this function should be called.

@@ -410,7 +410,7 @@ should be called.

connection

the connection for which secrets were to be deleted, note that this object will be unrefed after the callback has returned, use -g_object_ref()/g_object_unref() if you want to use this object after the callback +g_object_ref()/g_object_unref() if you want to use this object after the callback has returned.

[transfer none] @@ -431,10 +431,10 @@ has returned.


nm_secret_agent_old_register ()

-
gboolean
+
gboolean
 nm_secret_agent_old_register (NMSecretAgentOld *self,
-                              GCancellable *cancellable,
-                              GError **error);
+ GCancellable *cancellable, + GError **error);

Registers the NMSecretAgentOld with the NetworkManager secret manager, indicating to NetworkManager that the agent is able to provide and save secrets for connections on behalf of its user.

@@ -456,12 +456,12 @@ registered, or in the process of registering.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

return location for a GError, or NULL

+

return location for a GError, or NULL

  @@ -469,7 +469,7 @@ registered, or in the process of registering.

Returns

-

TRUE if registration was successful, FALSE on error.

+

TRUE if registration was successful, FALSE on error.


@@ -477,9 +477,9 @@ registered, or in the process of registering.

nm_secret_agent_old_register_async ()

void
 nm_secret_agent_old_register_async (NMSecretAgentOld *self,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously registers the NMSecretAgentOld with the NetworkManager secret manager, indicating to NetworkManager that the agent is able to provide and save secrets for connections on behalf of its user.

@@ -501,7 +501,7 @@ registered, or in the process of registering.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -522,10 +522,10 @@ registered, or in the process of registering.


nm_secret_agent_old_register_finish ()

-
gboolean
+
gboolean
 nm_secret_agent_old_register_finish (NMSecretAgentOld *self,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_secret_agent_old_register_async().

Parameters

@@ -543,12 +543,12 @@ nm_secret_agent_old_register_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

return location for a GError, or NULL

+

return location for a GError, or NULL

  @@ -556,16 +556,16 @@ nm_secret_agent_old_register_finish (

Returns

-

TRUE if registration was successful, FALSE on error.

+

TRUE if registration was successful, FALSE on error.


nm_secret_agent_old_unregister ()

-
gboolean
+
gboolean
 nm_secret_agent_old_unregister (NMSecretAgentOld *self,
-                                GCancellable *cancellable,
-                                GError **error);
+ GCancellable *cancellable, + GError **error);

Unregisters the NMSecretAgentOld with the NetworkManager secret manager, indicating to NetworkManager that the agent will no longer provide or store secrets on behalf of this user.

@@ -585,12 +585,12 @@ store secrets on behalf of this user.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

return location for a GError, or NULL

+

return location for a GError, or NULL

  @@ -598,7 +598,7 @@ store secrets on behalf of this user.

Returns

-

TRUE if unregistration was successful, FALSE on error

+

TRUE if unregistration was successful, FALSE on error


@@ -606,9 +606,9 @@ store secrets on behalf of this user.

nm_secret_agent_old_unregister_async ()

void
 nm_secret_agent_old_unregister_async (NMSecretAgentOld *self,
-                                      GCancellable *cancellable,
-                                      GAsyncReadyCallback callback,
-                                      gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously unregisters the NMSecretAgentOld with the NetworkManager secret manager, indicating to NetworkManager that the agent will no longer provide or store secrets on behalf of this user.

@@ -628,7 +628,7 @@ or store secrets on behalf of this user.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -649,10 +649,10 @@ or store secrets on behalf of this user.


nm_secret_agent_old_unregister_finish ()

-
gboolean
+
gboolean
 nm_secret_agent_old_unregister_finish (NMSecretAgentOld *self,
-                                       GAsyncResult *result,
-                                       GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_secret_agent_old_unregister_async().

Parameters

@@ -670,12 +670,12 @@ nm_secret_agent_old_unregister_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

return location for a GError, or NULL

+

return location for a GError, or NULL

  @@ -683,13 +683,13 @@ nm_secret_agent_old_unregister_finish (

Returns

-

TRUE if unregistration was successful, FALSE on error.

+

TRUE if unregistration was successful, FALSE on error.


nm_secret_agent_old_get_registered ()

-
gboolean
+
gboolean
 nm_secret_agent_old_get_registered (NMSecretAgentOld *self);

Parameters

@@ -708,7 +708,7 @@ nm_secret_agent_old_get_registered (

Returns

-

a TRUE if the agent is registered, FALSE if it is not.

+

a TRUE if the agent is registered, FALSE if it is not.


@@ -721,7 +721,7 @@ nm_secret_agent_old_get_secrets (const char **hints, NMSecretAgentGetSecretsFlags flags, NMSecretAgentOldGetSecretsFunc callback, - gpointer user_data);
+ gpointer user_data);

Asynchronously retrieves secrets belonging to connection for the setting setting_name @@ -787,7 +787,7 @@ secrets from the user.

nm_secret_agent_old_save_secrets (NMSecretAgentOld *self, NMConnection *connection, NMSecretAgentOldSaveSecretsFunc callback, - gpointer user_data);
+ gpointer user_data);

Asynchronously ensures that all secrets inside connection are stored to disk.

@@ -833,7 +833,7 @@ disk.

nm_secret_agent_old_delete_secrets (NMSecretAgentOld *self, NMConnection *connection, NMSecretAgentOldDeleteSecretsFunc callback, - gpointer user_data);
+ gpointer user_data);

Asynchronously asks the agent to delete all saved secrets belonging to connection .

@@ -908,15 +908,15 @@ nm_secret_agent_old_delete_secrets (

Property Details

The “auto-register” property

-
  “auto-register”            gboolean
-

If TRUE (the default), the agent will always be registered when +

  “auto-register”            gboolean
+

If TRUE (the default), the agent will always be registered when NetworkManager is running; if NetworkManager exits and restarts, the agent will re-register itself automatically.

-

In particular, if this property is TRUE at construct time, then the +

In particular, if this property is TRUE at construct time, then the agent will register itself with NetworkManager during construction/initialization, and initialization will fail with an error if the agent is unable to register itself.

-

If the property is FALSE, the agent will not automatically register with +

If the property is FALSE, the agent will not automatically register with NetworkManager, and nm_secret_agent_old_register() or nm_secret_agent_old_register_async() must be called to register it.

Calling nm_secret_agent_old_unregister() will suppress auto-registration @@ -936,7 +936,7 @@ you expect it to be unregistered.


The “identifier” property

-
  “identifier”               gchar *
+
  “identifier”               gchar *

Identifies this agent; only one agent in each user session may use the same identifier. Identifier formatting follows the same rules as D-Bus bus names with the exception that the ':' character is not @@ -950,8 +950,8 @@ of 3 characters. An example valid identifier is 'org.gnome.nm-applet'


The “registered” property

-
  “registered”               gboolean
-

TRUE if the agent is registered with NetworkManager, FALSE if not.

+
  “registered”               gboolean
+

TRUE if the agent is registered with NetworkManager, FALSE if not.

Flags: Read

Default value: FALSE

diff --git a/docs/libnm/html/NMSetting.html b/docs/libnm/html/NMSetting.html index ad551841..a56add03 100644 --- a/docs/libnm/html/NMSetting.html +++ b/docs/libnm/html/NMSetting.html @@ -43,7 +43,7 @@ -gboolean +gboolean (*NMSettingClearSecretsWithFlagsFn) () @@ -59,7 +59,7 @@ -GType +GType nm_setting_lookup_type () @@ -82,7 +82,7 @@ -gboolean +gboolean nm_setting_verify () @@ -90,7 +90,7 @@ -gboolean +gboolean nm_setting_verify_secrets () @@ -98,7 +98,7 @@ -gboolean +gboolean nm_setting_compare () @@ -106,7 +106,7 @@ -gboolean +gboolean nm_setting_diff () @@ -130,7 +130,7 @@ -gboolean +gboolean nm_setting_get_secret_flags () @@ -138,14 +138,14 @@ -gboolean +gboolean nm_setting_set_secret_flags () -const GVariantType * +const GVariantType * nm_setting_get_dbus_property_type () @@ -164,7 +164,7 @@ -gchar * +gchar * name Read @@ -219,13 +219,13 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMSettingCompareFlags
     ├── NMSettingDiffResult
     ╰── NMSettingMacRandomization
-    GFlags
+    GFlags
     ╰── NMSettingSecretFlags
-    GObject
+    GObject
     ╰── NMSetting
         ├── NMSetting8021x
         ├── NMSettingAdsl
@@ -245,6 +245,10 @@
         ├── NMSettingMacsec
         ├── NMSettingMacvlan
         ├── NMSettingOlpcMesh
+        ├── NMSettingOvsBridge
+        ├── NMSettingOvsInterface
+        ├── NMSettingOvsPatch
+        ├── NMSettingOvsPort
         ├── NMSettingPpp
         ├── NMSettingPppoe
         ├── NMSettingProxy
@@ -275,11 +279,11 @@ of properties and allowed values.

Functions

NMSettingClearSecretsWithFlagsFn ()

-
gboolean
+
gboolean
 (*NMSettingClearSecretsWithFlagsFn) (NMSetting *setting,
                                      const char *secret,
                                      NMSettingSecretFlags flags,
-                                     gpointer user_data);
+ gpointer user_data);

Parameters

@@ -314,7 +318,7 @@ of properties and allowed values.

Returns

-

TRUE to clear the secret, FALSE to not clear the secret

+

TRUE to clear the secret, FALSE to not clear the secret


@@ -323,9 +327,9 @@ of properties and allowed values.

void
 (*NMSettingValueIterFn) (NMSetting *setting,
                          const char *key,
-                         const GValue *value,
-                         GParamFlags flags,
-                         gpointer user_data);
+ const GValue *value, + GParamFlags flags, + gpointer user_data);

Parameters

@@ -368,9 +372,9 @@ of properties and allowed values.


nm_setting_lookup_type ()

-
GType
+
GType
 nm_setting_lookup_type (const char *name);
-

Returns the GType of the setting's class for a given setting name.

+

Returns the GType of the setting's class for a given setting name.

Parameters

@@ -388,7 +392,7 @@ nm_setting_lookup_type (const cha

Returns

-

the GType of the setting's class, or G_TYPE_INVALID if +

the GType of the setting's class, or G_TYPE_INVALID if name is not recognized.

@@ -451,14 +455,14 @@ like 'ppp' or 'wireless' or 'wired'.


nm_setting_verify ()

-
gboolean
+
gboolean
 nm_setting_verify (NMSetting *setting,
                    NMConnection *connection,
-                   GError **error);
+ GError **error);

Validates the setting. Each setting's properties have allowed values, and some are dependent on other values (hence the need for connection ). The -returned GError contains information about which property of the setting +returned GError contains information about which property of the setting failed validation, and in what way that property failed validation.

Parameters

@@ -478,13 +482,13 @@ failed validation, and in what way that property failed validation.

- + @@ -492,18 +496,18 @@ is being verified in isolation.

Returns

-

TRUE if the setting is valid, FALSE if it is not

+

TRUE if the setting is valid, FALSE if it is not


nm_setting_verify_secrets ()

-
gboolean
+
gboolean
 nm_setting_verify_secrets (NMSetting *setting,
                            NMConnection *connection,
-                           GError **error);
+ GError **error);

Verifies the secrets in the setting. -The returned GError contains information about which secret of the setting +The returned GError contains information about which secret of the setting failed validation, and in what way that secret failed validation. The secret validation is done separately from main setting validation, because in some cases connection failure is not desired just for the secrets.

@@ -525,13 +529,13 @@ in some cases connection failure is not desired just for the secrets.

- + @@ -539,14 +543,14 @@ is being verified in isolation.

Returns

-

TRUE if the setting secrets are valid, FALSE if they are not

+

TRUE if the setting secrets are valid, FALSE if they are not

Since: 1.2


nm_setting_compare ()

-
gboolean
+
gboolean
 nm_setting_compare (NMSetting *a,
                     NMSetting *b,
                     NMSettingCompareFlags flags);
@@ -582,18 +586,18 @@ for a description of each flag's behavior.

Returns

-

TRUE if the comparison succeeds, FALSE if it does not

+

TRUE if the comparison succeeds, FALSE if it does not


nm_setting_diff ()

-
gboolean
+
gboolean
 nm_setting_diff (NMSetting *a,
                  NMSetting *b,
                  NMSettingCompareFlags flags,
-                 gboolean invert_results,
-                 GHashTable **results);
+ gboolean invert_results, + GHashTable **results);

Compares two NMSetting objects for similarity, with comparison behavior modified by a set of flags. See the documentation for NMSettingCompareFlags for a description of each flag's behavior. If the settings differ, the keys @@ -627,7 +631,7 @@ one or more

invert_results

+be set to FALSE. If TRUE inverts the meaning of the NMSettingDiffResult.

@@ -644,7 +648,7 @@ in and the settings differ, a new one is created and returned.

Returns

-

TRUE if the settings contain the same values, FALSE if they do not

+

TRUE if the settings contain the same values, FALSE if they do not


@@ -653,7 +657,7 @@ in and the settings differ, a new one is created and returned.

void
 nm_setting_enumerate_values (NMSetting *setting,
                              NMSettingValueIterFn func,
-                             gpointer user_data);
+ gpointer user_data);

Iterates over each property of the NMSetting object, calling the supplied user function for each property.

@@ -712,17 +716,17 @@ output format is not guaranteed to be stable and may change at any time.

Returns

an allocated string containing a textual representation of the setting's properties and values (including secrets!), which the caller should -free with g_free()

+free with g_free()


nm_setting_get_secret_flags ()

-
gboolean
+
gboolean
 nm_setting_get_secret_flags (NMSetting *setting,
                              const char *secret_name,
                              NMSettingSecretFlags *out_flags,
-                             GError **error);
+ GError **error);

For a given secret, retrieves the NMSettingSecretFlags describing how to handle that secret.

@@ -751,7 +755,7 @@ handle that secret.

- + @@ -759,18 +763,18 @@ handle that secret.

Returns

-

TRUE on success (if the given secret name was a valid property of -this setting, and if that property is secret), FALSE if not

+

TRUE on success (if the given secret name was a valid property of +this setting, and if that property is secret), FALSE if not


nm_setting_set_secret_flags ()

-
gboolean
+
gboolean
 nm_setting_set_secret_flags (NMSetting *setting,
                              const char *secret_name,
                              NMSettingSecretFlags flags,
-                             GError **error);
+ GError **error);

For a given secret, stores the NMSettingSecretFlags describing how to handle that secret.

@@ -799,7 +803,7 @@ handle that secret.

- + @@ -807,19 +811,19 @@ handle that secret.

Returns

-

TRUE on success (if the given secret name was a valid property of -this setting, and if that property is secret), FALSE if not

+

TRUE on success (if the given secret name was a valid property of +this setting, and if that property is secret), FALSE if not


nm_setting_get_dbus_property_type ()

-
const GVariantType *
+
const GVariantType *
 nm_setting_get_dbus_property_type (NMSetting *setting,
                                    const char *property_name);

Gets the D-Bus marshalling type of a property. property_name is a D-Bus -property name, which may not necessarily be a GObject property.

+property name, which may not necessarily be a GObject property.

Parameters

connection

the NMConnection that setting came from, or -NULL if setting +NULL if setting is being verified in isolation.

[allow-none]

error

location to store error, or NULL

location to store error, or NULL

 

connection

the NMConnection that setting came from, or -NULL if setting +NULL if setting is being verified in isolation.

[allow-none]

error

location to store error, or NULL

location to store error, or NULL

 

this parameter is used internally by libnm and should -be set to FALSE. If TRUE inverts the meaning of the NMSettingDiffResult.

 

error

location to store error, or NULL

location to store error, or NULL

 

error

location to store error, or NULL

location to store error, or NULL

 
@@ -1144,7 +1148,7 @@ if you specify NM_SETTING_COMPARE_FLAG_DIFF_RESULT_W

Property Details

The “name” property

-
  “name”                     gchar *
+
  “name”                     gchar *

The setting's name, which uniquely identifies the setting within the connection. Each setting type has a name unique to that type, for example "ppp" or "wireless" or "wired".

diff --git a/docs/libnm/html/NMSetting8021x.html b/docs/libnm/html/NMSetting8021x.html index 10870083..e9d35c7a 100644 --- a/docs/libnm/html/NMSetting8021x.html +++ b/docs/libnm/html/NMSetting8021x.html @@ -59,7 +59,7 @@
- + +gchar * - + +GBytes * +gchar * @@ -747,19 +747,19 @@ +gchar * +GBytes * +gchar * @@ -770,30 +770,30 @@ +gchar * - + +gchar * +gchar * +gchar * @@ -804,7 +804,7 @@ +GBytes * @@ -814,54 +814,54 @@ - + +gchar * +gchar * +gchar * - + +gchar * +gchar * +GBytes * +gchar * @@ -872,19 +872,19 @@ +gchar * +GBytes * +gchar * @@ -895,19 +895,19 @@ +gchar * +GBytes * +gchar * @@ -918,13 +918,13 @@ +gchar * +gchar * @@ -935,13 +935,13 @@ +GBytes * +gchar * @@ -952,12 +952,12 @@ +gchar * - + @@ -1181,12 +1181,12 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMSetting8021xCKFormat
     ╰── NMSetting8021xCKScheme
-    GFlags
+    GFlags
     ╰── NMSetting8021xAuthFlags
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSetting8021x
 
@@ -1228,9 +1228,9 @@ nm_setting_802_1x_new (void

nm_setting_802_1x_check_cert_scheme ()

NMSetting8021xCKScheme
-nm_setting_802_1x_check_cert_scheme (gconstpointer pdata,
-                                     gsize length,
-                                     GError **error);
+nm_setting_802_1x_check_cert_scheme (gconstpointer pdata, + gsize length, + GError **error);

Determines and verifies the blob type. When setting certificate properties of NMSetting8021x the blob must be not UNKNOWN (or NULL).

@@ -1271,7 +1271,7 @@ For NULL it also returns NM_SETTING_802_1X_CK_SCHEME_UNKNOWN.


nm_setting_802_1x_get_num_eap_methods ()

-
guint32
+
guint32
 nm_setting_802_1x_get_num_eap_methods (NMSetting8021x *setting);

Returns the number of eap methods allowed for use when connecting to the network. Generally only one EAP method is used. Use the functions @@ -1303,7 +1303,7 @@ allowed EAP methods.

nm_setting_802_1x_get_eap_method ()

const char *
 nm_setting_802_1x_get_eap_method (NMSetting8021x *setting,
-                                  guint32 i);
+ guint32 i);

Returns the name of the allowed EAP method at index i .

@@ -1337,7 +1337,7 @@ nm_setting_802_1x_get_eap_method (

nm_setting_802_1x_add_eap_method ()

-
gboolean
+
gboolean
 nm_setting_802_1x_add_eap_method (NMSetting8021x *setting,
                                   const char *eap);

Adds an allowed EAP method. The setting is not valid until at least one @@ -1367,7 +1367,7 @@ allowed EAP methods.

Returns

-

TRUE if the EAP method was successfully added, FALSE if it was +

TRUE if the EAP method was successfully added, FALSE if it was not a valid method or if it was already allowed.

@@ -1376,7 +1376,7 @@ not a valid method or if it was already allowed.

nm_setting_802_1x_remove_eap_method ()

void
 nm_setting_802_1x_remove_eap_method (NMSetting8021x *setting,
-                                     guint32 i);
+ guint32 i);

Removes the allowed EAP method at the specified index.

Parameters

@@ -1404,7 +1404,7 @@ nm_setting_802_1x_remove_eap_method (

nm_setting_802_1x_remove_eap_method_by_value ()

-
gboolean
+
gboolean
 nm_setting_802_1x_remove_eap_method_by_value
                                (NMSetting8021x *setting,
                                 const char *eap);
@@ -1434,7 +1434,7 @@ nm_setting_802_1x_remove_eap_method_by_value

Returns

-

TRUE if the EAP method was founs and removed, FALSE if it was not.

+

TRUE if the EAP method was founs and removed, FALSE if it was not.


@@ -1545,12 +1545,12 @@ nm_setting_802_1x_get_pac_file (

nm_setting_802_1x_get_system_ca_certs ()

-
gboolean
+
gboolean
 nm_setting_802_1x_get_system_ca_certs (NMSetting8021x *setting);

Sets the “system-ca-certs” property. The “ca-path” and “phase2-ca-path” properties are ignored if the “system-ca-certs” property is -TRUE, in which case a system-wide CA certificate directory specified at +TRUE, in which case a system-wide CA certificate directory specified at compile time (using the --system-ca-path configure option) is used in place of these properties.

@@ -1570,7 +1570,7 @@ of these properties.

Returns

-

TRUE if a system CA certificate path should be used, FALSE if not

+

TRUE if a system CA certificate path should be used, FALSE if not


@@ -1665,7 +1665,7 @@ if

nm_setting_802_1x_get_ca_cert_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_ca_cert_blob (NMSetting8021x *setting);

Returns the CA certificate blob if the CA certificate is stored using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme. Not all EAP methods use a @@ -1760,12 +1760,12 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_ca_cert ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_ca_cert (NMSetting8021x *setting,
                                const char *value,
                                NMSetting8021xCKScheme scheme,
                                NMSetting8021xCKFormat *out_format,
-                               GError **error);
+ GError **error);

Reads a certificate from disk and sets the “ca-cert” property with the raw certificate data if using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate file if using the @@ -1790,7 +1790,7 @@ scheme, or with the path to the certificate file if using the is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the CA certificate file (PEM or DER format). The path must be UTF-8 encoded; use -g_filename_to_utf8() to convert if needed. Passing NULL with any scheme +g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the CA certificate.

@@ -1814,7 +1814,7 @@ clears the CA certificate.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -1898,14 +1898,14 @@ nm_setting_802_1x_get_subject_match (

Returns

the “subject-match” property. This is the substring to be matched against the subject of the authentication -server certificate, or NULL no subject verification is to be +server certificate, or NULL no subject verification is to be performed.


nm_setting_802_1x_get_num_altsubject_matches ()

-
guint32
+
guint32
 nm_setting_802_1x_get_num_altsubject_matches
                                (NMSetting8021x *setting);

Returns the number of entries in the @@ -1936,7 +1936,7 @@ nm_setting_802_1x_get_num_altsubject_matches

const char *
 nm_setting_802_1x_get_altsubject_match
                                (NMSetting8021x *setting,
-                                guint32 i);
+ guint32 i);

Returns the altSubjectName match at index i .

@@ -1970,7 +1970,7 @@ nm_setting_802_1x_get_altsubject_match

nm_setting_802_1x_add_altsubject_match ()

-
gboolean
+
gboolean
 nm_setting_802_1x_add_altsubject_match
                                (NMSetting8021x *setting,
                                 const char *altsubject_match);
@@ -2001,8 +2001,8 @@ server is not verified.

Returns

-

TRUE if the alternative subject name match was -successfully added, FALSE if it was already allowed.

+

TRUE if the alternative subject name match was +successfully added, FALSE if it was already allowed.


@@ -2011,7 +2011,7 @@ successfully added, FALSE if it was already allowed
void
 nm_setting_802_1x_remove_altsubject_match
                                (NMSetting8021x *setting,
-                                guint32 i);
+ guint32 i);

Removes the allowed altSubjectName at the specified index.

Parameters

@@ -2039,7 +2039,7 @@ nm_setting_802_1x_remove_altsubject_match

nm_setting_802_1x_remove_altsubject_match_by_value ()

-
gboolean
+
gboolean
 nm_setting_802_1x_remove_altsubject_match_by_value
                                (NMSetting8021x *setting,
                                 const char *altsubject_match);
@@ -2069,8 +2069,8 @@ nm_setting_802_1x_remove_altsubject_match_by_value

Returns

-

TRUE if the alternative subject name match was found and removed, -FALSE if it was not.

+

TRUE if the alternative subject name match was found and removed, +FALSE if it was not.


@@ -2156,7 +2156,7 @@ if

nm_setting_802_1x_get_client_cert_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_client_cert_blob
                                (NMSetting8021x *setting);

Client certificates are used to identify the connecting client to the network @@ -2247,12 +2247,12 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_client_cert ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_client_cert (NMSetting8021x *setting,
                                    const char *value,
                                    NMSetting8021xCKScheme scheme,
                                    NMSetting8021xCKFormat *out_format,
-                                   GError **error);
+ GError **error);

Reads a certificate from disk and sets the “client-cert” property with the raw certificate data if using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate @@ -2280,7 +2280,7 @@ authentication method.

is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the client certificate file (PEM, DER, or PKCS#12 format). The path must be UTF-8 -encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with +encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the client certificate.

@@ -2305,7 +2305,7 @@ clears the client certificate.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -2389,7 +2389,7 @@ nm_setting_802_1x_get_phase1_peapver (

Returns

the "phase 1" PEAP version to be used when authenticating with EAP-PEAP as contained in the “phase1-peapver” property. Valid -values are NULL (unset), "0" (PEAP version 0), and "1" (PEAP version 1).

+values are NULL (unset), "0" (PEAP version 0), and "1" (PEAP version 1).


@@ -2417,7 +2417,7 @@ nm_setting_802_1x_get_phase1_peaplabel

Returns

whether the "phase 1" PEAP label is new-style or old-style, to be used when authenticating with EAP-PEAP, as contained in the -“phase1-peaplabel” property. Valid values are NULL (unset), +“phase1-peaplabel” property. Valid values are NULL (unset), "0" (use old-style label), and "1" (use new-style label). See the wpa_supplicant documentation for more details.

@@ -2536,7 +2536,7 @@ use

nm_setting_802_1x_get_phase2_ca_cert_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_phase2_ca_cert_blob
                                (NMSetting8021x *setting);

Returns the "phase 2" CA certificate blob if the CA certificate is stored @@ -2634,12 +2634,12 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_phase2_ca_cert ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_phase2_ca_cert (NMSetting8021x *setting,
                                       const char *value,
                                       NMSetting8021xCKScheme scheme,
                                       NMSetting8021xCKFormat *out_format,
-                                      GError **error);
+ GError **error);

Reads a certificate from disk and sets the “phase2-ca-cert” property with the raw certificate data if using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate @@ -2664,7 +2664,7 @@ file if using the NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" CA certificate file (PEM or DER format). The path must be UTF-8 encoded; use -g_filename_to_utf8() to convert if needed. Passing NULL with any scheme +g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the "phase2" CA certificate.

@@ -2688,7 +2688,7 @@ clears the "phase2" CA certificate.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -2773,14 +2773,14 @@ nm_setting_802_1x_get_phase2_subject_match

Returns

the “phase2-subject-match” property. This is the substring to be matched against the subject of the "phase 2" -authentication server certificate, or NULL no subject verification +authentication server certificate, or NULL no subject verification is to be performed.


nm_setting_802_1x_get_num_phase2_altsubject_matches ()

-
guint32
+
guint32
 nm_setting_802_1x_get_num_phase2_altsubject_matches
                                (NMSetting8021x *setting);

Returns the number of entries in the @@ -2811,7 +2811,7 @@ nm_setting_802_1x_get_num_phase2_altsubject_matches

const char *
 nm_setting_802_1x_get_phase2_altsubject_match
                                (NMSetting8021x *setting,
-                                guint32 i);
+ guint32 i);

Returns the "phase 2" altSubjectName match at index i .

@@ -2845,7 +2845,7 @@ nm_setting_802_1x_get_phase2_altsubject_match

nm_setting_802_1x_add_phase2_altsubject_match ()

-
gboolean
+
gboolean
 nm_setting_802_1x_add_phase2_altsubject_match
                                (NMSetting8021x *setting,
                                 const char *phase2_altsubject_match);
@@ -2877,8 +2877,8 @@ connection

Returns

-

TRUE if the "phase 2" alternative subject name match was -successfully added, FALSE if it was already allowed.

+

TRUE if the "phase 2" alternative subject name match was +successfully added, FALSE if it was already allowed.


@@ -2887,7 +2887,7 @@ successfully added, FALSE if it was already allowed
void
 nm_setting_802_1x_remove_phase2_altsubject_match
                                (NMSetting8021x *setting,
-                                guint32 i);
+ guint32 i);

Removes the allowed "phase 2" altSubjectName at the specified index.

Parameters

@@ -2915,7 +2915,7 @@ nm_setting_802_1x_remove_phase2_altsubject_match

nm_setting_802_1x_remove_phase2_altsubject_match_by_value ()

-
gboolean
+
gboolean
 nm_setting_802_1x_remove_phase2_altsubject_match_by_value
                                (NMSetting8021x *setting,
                                 const char *phase2_altsubject_match);
@@ -2945,8 +2945,8 @@ nm_setting_802_1x_remove_phase2_altsubject_match_by_value

Returns

-

TRUE if the alternative subject name match for "phase 2" was found and removed, -FALSE if it was not.

+

TRUE if the alternative subject name match for "phase 2" was found and removed, +FALSE if it was not.


@@ -3035,7 +3035,7 @@ returned scheme is

nm_setting_802_1x_get_phase2_client_cert_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_phase2_client_cert_blob
                                (NMSetting8021x *setting);

Client certificates are used to identify the connecting client to the network @@ -3127,13 +3127,13 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_phase2_client_cert ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_phase2_client_cert
                                (NMSetting8021x *setting,
                                 const char *value,
                                 NMSetting8021xCKScheme scheme,
                                 NMSetting8021xCKFormat *out_format,
-                                GError **error);
+ GError **error);

Reads a certificate from disk and sets the “phase2-client-cert” property with the raw certificate data if using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate @@ -3161,7 +3161,7 @@ authentication method.

is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" client certificate file (PEM, DER, or PKCS#12 format). The path must be UTF-8 -encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with +encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the "phase2" client certificate.

@@ -3186,7 +3186,7 @@ clears the "phase2" client certificate.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -3300,7 +3300,7 @@ nm_setting_802_1x_get_password_flags (

nm_setting_802_1x_get_password_raw ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_password_raw (NMSetting8021x *setting);

Parameters

@@ -3440,7 +3440,7 @@ nm_setting_802_1x_get_private_key_scheme

nm_setting_802_1x_get_private_key_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_private_key_blob
                                (NMSetting8021x *setting);

Private keys are used to authenticate the connecting client to the network @@ -3534,13 +3534,13 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_private_key ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_private_key (NMSetting8021x *setting,
                                    const char *value,
                                    const char *password,
                                    NMSetting8021xCKScheme scheme,
                                    NMSetting8021xCKFormat *out_format,
-                                   GError **error);
+ GError **error);

Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.

@@ -3554,7 +3554,7 @@ verify that password is correct, and if it is, updates the “private-key-password” property with the given password . If -the decryption is unsuccessful, FALSE is returned, error +the decryption is unsuccessful, FALSE is returned, error is set, and no internal data is changed. If no password is given, the private key is @@ -3584,13 +3584,13 @@ key password to prevent unauthorized access to unencrypted private key data.

is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the private key file (PEM, DER, or PKCS#12 format). The path must be UTF-8 encoded; use -g_filename_to_utf8() to convert if needed. Passing NULL with any scheme +g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the private key.

- @@ -3615,7 +3615,7 @@ an error is returned.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -3736,7 +3736,7 @@ scheme is

nm_setting_802_1x_get_phase2_private_key_blob ()

-
GBytes *
+
GBytes *
 nm_setting_802_1x_get_phase2_private_key_blob
                                (NMSetting8021x *setting);

Private keys are used to authenticate the connecting client to the network @@ -3831,14 +3831,14 @@ for local files and 'data' URIs for inline certificate data).


nm_setting_802_1x_set_phase2_private_key ()

-
gboolean
+
gboolean
 nm_setting_802_1x_set_phase2_private_key
                                (NMSetting8021x *setting,
                                 const char *value,
                                 const char *password,
                                 NMSetting8021xCKScheme scheme,
                                 NMSetting8021xCKFormat *out_format,
-                                GError **error);
+ GError **error);

Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.

@@ -3852,7 +3852,7 @@ verify that password is correct, and if it is, updates the “phase2-private-key-password” property with the given password -. If the decryption is unsuccessful, FALSE is returned, error +. If the decryption is unsuccessful, FALSE is returned, error is set, and no internal data is changed. If no password is given, the private @@ -3882,14 +3882,14 @@ key password to prevent unauthorized access to unencrypted private key data.

is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" private key file (PEM, DER, or PKCS#12 format). The path must be UTF-8 encoded; -use g_filename_to_utf8() to convert if needed. Passing NULL with any +use g_filename_to_utf8() to convert if needed. Passing NULL with any scheme clears the private key.

- @@ -3914,7 +3914,7 @@ an error is returned.

Returns

-

TRUE if the operation succeeded, FALSE if it was unsuccessful

+

TRUE if the operation succeeded, FALSE if it was unsuccessful


@@ -4029,7 +4029,7 @@ nm_setting_802_1x_get_phase1_auth_flags

nm_setting_802_1x_get_auth_timeout ()

-
gint
+
gint
 nm_setting_802_1x_get_auth_timeout (NMSetting8021x *setting);

Returns the value contained in the “auth-timeout” property.

@@ -4507,7 +4507,7 @@ should be used.

Property Details

The “altsubject-matches” property

-
  “altsubject-matches”       GStrv
+
  “altsubject-matches”       GStrv

List of strings to be matched against the altSubjectName of the certificate presented by the authentication server. If the list is empty, no verification of the server certificate's altSubjectName is performed.

@@ -4516,7 +4516,7 @@ no verification of the server certificate's altSubjectName is performed.


The “anonymous-identity” property

-
  “anonymous-identity”       gchar *
+
  “anonymous-identity”       gchar *

Anonymous identity string for EAP authentication methods. Used as the unencrypted identity with EAP types that support different tunneled identity like EAP-TTLS.

@@ -4526,7 +4526,7 @@ identity like EAP-TTLS.


The “auth-timeout” property

-
  “auth-timeout”             gint
+
  “auth-timeout”             gint

A timeout for the authentication. Zero means the global default; if the global default is not set, the authentication timeout is 25 seconds.

Flags: Read / Write

@@ -4537,7 +4537,7 @@ global default is not set, the authentication timeout is 25 seconds.


The “ca-cert” property

-
  “ca-cert”                  GBytes *
+
  “ca-cert”                  GBytes *

Contains the CA certificate if used by the EAP method specified in the “eap” property.

Certificate data is specified using a "scheme"; two are currently @@ -4555,7 +4555,7 @@ but this allows man-in-the-middle attacks and is NOT recommended.


The “ca-cert-password” property

-
  “ca-cert-password”         gchar *
+
  “ca-cert-password”         gchar *

The password used to access the CA certificate stored in “ca-cert” property. Only makes sense if the certificate is stored on a PKCS#11 token that requires a login.

@@ -4574,7 +4574,7 @@ is stored on a PKCS#11 token that requires a login.


The “ca-path” property

-
  “ca-path”                  gchar *
+
  “ca-path”                  gchar *

UTF-8 encoded path to a directory containing PEM or DER formatted certificates to be added to the verification chain in addition to the certificate specified in the “ca-cert” property.

@@ -4584,7 +4584,7 @@ certificate specified in the

The “client-cert” property

-
  “client-cert”              GBytes *
+
  “client-cert”              GBytes *

Contains the client certificate if used by the EAP method specified in the “eap” property.

Certificate data is specified using a "scheme"; two are currently @@ -4600,7 +4600,7 @@ with the string "file://" and ending with a terminating NUL byte.


The “client-cert-password” property

-
  “client-cert-password”     gchar *
+
  “client-cert-password”     gchar *

The password used to access the client certificate stored in “client-cert” property. Only makes sense if the certificate is stored on a PKCS#11 token that requires a login.

@@ -4619,7 +4619,7 @@ is stored on a PKCS#11 token that requires a login.


The “domain-suffix-match” property

-
  “domain-suffix-match”      gchar *
+
  “domain-suffix-match”      gchar *

Constraint for server domain name. If set, this FQDN is used as a suffix match requirement for dNSName element(s) of the certificate presented by the authentication server. If a matching dNSName is found, this @@ -4632,7 +4632,7 @@ matched against SubjectName CN using same suffix match comparison.


The “eap” property

-
  “eap”                      GStrv
+
  “eap”                      GStrv

The allowed EAP method to be used when authenticating to the network with 802.1x. Valid methods are: "leap", "md5", "tls", "peap", "ttls", "pwd", and "fast". Each method requires different configuration using the @@ -4643,7 +4643,7 @@ allowed combinations.


The “identity” property

-
  “identity”                 gchar *
+
  “identity”                 gchar *

Identity string for EAP authentication methods. Often the user's user or login name.

Flags: Read / Write

@@ -4652,7 +4652,7 @@ login name.


The “pac-file” property

-
  “pac-file”                 gchar *
+
  “pac-file”                 gchar *

UTF-8 encoded file path containing PAC for EAP-FAST.

Flags: Read / Write

Default value: NULL

@@ -4660,7 +4660,7 @@ login name.


The “password” property

-
  “password”                 gchar *
+
  “password”                 gchar *

UTF-8 encoded password used for EAP authentication methods. If both the “password” property and the “password-raw” property are specified, “password” is preferred.

@@ -4677,7 +4677,7 @@ property are specified,

The “password-raw” property

-
  “password-raw”             GBytes *
+
  “password-raw”             GBytes *

Password used for EAP authentication methods, given as a byte array to allow passwords in other encodings than UTF-8 to be used. If both the “password” property and the “password-raw” @@ -4694,10 +4694,10 @@ property are specified,

The “phase1-auth-flags” property

-
  “phase1-auth-flags”        guint
+
  “phase1-auth-flags”        guint

Specifies authentication flags to use in "phase 1" outer authentication using NMSetting8021xAuthFlags options. -The invidual TLS versions can be explicitly disabled. If a certain +The individual TLS versions can be explicitly disabled. If a certain TLS disable flag is not set, it is up to the supplicant to allow or forbid it. The TLS options map to tls_disable_tlsv1_x settings. See the wpa_supplicant documentation for more details.

@@ -4708,7 +4708,7 @@ See the wpa_supplicant documentation for more details.


The “phase1-fast-provisioning” property

-
  “phase1-fast-provisioning” gchar *
+
  “phase1-fast-provisioning” gchar *

Enables or disables in-line provisioning of EAP-FAST credentials when FAST is specified as the EAP method in the “eap” property. Recognized values are "0" (disabled), "1" (allow unauthenticated @@ -4721,7 +4721,7 @@ wpa_supplicant documentation for more details.


The “phase1-peaplabel” property

-
  “phase1-peaplabel”         gchar *
+
  “phase1-peaplabel”         gchar *

Forces use of the new PEAP label during key derivation. Some RADIUS servers may require forcing the new PEAP label to interoperate with PEAPv1. Set to "1" to force use of the new PEAP label. See the @@ -4732,7 +4732,7 @@ wpa_supplicant documentation for more details.


The “phase1-peapver” property

-
  “phase1-peapver”           gchar *
+
  “phase1-peapver”           gchar *

Forces which PEAP version is used when PEAP is set as the EAP method in the “eap” property. When unset, the version reported by the server will be used. Sometimes when using older RADIUS servers, it @@ -4745,7 +4745,7 @@ version.


The “phase2-altsubject-matches” property

-
  “phase2-altsubject-matches” GStrv
+
  “phase2-altsubject-matches” GStrv

List of strings to be matched against the altSubjectName of the certificate presented by the authentication server during the inner "phase 2" authentication. If the list is empty, no verification of the @@ -4755,7 +4755,7 @@ server certificate's altSubjectName is performed.


The “phase2-auth” property

-
  “phase2-auth”              gchar *
+
  “phase2-auth”              gchar *

Specifies the allowed "phase 2" inner non-EAP authentication methods when an EAP method that uses an inner TLS tunnel is specified in the “eap” property. Recognized non-EAP "phase 2" methods are @@ -4768,7 +4768,7 @@ authentication; see the wpa_supplicant documentation for more details.


The “phase2-autheap” property

-
  “phase2-autheap”           gchar *
+
  “phase2-autheap”           gchar *

Specifies the allowed "phase 2" inner EAP-based authentication methods when an EAP method that uses an inner TLS tunnel is specified in the “eap” property. Recognized EAP-based "phase 2" methods are @@ -4781,7 +4781,7 @@ wpa_supplicant documentation for more details.


The “phase2-ca-cert” property

-
  “phase2-ca-cert”           GBytes *
+
  “phase2-ca-cert”           GBytes *

Contains the "phase 2" CA certificate if used by the EAP method specified in the “phase2-auth” or “phase2-autheap” properties.

@@ -4800,7 +4800,7 @@ but this allows man-in-the-middle attacks and is NOT recommended.


The “phase2-ca-cert-password” property

-
  “phase2-ca-cert-password”  gchar *
+
  “phase2-ca-cert-password”  gchar *

The password used to access the "phase2" CA certificate stored in “phase2-ca-cert” property. Only makes sense if the certificate is stored on a PKCS#11 token that requires a login.

@@ -4819,7 +4819,7 @@ is stored on a PKCS#11 token that requires a login.


The “phase2-ca-path” property

-
  “phase2-ca-path”           gchar *
+
  “phase2-ca-path”           gchar *

UTF-8 encoded path to a directory containing PEM or DER formatted certificates to be added to the verification chain in addition to the certificate specified in the “phase2-ca-cert” property.

@@ -4829,7 +4829,7 @@ certificate specified in the

The “phase2-client-cert” property

-
  “phase2-client-cert”       GBytes *
+
  “phase2-client-cert”       GBytes *

Contains the "phase 2" client certificate if used by the EAP method specified in the “phase2-auth” or “phase2-autheap” properties.

@@ -4848,7 +4848,7 @@ but this allows man-in-the-middle attacks and is NOT recommended.


The “phase2-client-cert-password” property

-
  “phase2-client-cert-password” gchar *
+
  “phase2-client-cert-password” gchar *

The password used to access the "phase2" client certificate stored in “phase2-client-cert” property. Only makes sense if the certificate is stored on a PKCS#11 token that requires a login.

@@ -4867,7 +4867,7 @@ is stored on a PKCS#11 token that requires a login.


The “phase2-domain-suffix-match” property

-
  “phase2-domain-suffix-match” gchar *
+
  “phase2-domain-suffix-match” gchar *

Constraint for server domain name. If set, this FQDN is used as a suffix match requirement for dNSName element(s) of the certificate presented by the authentication server during the inner "phase 2" authentication. If @@ -4881,7 +4881,7 @@ using same suffix match comparison.


The “phase2-private-key” property

-
  “phase2-private-key”       GBytes *
+
  “phase2-private-key”       GBytes *

Contains the "phase 2" inner private key when the “phase2-auth” or “phase2-autheap” property is set to "tls".

@@ -4907,7 +4907,7 @@ password used to decode the PKCS#12 private key and certificate.


The “phase2-private-key-password” property

-
  “phase2-private-key-password” gchar *
+
  “phase2-private-key-password” gchar *

The password used to decrypt the "phase 2" private key specified in the “phase2-private-key” property when the private key either uses the path scheme, or is a PKCS#12 format key. Setting this @@ -4929,7 +4929,7 @@ function.


The “phase2-subject-match” property

-
  “phase2-subject-match”     gchar *
+
  “phase2-subject-match”     gchar *

Substring to be matched against the subject of the certificate presented by the authentication server during the inner "phase 2" authentication. When unset, no verification of the authentication server @@ -4942,7 +4942,7 @@ NMSetting8021x:phase2-domain-suffix-match.


The “pin” property

-
  “pin”                      gchar *
+
  “pin”                      gchar *

PIN used for EAP authentication methods.

Flags: Read / Write

Default value: NULL

@@ -4957,7 +4957,7 @@ NMSetting8021x:phase2-domain-suffix-match.


The “private-key” property

-
  “private-key”              GBytes *
+
  “private-key”              GBytes *

Contains the private key when the “eap” property is set to "tls".

Key data is specified using a "scheme"; two are currently supported: blob @@ -4987,7 +4987,7 @@ private key data.


The “private-key-password” property

-
  “private-key-password”     gchar *
+
  “private-key-password”     gchar *

The password used to decrypt the private key specified in the “private-key” property when the private key either uses the path scheme, or if the private key is a PKCS#12 format key. Setting this @@ -5008,7 +5008,7 @@ property.


The “subject-match” property

-
  “subject-match”            gchar *
+
  “subject-match”            gchar *

Substring to be matched against the subject of the certificate presented by the authentication server. When unset, no verification of the authentication server certificate's subject is performed. This property @@ -5020,8 +5020,8 @@ NMSetting8021x:domain-suffix-match.


The “system-ca-certs” property

-
  “system-ca-certs”          gboolean
-

When TRUE, overrides the “ca-path” and +

  “system-ca-certs”          gboolean
+

When TRUE, overrides the “ca-path” and “phase2-ca-path” properties using the system CA directory specified at configure time with the --system-ca-path switch. The certificates in this directory are added to the verification chain in diff --git a/docs/libnm/html/NMSettingAdsl.html b/docs/libnm/html/NMSettingAdsl.html index 12724c50..3f2ec01a 100644 --- a/docs/libnm/html/NMSettingAdsl.html +++ b/docs/libnm/html/NMSettingAdsl.html @@ -79,7 +79,7 @@

+gchar * +gchar * @@ -132,23 +132,23 @@ +gchar * +gchar * - + - + @@ -224,7 +224,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingAdsl
 
@@ -349,7 +349,7 @@ nm_setting_adsl_get_encapsulation (

nm_setting_adsl_get_vpi ()

-
guint32
+
guint32
 nm_setting_adsl_get_vpi (NMSettingAdsl *setting);

Parameters

@@ -374,7 +374,7 @@ nm_setting_adsl_get_vpi (

nm_setting_adsl_get_vci ()

-
guint32
+
guint32
 nm_setting_adsl_get_vci (NMSettingAdsl *setting);

Parameters

@@ -512,7 +512,7 @@ nm_setting_adsl_get_password_flags (

Property Details

The “encapsulation” property

-
  “encapsulation”            gchar *
+
  “encapsulation”            gchar *

Encapsulation of ADSL connection. Can be "vcmux" or "llc".

Flags: Read / Write

Default value: NULL

@@ -520,7 +520,7 @@ nm_setting_adsl_get_password_flags (

The “password” property

-
  “password”                 gchar *
+
  “password”                 gchar *

Password used to authenticate with the ADSL service.

Flags: Read / Write

Default value: NULL

@@ -535,7 +535,7 @@ nm_setting_adsl_get_password_flags (

The “protocol” property

-
  “protocol”                 gchar *
+
  “protocol”                 gchar *

ADSL connection protocol. Can be "pppoa", "pppoe" or "ipoatm".

Flags: Read / Write

Default value: NULL

@@ -543,7 +543,7 @@ nm_setting_adsl_get_password_flags (

The “username” property

-
  “username”                 gchar *
+
  “username”                 gchar *

Username used to authenticate with the ADSL service.

Flags: Read / Write

Default value: NULL

@@ -551,7 +551,7 @@ nm_setting_adsl_get_password_flags (

The “vci” property

-
  “vci”                      guint
+
  “vci”                      guint

VCI of ADSL connection

Flags: Read / Write

Allowed values: <= 65536

@@ -560,7 +560,7 @@ nm_setting_adsl_get_password_flags (

The “vpi” property

-
  “vpi”                      guint
+
  “vpi”                      guint

VPI of ADSL connection

Flags: Read / Write

Allowed values: <= 65536

diff --git a/docs/libnm/html/NMSettingBluetooth.html b/docs/libnm/html/NMSettingBluetooth.html index f5c0cf41..4c87f4f0 100644 --- a/docs/libnm/html/NMSettingBluetooth.html +++ b/docs/libnm/html/NMSettingBluetooth.html @@ -77,13 +77,13 @@
+gchar * +gchar * @@ -119,6 +119,10 @@ + + + + @@ -127,7 +131,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingBluetooth
 
@@ -204,8 +208,8 @@ either DUN to a DUN-capable device or PANU to a NAP-capable device).

@@ -241,8 +245,16 @@ DUN profile.

NM_SETTING_BLUETOOTH_TYPE_PANU

#define NM_SETTING_BLUETOOTH_TYPE_PANU "panu"
 
-

Connection type describing a connection to devices that support the Bluetooth -NAP (Network Access Point) protocol, which accepts connections via PANU.

+

Connection type describing PANU connection to a Bluetooth NAP (Network +Access Point).

+ +
+
+

NM_SETTING_BLUETOOTH_TYPE_NAP

+
#define NM_SETTING_BLUETOOTH_TYPE_NAP "nap"
+
+

Connection type describing a Bluetooth NAP (Network Access Point), +which accepts PANU clients.


@@ -255,7 +267,7 @@ NAP (Network Access Point) protocol, which accepts connections via PANU.

Property Details

The “bdaddr” property

-
  “bdaddr”                   gchar *
+
  “bdaddr”                   gchar *

The Bluetooth address of the device.

Flags: Read / Write

Default value: NULL

@@ -263,7 +275,7 @@ NAP (Network Access Point) protocol, which accepts connections via PANU.


The “type” property

-
  “type”                     gchar *
+
  “type”                     gchar *

Either "dun" for Dial-Up Networking connections or "panu" for Personal Area Networking connections to devices supporting the NAP profile.

Flags: Read / Write

diff --git a/docs/libnm/html/NMSettingBond.html b/docs/libnm/html/NMSettingBond.html index ff5e946b..b2e69366 100644 --- a/docs/libnm/html/NMSettingBond.html +++ b/docs/libnm/html/NMSettingBond.html @@ -51,7 +51,7 @@
+GHashTable * @@ -262,7 +262,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingBond
 
@@ -288,7 +288,7 @@ nm_setting_bond_new (void<

nm_setting_bond_get_num_options ()

-
guint32
+
guint32
 nm_setting_bond_get_num_options (NMSettingBond *setting);

Returns the number of options that should be set for this bond when it is activated. This can be used to retrieve each option individually @@ -316,9 +316,9 @@ using

nm_setting_bond_get_option ()

-
gboolean
+
gboolean
 nm_setting_bond_get_option (NMSettingBond *setting,
-                            guint32 idx,
+                            guint32 idx,
                             const char **out_name,
                             const char **out_value);

Given an index, return the value of the bonding option at that index. Indexes @@ -364,8 +364,8 @@ modified.

Returns

-

TRUE on success if the index was valid and an option was found, -FALSE if the index was invalid (ie, greater than the number of options +

TRUE on success if the index was valid and an option was found, +FALSE if the index was invalid (ie, greater than the number of options currently held by the setting)

@@ -402,14 +402,14 @@ nm_setting_bond_get_option_by_name (

Returns

-

the value, or NULL if the key/value pair was never added to the +

the value, or NULL if the key/value pair was never added to the setting; the value is owned by the setting and must not be modified


nm_setting_bond_add_option ()

-
gboolean
+
gboolean
 nm_setting_bond_add_option (NMSettingBond *setting,
                             const char *name,
                             const char *value);
@@ -448,14 +448,14 @@ that conflict with each other.

Returns

-

TRUE if the option was valid and was added to the internal option -list, FALSE if it was not.

+

TRUE if the option was valid and was added to the internal option +list, FALSE if it was not.


nm_setting_bond_remove_option ()

-
gboolean
+
gboolean
 nm_setting_bond_remove_option (NMSettingBond *setting,
                                const char *name);

Remove the bonding option referenced by name @@ -485,14 +485,14 @@ list.

Returns

-

TRUE if the option was found and removed from the internal option -list, FALSE if it was not.

+

TRUE if the option was found and removed from the internal option +list, FALSE if it was not.


nm_setting_bond_validate_option ()

-
gboolean
+
gboolean
 nm_setting_bond_validate_option (const char *name,
                                  const char *value);

Checks whether name @@ -500,7 +500,7 @@ nm_setting_bond_validate_option (const name . If value - is NULL, the function only validates the option name.

+ is NULL, the function only validates the option name.

Parameters

-guint32 +guint32 nm_setting_802_1x_get_num_eap_methods () @@ -74,7 +74,7 @@
-gboolean +gboolean nm_setting_802_1x_add_eap_method () @@ -90,7 +90,7 @@
-gboolean +gboolean nm_setting_802_1x_remove_eap_method_by_value () @@ -127,7 +127,7 @@
-gboolean +gboolean nm_setting_802_1x_get_system_ca_certs () @@ -157,7 +157,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_ca_cert_blob () @@ -179,7 +179,7 @@
-gboolean +gboolean nm_setting_802_1x_set_ca_cert () @@ -209,7 +209,7 @@
-guint32 +guint32 nm_setting_802_1x_get_num_altsubject_matches () @@ -224,7 +224,7 @@
-gboolean +gboolean nm_setting_802_1x_add_altsubject_match () @@ -240,7 +240,7 @@
-gboolean +gboolean nm_setting_802_1x_remove_altsubject_match_by_value () @@ -271,7 +271,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_client_cert_blob () @@ -293,7 +293,7 @@
-gboolean +gboolean nm_setting_802_1x_set_client_cert () @@ -359,7 +359,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_phase2_ca_cert_blob () @@ -381,7 +381,7 @@
-gboolean +gboolean nm_setting_802_1x_set_phase2_ca_cert () @@ -411,7 +411,7 @@
-guint32 +guint32 nm_setting_802_1x_get_num_phase2_altsubject_matches () @@ -426,7 +426,7 @@
-gboolean +gboolean nm_setting_802_1x_add_phase2_altsubject_match () @@ -442,7 +442,7 @@
-gboolean +gboolean nm_setting_802_1x_remove_phase2_altsubject_match_by_value () @@ -473,7 +473,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_phase2_client_cert_blob () @@ -495,7 +495,7 @@
-gboolean +gboolean nm_setting_802_1x_set_phase2_client_cert () @@ -533,7 +533,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_password_raw () @@ -572,7 +572,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_private_key_blob () @@ -594,7 +594,7 @@
-gboolean +gboolean nm_setting_802_1x_set_private_key () @@ -633,7 +633,7 @@
-GBytes * +GBytes * nm_setting_802_1x_get_phase2_private_key_blob () @@ -655,7 +655,7 @@
-gboolean +gboolean nm_setting_802_1x_set_phase2_private_key () @@ -694,7 +694,7 @@
-gint +gint nm_setting_802_1x_get_auth_timeout () @@ -713,30 +713,30 @@
GStrvGStrv altsubject-matches Read / Write
-gchar *anonymous-identity Read / Write
gintgint auth-timeout Read / Write
-GBytes *ca-cert Read / Write
-gchar *ca-cert-password Read / Write
-gchar *ca-path Read / Write
-GBytes *client-cert Read / Write
-gchar *client-cert-password Read / Write
-gchar *domain-suffix-match Read / Write
GStrvGStrv eap Read / Write
-gchar *identity Read / Write
-gchar *pac-file Read / Write
-gchar *password Read / Write
-GBytes *password-raw Read / Write
Read / Write
guintguint phase1-auth-flags Read / Write / Construct
-gchar *phase1-fast-provisioning Read / Write
-gchar *phase1-peaplabel Read / Write
-gchar *phase1-peapver Read / Write
GStrvGStrv phase2-altsubject-matches Read / Write
-gchar *phase2-auth Read / Write
-gchar *phase2-autheap Read / Write
-GBytes *phase2-ca-cert Read / Write
-gchar *phase2-ca-cert-password Read / Write
-gchar *phase2-ca-path Read / Write
-GBytes *phase2-client-cert Read / Write
-gchar *phase2-client-cert-password Read / Write
-gchar *phase2-domain-suffix-match Read / Write
-GBytes *phase2-private-key Read / Write
-gchar *phase2-private-key-password Read / Write
-gchar *phase2-subject-match Read / Write
-gchar *pin Read / Write
-GBytes *private-key Read / Write
-gchar *private-key-password Read / Write
-gchar *subject-match Read / Write
gbooleangboolean system-ca-certs Read / Write / Construct
 
  
  

password

password used to decrypt the private key, or NULL if the password +

password used to decrypt the private key, or NULL if the password is unknown. If the password is given but fails to decrypt the private key, an error is returned.

  

password

password used to decrypt the private key, or NULL if the password +

password used to decrypt the private key, or NULL if the password is unknown. If the password is given but fails to decrypt the private key, an error is returned.

 
-guint32 +guint32 nm_setting_adsl_get_vpi () @@ -87,7 +87,7 @@
-guint32 +guint32 nm_setting_adsl_get_vci () @@ -115,13 +115,13 @@
-gchar *encapsulation Read / Write
-gchar *password Read / Write
-gchar *protocol Read / Write
-gchar *username Read / Write
guintguint vci Read / Write
guintguint vpi Read / Write
-gchar *bdaddr Read / Write
-gchar *type Read / Write
NM_SETTING_BLUETOOTH_TYPE_PANU
#defineNM_SETTING_BLUETOOTH_TYPE_NAP
  NMSettingBluetooth
-guint32 +guint32 nm_setting_bond_get_num_options () @@ -59,7 +59,7 @@
-gboolean +gboolean nm_setting_bond_get_option () @@ -74,7 +74,7 @@
-gboolean +gboolean nm_setting_bond_add_option () @@ -82,7 +82,7 @@
-gboolean +gboolean nm_setting_bond_remove_option () @@ -90,7 +90,7 @@
-gboolean +gboolean nm_setting_bond_validate_option () @@ -123,7 +123,7 @@
-GHashTable *options Read / Write
@@ -525,10 +525,10 @@ the name

Returns

-

TRUE, if the value +

TRUE, if the value is valid for the given name. If the name -is not a valid option, FALSE will be returned.

+is not a valid option, FALSE will be returned.


@@ -538,7 +538,7 @@ is not a valid option, FALSE will be returned.

nm_setting_bond_get_valid_options (NMSettingBond *setting);

Returns a list of valid bond options.

The setting - argument is unused and may be passed as NULL.

+ argument is unused and may be passed as NULL.

Parameters

@@ -556,7 +556,7 @@ nm_setting_bond_get_valid_options (

Returns

-

a NULL-terminated array of strings of valid bond options.

+

a NULL-terminated array of strings of valid bond options.

[transfer none]

@@ -781,7 +781,7 @@ the

Property Details

The “options” property

-
  “options”                  GHashTable *
+
  “options”                  GHashTable *

Dictionary of key/value pairs of bonding options. Both keys and values must be strings. Option names must contain only alphanumeric characters (ie, [a-zA-Z0-9]).

diff --git a/docs/libnm/html/NMSettingBridge.html b/docs/libnm/html/NMSettingBridge.html index cff76051..ce6d30e5 100644 --- a/docs/libnm/html/NMSettingBridge.html +++ b/docs/libnm/html/NMSettingBridge.html @@ -58,7 +58,7 @@
+ + + + - + - + - + + + + + + +gchar * - + - + - + - + @@ -210,6 +223,10 @@ + + + + @@ -221,7 +238,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingBridge
 
@@ -272,7 +289,7 @@ nm_setting_bridge_get_mac_address (

nm_setting_bridge_get_stp ()

-
gboolean
+
gboolean
 nm_setting_bridge_get_stp (NMSettingBridge *setting);

Parameters

@@ -297,7 +314,7 @@ nm_setting_bridge_get_stp (

nm_setting_bridge_get_priority ()

-
guint16
+
guint16
 nm_setting_bridge_get_priority (NMSettingBridge *setting);

Parameters

@@ -322,7 +339,7 @@ nm_setting_bridge_get_priority (

nm_setting_bridge_get_forward_delay ()

-
guint16
+
guint16
 nm_setting_bridge_get_forward_delay (NMSettingBridge *setting);

Parameters

@@ -347,7 +364,7 @@ nm_setting_bridge_get_forward_delay (

nm_setting_bridge_get_hello_time ()

-
guint16
+
guint16
 nm_setting_bridge_get_hello_time (NMSettingBridge *setting);

Parameters

@@ -372,7 +389,7 @@ nm_setting_bridge_get_hello_time (

nm_setting_bridge_get_max_age ()

-
guint16
+
guint16
 nm_setting_bridge_get_max_age (NMSettingBridge *setting);

Parameters

@@ -397,7 +414,7 @@ nm_setting_bridge_get_max_age (

nm_setting_bridge_get_ageing_time ()

-
guint32
+
guint32
 nm_setting_bridge_get_ageing_time (NMSettingBridge *setting);

Parameters

@@ -421,8 +438,35 @@ nm_setting_bridge_get_ageing_time (
+

nm_setting_bridge_get_group_forward_mask ()

+
guint16
+nm_setting_bridge_get_group_forward_mask
+                               (NMSettingBridge *setting);
+
+

Parameters

+
-gboolean +gboolean nm_setting_bridge_get_stp () @@ -66,7 +66,7 @@
-guint16 +guint16 nm_setting_bridge_get_priority () @@ -74,7 +74,7 @@
-guint16 +guint16 nm_setting_bridge_get_forward_delay () @@ -82,7 +82,7 @@
-guint16 +guint16 nm_setting_bridge_get_hello_time () @@ -90,7 +90,7 @@
-guint16 +guint16 nm_setting_bridge_get_max_age () @@ -98,7 +98,7 @@
-guint32 +guint32 nm_setting_bridge_get_ageing_time () @@ -106,7 +106,15 @@
-gboolean +guint16 + +nm_setting_bridge_get_group_forward_mask () +
+gboolean nm_setting_bridge_get_multicast_snooping () @@ -125,43 +133,48 @@
guintguint ageing-time Read / Write / Construct
guintguint forward-delay Read / Write / Construct
guintguintgroup-forward-maskRead / Write / Construct
guint hello-time Read / Write / Construct
-gchar *mac-address Read / Write
guintguint max-age Read / Write / Construct
gbooleangboolean multicast-snooping Read / Write / Construct
guintguint priority Read / Write / Construct
gbooleangboolean stp Read / Write / Construct
#defineNM_SETTING_BRIDGE_GROUP_FORWARD_MASK
#define NM_SETTING_BRIDGE_MULTICAST_SNOOPING
+++++ + + + + + +

setting

the NMSettingBridge

 
+
+
+

Returns

+

the “group-forward-mask” property of the setting

+
+

Since: 1.10

+
+
+

nm_setting_bridge_get_multicast_snooping ()

-
gboolean
+
gboolean
 nm_setting_bridge_get_multicast_snooping
                                (NMSettingBridge *setting);
@@ -498,6 +542,12 @@ nm_setting_bridge_get_multicast_snooping

+

NM_SETTING_BRIDGE_GROUP_FORWARD_MASK

+
#define NM_SETTING_BRIDGE_GROUP_FORWARD_MASK "group-forward-mask"
+
+
+
+

NM_SETTING_BRIDGE_MULTICAST_SNOOPING

#define NM_SETTING_BRIDGE_MULTICAST_SNOOPING "multicast-snooping"
 
@@ -513,7 +563,7 @@ nm_setting_bridge_get_multicast_snooping

Property Details

The “ageing-time” property

-
  “ageing-time”              guint
+
  “ageing-time”              guint

The Ethernet MAC address aging time, in seconds.

Flags: Read / Write / Construct

Allowed values: <= 1000000

@@ -522,7 +572,7 @@ nm_setting_bridge_get_multicast_snooping

The “forward-delay” property

-
  “forward-delay”            guint
+
  “forward-delay”            guint

The Spanning Tree Protocol (STP) forwarding delay, in seconds.

Flags: Read / Write / Construct

Allowed values: <= 30

@@ -530,8 +580,23 @@ nm_setting_bridge_get_multicast_snooping

+

The “group-forward-mask” property

+
  “group-forward-mask”       guint
+

A mask of group addresses to forward. Usually, group addresses in +the range from 01:80:C2:00:00:00 to 01:80:C2:00:00:0F are not +forwarded according to standards. This property is a mask of 16 bits, +each corresponding to a group address in that range that must be +forwarded. The mask can't have bits 0, 1 or 2 set because they are +used for STP, MAC pause frames and LACP.

+

Flags: Read / Write / Construct

+

Allowed values: <= 65535

+

Default value: 0

+

Since: 1.10

+
+
+

The “hello-time” property

-
  “hello-time”               guint
+
  “hello-time”               guint

The Spanning Tree Protocol (STP) hello time, in seconds.

Flags: Read / Write / Construct

Allowed values: <= 10

@@ -540,17 +605,21 @@ nm_setting_bridge_get_multicast_snooping

The “mac-address” property

-
  “mac-address”              gchar *
+
  “mac-address”              gchar *

If specified, the MAC address of bridge. When creating a new bridge, this -MAC address will be set. When matching an existing (outside -NetworkManager created) bridge, this MAC address must match.

+MAC address will be set.

+

If this field is left unspecified, the "ethernet.cloned-mac-address" is +referred instead to generate the initial MAC address. Note that setting +"ethernet.cloned-mac-address" anyway overwrites the MAC address of +the bridge later while activating the bridge. Hence, this property +is deprecated.

Flags: Read / Write

Default value: NULL


The “max-age” property

-
  “max-age”                  guint
+
  “max-age”                  guint

The Spanning Tree Protocol (STP) maximum message age, in seconds.

Flags: Read / Write / Construct

Allowed values: <= 40

@@ -559,7 +628,7 @@ NetworkManager created) bridge, this MAC address must match.


The “multicast-snooping” property

-
  “multicast-snooping”       gboolean
+
  “multicast-snooping”       gboolean

Controls whether IGMP snooping is enabled for this bridge. Note that if snooping was automatically disabled due to hash collisions, the system may refuse to enable the feature until the collisions are @@ -571,7 +640,7 @@ resolved.


The “priority” property

-
  “priority”                 guint
+
  “priority”                 guint

Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower values are "better"; the lowest priority bridge will be elected the root bridge.

@@ -582,7 +651,7 @@ bridge.


The “stp” property

-
  “stp”                      gboolean
+
  “stp”                      gboolean

Controls whether Spanning Tree Protocol (STP) is enabled for this bridge.

Flags: Read / Write / Construct

Default value: TRUE

diff --git a/docs/libnm/html/NMSettingBridgePort.html b/docs/libnm/html/NMSettingBridgePort.html index 75635d2a..04547c51 100644 --- a/docs/libnm/html/NMSettingBridgePort.html +++ b/docs/libnm/html/NMSettingBridgePort.html @@ -51,7 +51,7 @@ -guint16 +guint16 nm_setting_bridge_port_get_priority () @@ -59,7 +59,7 @@ -guint16 +guint16 nm_setting_bridge_port_get_path_cost () @@ -67,7 +67,7 @@ -gboolean +gboolean nm_setting_bridge_port_get_hairpin_mode () @@ -86,17 +86,17 @@ -gboolean +gboolean hairpin-mode Read / Write -guint +guint path-cost Read / Write / Construct -guint +guint priority Read / Write / Construct @@ -136,7 +136,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingBridgePort
 
@@ -162,7 +162,7 @@ nm_setting_bridge_port_new (void<

nm_setting_bridge_port_get_priority ()

-
guint16
+
guint16
 nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting);

Parameters

@@ -187,7 +187,7 @@ nm_setting_bridge_port_get_priority (

nm_setting_bridge_port_get_path_cost ()

-
guint16
+
guint16
 nm_setting_bridge_port_get_path_cost (NMSettingBridgePort *setting);

Parameters

@@ -212,7 +212,7 @@ nm_setting_bridge_port_get_path_cost (

nm_setting_bridge_port_get_hairpin_mode ()

-
gboolean
+
gboolean
 nm_setting_bridge_port_get_hairpin_mode
                                (NMSettingBridgePort *setting);
@@ -272,8 +272,8 @@ nm_setting_bridge_port_get_hairpin_mode

Property Details

The “hairpin-mode” property

-
  “hairpin-mode”             gboolean
-

Enables or disabled "hairpin mode" for the port, which allows frames to +

  “hairpin-mode”             gboolean
+

Enables or disables "hairpin mode" for the port, which allows frames to be sent back out through the port the frame was received on.

Flags: Read / Write

Default value: FALSE

@@ -281,7 +281,7 @@ be sent back out through the port the frame was received on.


The “path-cost” property

-
  “path-cost”                guint
+
  “path-cost”                guint

The Spanning Tree Protocol (STP) port cost for destinations via this port.

Flags: Read / Write / Construct

@@ -291,7 +291,7 @@ port.


The “priority” property

-
  “priority”                 guint
+
  “priority”                 guint

The Spanning Tree Protocol (STP) priority of this bridge port.

Flags: Read / Write / Construct

Allowed values: <= 63

diff --git a/docs/libnm/html/NMSettingCdma.html b/docs/libnm/html/NMSettingCdma.html index 06dac684..7fea983e 100644 --- a/docs/libnm/html/NMSettingCdma.html +++ b/docs/libnm/html/NMSettingCdma.html @@ -80,7 +80,7 @@ -guint32 +guint32 nm_setting_cdma_get_mtu () @@ -99,19 +99,19 @@ -guint +guint mtu Read / Write / Construct -gchar * +gchar * number Read / Write -gchar * +gchar * password Read / Write @@ -122,7 +122,7 @@ -gchar * +gchar * username Read / Write @@ -170,7 +170,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingCdma
 
@@ -296,7 +296,7 @@ nm_setting_cdma_get_password_flags (

nm_setting_cdma_get_mtu ()

-
guint32
+
guint32
 nm_setting_cdma_get_mtu (NMSettingCdma *setting);

Parameters

@@ -368,7 +368,7 @@ nm_setting_cdma_get_mtu (

Property Details

The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.

Flags: Read / Write / Construct

@@ -378,7 +378,7 @@ breaking larger packets up into multiple frames.


The “number” property

-
  “number”                   gchar *
+
  “number”                   gchar *

The number to dial to establish the connection to the CDMA-based mobile broadband network, if any. If not specified, the default number (777) is used when required.

@@ -388,7 +388,7 @@ is used when required.


The “password” property

-
  “password”                 gchar *
+
  “password”                 gchar *

The password used to authenticate with the network, if required. Many providers do not require a password, or accept any password. But if a password is required, it is specified here.

@@ -405,7 +405,7 @@ password is required, it is specified here.


The “username” property

-
  “username”                 gchar *
+
  “username”                 gchar *

The username used to authenticate with the network, if required. Many providers do not require a username, or accept any username. But if a username is required, it is specified here.

diff --git a/docs/libnm/html/NMSettingConnection.html b/docs/libnm/html/NMSettingConnection.html index 0ec4eca5..4dc2e00e 100644 --- a/docs/libnm/html/NMSettingConnection.html +++ b/docs/libnm/html/NMSettingConnection.html @@ -86,7 +86,7 @@ -gboolean +gboolean nm_setting_connection_get_autoconnect () @@ -94,7 +94,7 @@ -gint +gint nm_setting_connection_get_autoconnect_priority () @@ -102,7 +102,7 @@ -gint +gint nm_setting_connection_get_autoconnect_retries () @@ -110,7 +110,7 @@ -guint64 +guint64 nm_setting_connection_get_timestamp () @@ -118,7 +118,7 @@ -gboolean +gboolean nm_setting_connection_get_read_only () @@ -126,7 +126,7 @@ -guint32 +guint32 nm_setting_connection_get_num_permissions () @@ -134,7 +134,7 @@ -gboolean +gboolean nm_setting_connection_get_permission () @@ -149,7 +149,7 @@ -gboolean +gboolean nm_setting_connection_permissions_user_allowed () @@ -157,7 +157,7 @@ -gboolean +gboolean nm_setting_connection_add_permission () @@ -173,7 +173,7 @@ -gboolean +gboolean nm_setting_connection_remove_permission_by_value () @@ -188,7 +188,7 @@ -gboolean +gboolean nm_setting_connection_is_slave_type () @@ -211,7 +211,7 @@ -guint32 +guint32 nm_setting_connection_get_num_secondaries () @@ -226,7 +226,7 @@ -gboolean +gboolean nm_setting_connection_add_secondary () @@ -242,7 +242,7 @@ -gboolean +gboolean nm_setting_connection_remove_secondary_by_value () @@ -250,7 +250,7 @@ -guint32 +guint32 nm_setting_connection_get_gateway_ping_timeout () @@ -272,6 +272,14 @@ nm_setting_connection_get_lldp () + + +gint + + +nm_setting_connection_get_auth_retries () + +
@@ -285,17 +293,22 @@ -gboolean +gint +auth-retries +Read / Write / Construct + + +gboolean autoconnect Read / Write / Construct -gint +gint autoconnect-priority Read / Write / Construct -gint +gint autoconnect-retries Read / Write / Construct @@ -305,30 +318,30 @@ Read / Write / Construct -guint +guint gateway-ping-timeout Read / Write / Construct -gchar * +gchar * id Read / Write -gchar * +gchar * interface-name Read / Write -gint +gint lldp Read / Write / Construct -gchar * +gchar * master Read / Write @@ -338,52 +351,52 @@ Read / Write -GStrv +GStrv permissions Read / Write -gboolean +gboolean read-only Read / Write / Construct -GStrv +GStrv secondaries Read / Write -gchar * +gchar * slave-type Read / Write -gchar * +gchar * stable-id Read / Write -guint64 +guint64 timestamp Read / Write / Construct -gchar * +gchar * type Read / Write -gchar * +gchar * uuid Read / Write -gchar * +gchar * zone Read / Write / Construct @@ -491,6 +504,10 @@ NM_SETTING_CONNECTION_LLDP +#define +NM_SETTING_CONNECTION_AUTH_RETRIES + + enum NMSettingConnectionAutoconnectSlaves @@ -507,10 +524,10 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMSettingConnectionAutoconnectSlaves
     ╰── NMSettingConnectionLldp
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingConnection
 
@@ -670,7 +687,7 @@ nm_setting_connection_get_connection_type

nm_setting_connection_get_autoconnect ()

-
gboolean
+
gboolean
 nm_setting_connection_get_autoconnect (NMSettingConnection *setting);

Returns the “autoconnect” property of the connection.

@@ -696,7 +713,7 @@ nm_setting_connection_get_autoconnect (

nm_setting_connection_get_autoconnect_priority ()

-
gint
+
gint
 nm_setting_connection_get_autoconnect_priority
                                (NMSettingConnection *setting);

Returns the “autoconnect-priority” property of the connection. @@ -724,7 +741,7 @@ The higher number, the higher priority.


nm_setting_connection_get_autoconnect_retries ()

-
gint
+
gint
 nm_setting_connection_get_autoconnect_retries
                                (NMSettingConnection *setting);

Returns the “autoconnect-retries” property of the connection. @@ -753,7 +770,7 @@ Zero means infinite, -1 means the global default value.


nm_setting_connection_get_timestamp ()

-
guint64
+
guint64
 nm_setting_connection_get_timestamp (NMSettingConnection *setting);

Returns the “timestamp” property of the connection.

@@ -779,7 +796,7 @@ nm_setting_connection_get_timestamp (

nm_setting_connection_get_read_only ()

-
gboolean
+
gboolean
 nm_setting_connection_get_read_only (NMSettingConnection *setting);

Returns the “read-only” property of the connection.

@@ -799,13 +816,13 @@ nm_setting_connection_get_read_only (

Returns

-

TRUE if the connection is read-only, FALSE if it is not

+

TRUE if the connection is read-only, FALSE if it is not


nm_setting_connection_get_num_permissions ()

-
guint32
+
guint32
 nm_setting_connection_get_num_permissions
                                (NMSettingConnection *setting);

Returns the number of entries in the “permissions” @@ -833,9 +850,9 @@ property of this setting.


nm_setting_connection_get_permission ()

-
gboolean
+
gboolean
 nm_setting_connection_get_permission (NMSettingConnection *setting,
-                                      guint32 idx,
+                                      guint32 idx,
                                       const char **out_ptype,
                                       const char **out_pitem,
                                       const char **out_detail);
@@ -874,7 +891,7 @@ of this setting.

out_detail

-

on return, the permission detail (at this time, always NULL)

+

on return, the permission detail (at this time, always NULL)

  @@ -882,7 +899,7 @@ of this setting.

Returns

-

TRUE if a permission was returned, FALSE if idx +

TRUE if a permission was returned, FALSE if idx was invalid

@@ -915,7 +932,7 @@ nm_setting_connection_get_zone (

nm_setting_connection_permissions_user_allowed ()

-
gboolean
+
gboolean
 nm_setting_connection_permissions_user_allowed
                                (NMSettingConnection *setting,
                                 const char *uname);
@@ -944,14 +961,14 @@ nm_setting_connection_permissions_user_allowed

Returns

-

TRUE if the requested user is allowed to view this connection, -FALSE if the given user is not allowed to view this connection

+

TRUE if the requested user is allowed to view this connection, +FALSE if the given user is not allowed to view this connection


nm_setting_connection_add_permission ()

-
gboolean
+
gboolean
 nm_setting_connection_add_permission (NMSettingConnection *setting,
                                       const char *ptype,
                                       const char *pitem,
@@ -987,7 +1004,7 @@ the "user" permission type is supported, and pitem
 
 

detail

-

unused at this time; must be NULL.

+

unused at this time; must be NULL.

[allow-none] @@ -995,8 +1012,8 @@ the "user" permission type is supported, and pitem

Returns

-

TRUE if the permission was unique and was successfully added to the -list, FALSE if ptype +

TRUE if the permission was unique and was successfully added to the +list, FALSE if ptype or pitem was invalid or it the permission was already present in the list

@@ -1008,7 +1025,7 @@ present in the list

void
 nm_setting_connection_remove_permission
                                (NMSettingConnection *setting,
-                                guint32 idx);
+ guint32 idx);

Removes the permission at index idx from the connection.

@@ -1037,7 +1054,7 @@ nm_setting_connection_remove_permission

nm_setting_connection_remove_permission_by_value ()

-
gboolean
+
gboolean
 nm_setting_connection_remove_permission_by_value
                                (NMSettingConnection *setting,
                                 const char *ptype,
@@ -1074,7 +1091,7 @@ be a username. See 

detail

-

unused at this time; must be NULL.

+

unused at this time; must be NULL.

[allow-none] @@ -1082,7 +1099,7 @@ be a username. See

Returns

-

TRUE if the permission was found and removed; FALSE if it was not.

+

TRUE if the permission was found and removed; FALSE if it was not.


@@ -1115,7 +1132,7 @@ connection.


nm_setting_connection_is_slave_type ()

-
gboolean
+
gboolean
 nm_setting_connection_is_slave_type (NMSettingConnection *setting,
                                      const char *type);
@@ -1144,7 +1161,7 @@ against setting

Returns

-

TRUE if connection is of the given slave type +

TRUE if connection is of the given slave type

@@ -1206,7 +1223,7 @@ with the connection.


nm_setting_connection_get_num_secondaries ()

-
guint32
+
guint32
 nm_setting_connection_get_num_secondaries
                                (NMSettingConnection *setting);
@@ -1234,7 +1251,7 @@ nm_setting_connection_get_num_secondaries

nm_setting_connection_get_secondary ()

const char *
 nm_setting_connection_get_secondary (NMSettingConnection *setting,
-                                     guint32 idx);
+ guint32 idx);

Parameters

@@ -1266,7 +1283,7 @@ nm_setting_connection_get_secondary (

nm_setting_connection_add_secondary ()

-
gboolean
+
gboolean
 nm_setting_connection_add_secondary (NMSettingConnection *setting,
                                      const char *sec_uuid);

Adds a new secondary connetion UUID to the setting.

@@ -1294,7 +1311,7 @@ nm_setting_connection_add_secondary (

Returns

-

TRUE if the secondary connection UUID was added; FALSE if the UUID +

TRUE if the secondary connection UUID was added; FALSE if the UUID was already present

@@ -1304,7 +1321,7 @@ was already present

void
 nm_setting_connection_remove_secondary
                                (NMSettingConnection *setting,
-                                guint32 idx);
+ guint32 idx);

Removes the secondary coonnection UUID at index idx .

@@ -1333,7 +1350,7 @@ nm_setting_connection_remove_secondary

nm_setting_connection_remove_secondary_by_value ()

-
gboolean
+
gboolean
 nm_setting_connection_remove_secondary_by_value
                                (NMSettingConnection *setting,
                                 const char *sec_uuid);
@@ -1363,13 +1380,13 @@ nm_setting_connection_remove_secondary_by_value

Returns

-

TRUE if the secondary connection UUID was found and removed; FALSE if it was not.

+

TRUE if the secondary connection UUID was found and removed; FALSE if it was not.


nm_setting_connection_get_gateway_ping_timeout ()

-
guint32
+
guint32
 nm_setting_connection_get_gateway_ping_timeout
                                (NMSettingConnection *setting);
@@ -1447,6 +1464,35 @@ enabled for the connection.

Since: 1.2

+
+
+

nm_setting_connection_get_auth_retries ()

+
gint
+nm_setting_connection_get_auth_retries
+                               (NMSettingConnection *setting);
+

Returns the value contained in the “auth-retries” property.

+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingConnection

 
+
+
+

Returns

+

the configured authentication retries. Zero means +infinity and -1 means a global default value.

+
+

Since: 1.10

+

Types and Values

@@ -1589,6 +1635,12 @@ enabled for the connection.


+

NM_SETTING_CONNECTION_AUTH_RETRIES

+
#define NM_SETTING_CONNECTION_AUTH_RETRIES   "auth-retries"
+
+
+
+

enum NMSettingConnectionAutoconnectSlaves

NMSettingConnectionAutoconnectSlaves values indicate whether slave connections should be activated when master is activated.

@@ -1676,11 +1728,24 @@ should be activated when master is activated.

Property Details

+

The “auth-retries” property

+
  “auth-retries”             gint
+

The number of retries for the authentication. Zero means to try indefinitely; -1 means +to use a global default. If the global default is not set, the authentication +retries for 3 times before failing the connection.

+

Currently this only applies to 802-1x authentication.

+

Flags: Read / Write / Construct

+

Allowed values: >= -1

+

Default value: -1

+

Since: 1.10

+
+
+

The “autoconnect” property

-
  “autoconnect”              gboolean
+
  “autoconnect”              gboolean

Whether or not the connection should be automatically connected by NetworkManager when the resources for the connection are available. -TRUE to automatically activate the connection, FALSE to require manual +TRUE to automatically activate the connection, FALSE to require manual intervention to activate the connection.

Flags: Read / Write / Construct

Default value: TRUE

@@ -1688,7 +1753,7 @@ intervention to activate the connection.


The “autoconnect-priority” property

-
  “autoconnect-priority”     gint
+
  “autoconnect-priority”     gint

The autoconnect priority. If the connection is set to autoconnect, connections with higher priority will be preferred. Defaults to 0. The higher number means higher priority.

@@ -1699,10 +1764,12 @@ The higher number means higher priority.


The “autoconnect-retries” property

-
  “autoconnect-retries”      gint
-

The number of times a connection should be tried when autoctivating before +

  “autoconnect-retries”      gint
+

The number of times a connection should be tried when autoactivating before giving up. Zero means forever, -1 means the global default (4 times if not -overridden).

+overridden). Setting this to 1 means to try activation only once before +blocking autoconnect. Note that after a timeout, NetworkManager will try +to autoconnect again.

Flags: Read / Write / Construct

Allowed values: >= -1

Default value: -1

@@ -1725,7 +1792,7 @@ determine the real value. If it is default as well, this fallbacks to 0.


The “gateway-ping-timeout” property

-
  “gateway-ping-timeout”     guint
+
  “gateway-ping-timeout”     guint

If greater than zero, delay success of IP addressing until either the timeout is reached, or an IP gateway replies to a ping.

Flags: Read / Write / Construct

@@ -1735,7 +1802,7 @@ timeout is reached, or an IP gateway replies to a ping.


The “id” property

-
  “id”                       gchar *
+
  “id”                       gchar *

A human readable unique identifier for the connection, like "Work Wi-Fi" or "T-Mobile 3G".

Flags: Read / Write

@@ -1744,7 +1811,7 @@ or "T-Mobile 3G".


The “interface-name” property

-
  “interface-name”           gchar *
+
  “interface-name”           gchar *

The name of the network interface this connection is bound to. If not set, then the connection can be attached to any interface of the appropriate type (subject to restrictions imposed by other settings).

@@ -1760,7 +1827,7 @@ connection may be applied to the wrong interface.


The “lldp” property

-
  “lldp”                     gint
+
  “lldp”                     gint

Whether LLDP is enabled for the connection.

Flags: Read / Write / Construct

Default value: -1

@@ -1769,7 +1836,7 @@ connection may be applied to the wrong interface.


The “master” property

-
  “master”                   gchar *
+
  “master”                   gchar *

Interface name of the master device or UUID of the master connection.

Flags: Read / Write

Default value: NULL

@@ -1788,9 +1855,9 @@ the change takes effect immediately.


The “permissions” property

-
  “permissions”              GStrv
+
  “permissions”              GStrv

An array of strings defining what access a given user has to this -connection. If this is NULL or empty, all users are allowed to access +connection. If this is NULL or empty, all users are allowed to access this connection; otherwise users are allowed if and only if they are in this list. When this is not empty, the connection can be active only when one of the specified users is logged into an active session. Each entry @@ -1805,9 +1872,9 @@ use. All of [type], [id], and [reserved] must be valid UTF-8.


The “read-only” property

-
  “read-only”                gboolean
-

FALSE if the connection can be modified using the provided settings -service's D-Bus interface with the right privileges, or TRUE if the +

  “read-only”                gboolean
+

FALSE if the connection can be modified using the provided settings +service's D-Bus interface with the right privileges, or TRUE if the connection is read-only and cannot be modified.

Flags: Read / Write / Construct

Default value: FALSE

@@ -1815,7 +1882,7 @@ connection is read-only and cannot be modified.


The “secondaries” property

-
  “secondaries”              GStrv
+
  “secondaries”              GStrv

List of connection UUIDs that should be activated when the base connection itself is activated. Currently only VPN connections are supported.

@@ -1824,9 +1891,9 @@ supported.


The “slave-type” property

-
  “slave-type”               gchar *
+
  “slave-type”               gchar *

Setting name of the device type of this slave's master connection (eg, -NM_SETTING_BOND_SETTING_NAME), or NULL if this connection is not a +NM_SETTING_BOND_SETTING_NAME), or NULL if this connection is not a slave.

Flags: Read / Write

Default value: NULL

@@ -1834,7 +1901,7 @@ slave.


The “stable-id” property

-
  “stable-id”                gchar *
+
  “stable-id”                gchar *

Token to generate stable IDs for the connection.

The stable-id is used for generating IPv6 stable private addresses with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the @@ -1844,7 +1911,7 @@ of the activating connection and a per-host secret key is included into the address generation so that the same stable-id on different hosts/devices yields different addresses.

If the value is unset, an ID unique for the connection is used. -Specifing a stable-id allows multiple connections to generate the +Specifying a stable-id allows multiple connections to generate the same addresses. Another use is to generate IDs at runtime via dynamic substitutions.

The '$' character is treated special to perform dynamic substitutions @@ -1864,7 +1931,7 @@ their stable-id is also identical before performing dynamic substitutions.


The “timestamp” property

-
  “timestamp”                guint64
+
  “timestamp”                guint64

The time, in seconds since the Unix Epoch, that the connection was last _successfully_ fully activated.

NetworkManager updates the connection timestamp periodically when the @@ -1877,7 +1944,7 @@ property will not be preserved).


The “type” property

-
  “type”                     gchar *
+
  “type”                     gchar *

Base type of the connection. For hardware-dependent connections, should contain the setting name of the hardware-type specific setting (ie, "802-3-ethernet" or "802-11-wireless" or "bluetooth", etc), and for @@ -1889,7 +1956,7 @@ the setting name of that setting type (ie, "vpn" or "bridge", etc).


The “uuid” property

-
  “uuid”                     gchar *
+
  “uuid”                     gchar *

A universally unique identifier for the connection, for example generated with libuuid. It should be assigned when the connection is created, and never changed as long as the connection still applies to the same @@ -1907,9 +1974,9 @@ be generated by

The “zone” property

-
  “zone”                     gchar *
+
  “zone”                     gchar *

The trust level of a the connection. Free form case-insensitive string -(for example "Home", "Work", "Public"). NULL or unspecified zone means +(for example "Home", "Work", "Public"). NULL or unspecified zone means the connection will be placed in the default zone as defined by the firewall.

When updating this property on a currently activated connection, diff --git a/docs/libnm/html/NMSettingDcb.html b/docs/libnm/html/NMSettingDcb.html index 285c1b7a..efffaae4 100644 --- a/docs/libnm/html/NMSettingDcb.html +++ b/docs/libnm/html/NMSettingDcb.html @@ -59,7 +59,7 @@ -gint +gint nm_setting_dcb_get_app_fcoe_priority () @@ -82,7 +82,7 @@ -gint +gint nm_setting_dcb_get_app_iscsi_priority () @@ -98,7 +98,7 @@ -gint +gint nm_setting_dcb_get_app_fip_priority () @@ -114,7 +114,7 @@ -gboolean +gboolean nm_setting_dcb_get_priority_flow_control () @@ -138,7 +138,7 @@ -guint +guint nm_setting_dcb_get_priority_group_id () @@ -154,7 +154,7 @@ -guint +guint nm_setting_dcb_get_priority_group_bandwidth () @@ -170,7 +170,7 @@ -guint +guint nm_setting_dcb_get_priority_bandwidth () @@ -186,7 +186,7 @@ -gboolean +gboolean nm_setting_dcb_get_priority_strict_bandwidth () @@ -202,7 +202,7 @@ -guint +guint nm_setting_dcb_get_priority_traffic_class () @@ -235,12 +235,12 @@ -gchar * +gchar * app-fcoe-mode Read / Write / Construct -gint +gint app-fcoe-priority Read / Write / Construct @@ -250,7 +250,7 @@ Read / Write -gint +gint app-fip-priority Read / Write / Construct @@ -260,19 +260,19 @@ Read / Write -gint +gint app-iscsi-priority Read / Write / Construct -GArray * +GArray * priority-bandwidth Read / Write -GArray * +GArray * priority-flow-control Read / Write @@ -283,7 +283,7 @@ -GArray * +GArray * priority-group-bandwidth Read / Write @@ -294,19 +294,19 @@ -GArray * +GArray * priority-group-id Read / Write -GArray * +GArray * priority-strict-bandwidth Read / Write -GArray * +GArray * priority-traffic-class Read / Write @@ -406,9 +406,9 @@

Object Hierarchy

-
    GFlags
+
    GFlags
     ╰── NMSettingDcbFlags
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingDcb
 
@@ -462,7 +462,7 @@ nm_setting_dcb_get_app_fcoe_flags (

nm_setting_dcb_get_app_fcoe_priority ()

-
gint
+
gint
 nm_setting_dcb_get_app_fcoe_priority (NMSettingDcb *setting);

Parameters

@@ -537,7 +537,7 @@ nm_setting_dcb_get_app_iscsi_flags (

nm_setting_dcb_get_app_iscsi_priority ()

-
gint
+
gint
 nm_setting_dcb_get_app_iscsi_priority (NMSettingDcb *setting);

Parameters

@@ -587,7 +587,7 @@ nm_setting_dcb_get_app_fip_flags (

nm_setting_dcb_get_app_fip_priority ()

-
gint
+
gint
 nm_setting_dcb_get_app_fip_priority (NMSettingDcb *setting);

Parameters

@@ -638,10 +638,10 @@ nm_setting_dcb_get_priority_flow_control_flags

nm_setting_dcb_get_priority_flow_control ()

-
gboolean
+
gboolean
 nm_setting_dcb_get_priority_flow_control
                                (NMSettingDcb *setting,
-                                guint user_priority);
+ guint user_priority);

Parameters

@@ -666,9 +666,9 @@ nm_setting_dcb_get_priority_flow_control

Returns

-

TRUE if flow control is enabled for the given user_priority +

TRUE if flow control is enabled for the given user_priority , -FALSE if not enabled

+FALSE if not enabled


@@ -677,8 +677,8 @@ nm_setting_dcb_get_priority_flow_control
void
 nm_setting_dcb_set_priority_flow_control
                                (NMSettingDcb *setting,
-                                guint user_priority,
-                                gboolean enabled);
+ guint user_priority, + gboolean enabled);

These values are only valid when “priority-flow-control” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -702,7 +702,7 @@ the
- + @@ -738,9 +738,9 @@ nm_setting_dcb_get_priority_group_flags

nm_setting_dcb_get_priority_group_id ()

-
guint
+
guint
 nm_setting_dcb_get_priority_group_id (NMSettingDcb *setting,
-                                      guint user_priority);
+ guint user_priority);

Parameters

enabled

TRUE to enable flow control for this priority, FALSE to disable it

TRUE to enable flow control for this priority, FALSE to disable it

 
@@ -776,8 +776,8 @@ only valid when

nm_setting_dcb_set_priority_group_id ()

void
 nm_setting_dcb_set_priority_group_id (NMSettingDcb *setting,
-                                      guint user_priority,
-                                      guint group_id);
+ guint user_priority, + guint group_id);

These values are only valid when “priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -813,10 +813,10 @@ unrestricted group.


nm_setting_dcb_get_priority_group_bandwidth ()

-
guint
+
guint
 nm_setting_dcb_get_priority_group_bandwidth
                                (NMSettingDcb *setting,
-                                guint group_id);
+ guint group_id);

Parameters

@@ -853,8 +853,8 @@ only valid when void nm_setting_dcb_set_priority_group_bandwidth (NMSettingDcb *setting, - guint group_id, - guint bandwidth_percent); + guint group_id, + guint bandwidth_percent);

These values are only valid when “priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -889,9 +889,9 @@ to


nm_setting_dcb_get_priority_bandwidth ()

-
guint
+
guint
 nm_setting_dcb_get_priority_bandwidth (NMSettingDcb *setting,
-                                       guint user_priority);
+ guint user_priority);

Parameters

@@ -927,8 +927,8 @@ These values are only valid when

nm_setting_dcb_set_priority_bandwidth ()

void
 nm_setting_dcb_set_priority_bandwidth (NMSettingDcb *setting,
-                                       guint user_priority,
-                                       guint bandwidth_percent);
+ guint user_priority, + guint bandwidth_percent);

These values are only valid when “priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -964,10 +964,10 @@ allowed to use within its priority group


nm_setting_dcb_get_priority_strict_bandwidth ()

-
gboolean
+
gboolean
 nm_setting_dcb_get_priority_strict_bandwidth
                                (NMSettingDcb *setting,
-                                guint user_priority);
+ guint user_priority);

Parameters

@@ -992,9 +992,9 @@ nm_setting_dcb_get_priority_strict_bandwidth

Returns

-

TRUE if user_priority +

TRUE if user_priority may use all of the bandwidth allocated to its -assigned group, or FALSE if not. These values are only valid when +assigned group, or FALSE if not. These values are only valid when “priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -1004,8 +1004,8 @@ assigned group, or FALSE if not. These values are o
void
 nm_setting_dcb_set_priority_strict_bandwidth
                                (NMSettingDcb *setting,
-                                guint user_priority,
-                                gboolean strict);
+ guint user_priority, + gboolean strict);

These values are only valid when “priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -1029,9 +1029,9 @@ the
- +its priority group, or FALSE if not

@@ -1041,10 +1041,10 @@ its priority group, or FALSE if not


nm_setting_dcb_get_priority_traffic_class ()

-
guint
+
guint
 nm_setting_dcb_get_priority_traffic_class
                                (NMSettingDcb *setting,
-                                guint user_priority);
+ guint user_priority);

Parameters

strict

TRUE to allow user_priority +

TRUE to allow user_priority to use all the bandwidth allocated to -its priority group, or FALSE if not

 
@@ -1081,8 +1081,8 @@ valid when void nm_setting_dcb_set_priority_traffic_class (NMSettingDcb *setting, - guint user_priority, - guint traffic_class); + guint user_priority, + guint traffic_class);
@@ -1262,7 +1262,7 @@ be any combination of

The “app-fcoe-mode” property

-
  “app-fcoe-mode”            gchar *
+
  “app-fcoe-mode”            gchar *

The FCoE controller mode; either NM_SETTING_DCB_FCOE_MODE_FABRIC (default) or NM_SETTING_DCB_FCOE_MODE_VN2VN.

Flags: Read / Write / Construct

@@ -1271,7 +1271,7 @@ be any combination of

The “app-fcoe-priority” property

-
  “app-fcoe-priority”        gint
+
  “app-fcoe-priority”        gint

The highest User Priority (0 - 7) which FCoE frames should use, or -1 for default priority. Only used when the “app-fcoe-flags” property includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -1291,7 +1291,7 @@ be any combination of

The “app-fip-priority” property

-
  “app-fip-priority”         gint
+
  “app-fip-priority”         gint

The highest User Priority (0 - 7) which FIP frames should use, or -1 for default priority. Only used when the “app-fip-flags” property includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -1311,7 +1311,7 @@ may be any combination of

The “app-iscsi-priority” property

-
  “app-iscsi-priority”       gint
+
  “app-iscsi-priority”       gint

The highest User Priority (0 - 7) which iSCSI frames should use, or -1 for default priority. Only used when the “app-iscsi-flags” property includes the NM_SETTING_DCB_FLAG_ENABLE flag.

@@ -1322,19 +1322,19 @@ property includes the

The “priority-bandwidth” property

-
  “priority-bandwidth”       GArray *
+
  “priority-bandwidth”       GArray *

An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the percentage of bandwidth of the priority's assigned group that the priority may use. The sum of all percentages for priorities which belong to the same group must total 100 -percent.

+percents.

Element-type: guint

Flags: Read / Write


The “priority-flow-control” property

-
  “priority-flow-control”    GArray *
+
  “priority-flow-control”    GArray *

An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the corresponding priority should transmit priority pause.

@@ -1353,11 +1353,11 @@ Flags may be any combination of

The “priority-group-bandwidth” property

-
  “priority-group-bandwidth” GArray *
+
  “priority-group-bandwidth” GArray *

An array of 8 uint values, where the array index corresponds to the Priority Group ID (0 - 7) and the value indicates the percentage of link bandwidth allocated to that group. Allowed values are 0 - 100, and the -sum of all values must total 100 percent.

+sum of all values must total 100 percents.

Element-type: guint

Flags: Read / Write

@@ -1373,7 +1373,7 @@ any combination of

The “priority-group-id” property

-
  “priority-group-id”        GArray *
+
  “priority-group-id”        GArray *

An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the Priority Group ID. Allowed Priority Group ID values are 0 - 7 or 15 for the unrestricted group.

@@ -1383,7 +1383,7 @@ Priority Group ID values are 0 - 7 or 15 for the unrestricted group.


The “priority-strict-bandwidth” property

-
  “priority-strict-bandwidth” GArray *
+
  “priority-strict-bandwidth” GArray *

An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the priority may use all of the bandwidth allocated to its assigned group.

@@ -1393,7 +1393,7 @@ use all of the bandwidth allocated to its assigned group.


The “priority-traffic-class” property

-
  “priority-traffic-class”   GArray *
+
  “priority-traffic-class”   GArray *

An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the traffic class (0 - 7) to which the priority is mapped.

diff --git a/docs/libnm/html/NMSettingDummy.html b/docs/libnm/html/NMSettingDummy.html index d94079c5..17d5d116 100644 --- a/docs/libnm/html/NMSettingDummy.html +++ b/docs/libnm/html/NMSettingDummy.html @@ -70,7 +70,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingDummy
 
diff --git a/docs/libnm/html/NMSettingGeneric.html b/docs/libnm/html/NMSettingGeneric.html index 4332a58e..a6ae4f6e 100644 --- a/docs/libnm/html/NMSettingGeneric.html +++ b/docs/libnm/html/NMSettingGeneric.html @@ -70,7 +70,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingGeneric
 
diff --git a/docs/libnm/html/NMSettingGsm.html b/docs/libnm/html/NMSettingGsm.html index 111a4a4e..2be36702 100644 --- a/docs/libnm/html/NMSettingGsm.html +++ b/docs/libnm/html/NMSettingGsm.html @@ -93,7 +93,7 @@
+gchar * +gchar * - + - + +gchar * +gchar * +gchar * @@ -203,7 +203,7 @@ +gchar * @@ -214,19 +214,19 @@ +gchar * +gchar * +gchar * @@ -306,7 +306,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingGsm
 
@@ -482,7 +482,7 @@ nm_setting_gsm_get_pin (

nm_setting_gsm_get_home_only ()

-
gboolean
+
gboolean
 nm_setting_gsm_get_home_only (NMSettingGsm *setting);

Parameters

@@ -585,7 +585,7 @@ nm_setting_gsm_get_sim_operator_id (

nm_setting_gsm_get_mtu ()

-
guint32
+
guint32
 nm_setting_gsm_get_mtu (NMSettingGsm *setting);

Parameters

@@ -755,7 +755,7 @@ nm_setting_gsm_get_password_flags (

Property Details

The “apn” property

-
  “apn”                      gchar *
+
  “apn”                      gchar *

The GPRS Access Point Name specifying the APN used when establishing a data session with the GSM-based network. The APN often determines how the user will be billed for their network usage and whether the user has @@ -769,7 +769,7 @@ The APN may only be composed of the characters a-z, 0-9, ., and - per GSM


The “device-id” property

-
  “device-id”                gchar *
+
  “device-id”                gchar *

The device unique identifier (as given by the WWAN management service) which this connection applies to. If given, the connection will only apply to the specified device.

@@ -780,8 +780,8 @@ apply to the specified device.


The “home-only” property

-
  “home-only”                gboolean
-

When TRUE, only connections to the home network will be allowed. +

  “home-only”                gboolean
+

When TRUE, only connections to the home network will be allowed. Connections to roaming networks will not be made.

Flags: Read / Write

Default value: FALSE

@@ -789,7 +789,7 @@ Connections to roaming networks will not be made.


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.

Flags: Read / Write / Construct

@@ -799,7 +799,7 @@ breaking larger packets up into multiple frames.


The “network-id” property

-
  “network-id”               gchar *
+
  “network-id”               gchar *

The Network ID (GSM LAI format, ie MCC-MNC) to force specific network registration. If the Network ID is specified, NetworkManager will attempt to force the device to register only on the specified network. @@ -811,7 +811,7 @@ roaming control of the device is not otherwise possible.


The “number” property

-
  “number”                   gchar *
+
  “number”                   gchar *

Number to dial when establishing a PPP data session with the GSM-based mobile broadband network. Many modems do not require PPP for connections to the mobile network and thus this property should be left blank, which @@ -822,7 +822,7 @@ allows NetworkManager to select the appropriate settings automatically.


The “password” property

-
  “password”                 gchar *
+
  “password”                 gchar *

The password used to authenticate with the network, if required. Many providers do not require a password, or accept any password. But if a password is required, it is specified here.

@@ -839,7 +839,7 @@ password is required, it is specified here.


The “pin” property

-
  “pin”                      gchar *
+
  “pin”                      gchar *

If the SIM is locked with a PIN it must be unlocked before any other operations are requested. Specify the PIN here to allow operation of the device.

@@ -856,7 +856,7 @@ device.


The “sim-id” property

-
  “sim-id”                   gchar *
+
  “sim-id”                   gchar *

The SIM card unique identifier (as given by the WWAN management service) which this connection applies to. If given, the connection will apply to any device also allowed by “device-id” which contains a @@ -868,12 +868,12 @@ SIM card matching the given identifier.


The “sim-operator-id” property

-
  “sim-operator-id”          gchar *
+
  “sim-operator-id”          gchar *

A MCC/MNC string like "310260" or "21601" identifying the specific mobile network operator which this connection applies to. If given, the connection will apply to any device also allowed by “device-id” and “sim-id” which contains a SIM -card provisioined by the given operator.

+card provisioned by the given operator.

Flags: Read / Write

Default value: NULL

Since: 1.2

@@ -881,7 +881,7 @@ card provisioined by the given operator.


The “username” property

-
  “username”                 gchar *
+
  “username”                 gchar *

The username used to authenticate with the network, if required. Many providers do not require a username, or accept any username. But if a username is required, it is specified here.

diff --git a/docs/libnm/html/NMSettingIP4Config.html b/docs/libnm/html/NMSettingIP4Config.html index e83eee7f..963b1637 100644 --- a/docs/libnm/html/NMSettingIP4Config.html +++ b/docs/libnm/html/NMSettingIP4Config.html @@ -77,13 +77,13 @@
+gchar * +gchar * @@ -139,7 +139,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingIPConfig
             ╰── NMSettingIP4Config
@@ -309,7 +309,7 @@ through that interface to the default network.

Property Details

The “dhcp-client-id” property

-
  “dhcp-client-id”           gchar *
+
  “dhcp-client-id”           gchar *

A string sent to the DHCP server to identify the local machine which the DHCP server may use to customize the DHCP lease and options. When the property is a hex string ('aa:bb:cc') it is interpreted as a @@ -325,8 +325,8 @@ non-hardware-address client ID and the 'type' field is set to 0.


The “dhcp-fqdn” property

-
  “dhcp-fqdn”                gchar *
-

If the “dhcp-send-hostname” property is TRUE, then the +

  “dhcp-fqdn”                gchar *
+

If the “dhcp-send-hostname” property is TRUE, then the specified FQDN will be sent to the DHCP server when acquiring a lease. This property and “dhcp-hostname” are mutually exclusive and cannot be set at the same time.

diff --git a/docs/libnm/html/NMSettingIP6Config.html b/docs/libnm/html/NMSettingIP6Config.html index 00bf63d0..b4b41ffb 100644 --- a/docs/libnm/html/NMSettingIP6Config.html +++ b/docs/libnm/html/NMSettingIP6Config.html @@ -85,7 +85,7 @@
- + @@ -96,7 +96,7 @@ +gchar * @@ -168,10 +168,10 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMSettingIP6ConfigAddrGenMode
     ╰── NMSettingIP6ConfigPrivacy
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingIPConfig
             ╰── NMSettingIP6Config
@@ -467,24 +467,25 @@ specified by RFC7217.

Property Details

The “addr-gen-mode” property

-
  “addr-gen-mode”            gint
+
  “addr-gen-mode”            gint

Configure method for creating the address for use with RFC4862 IPv6 -Stateless Address Autoconfiguration. The permitted values are: "eui64", -or "stable-privacy".

-

If the property is set to "eui64", the addresses will be generated -using the interface tokens derived from hardware address. This makes +Stateless Address Autoconfiguration. The permitted values are: +NM_SETTING_IP6_CONFIG_ADDR_GEN_MODE_EUI64 or +NM_SETTING_IP6_CONFIG_ADDR_GEN_MODE_STABLE_PRIVACY.

+

If the property is set to EUI64, the addresses will be generated +using the interface tokens derived from hardware address. This makes the host part of the address to stay constant, making it possible to track host's presence when it changes networks. The address changes when the interface hardware is replaced.

-

The value of "stable-privacy" enables use of cryptographically +

The value of stable-privacy enables use of cryptographically secure hash of a secret host-specific key along with the connection's stable-id and the network address as specified by RFC7217. This makes it impossible to use the address track host's presence, and makes the address stable when the network interface hardware is replaced.

On D-Bus, the absence of an addr-gen-mode setting equals enabling -"stable-privacy". For keyfile plugin, the absence of the setting -on disk means "eui64" so that the property doesn't change on upgrade +stable-privacy. For keyfile plugin, the absence of the setting +on disk means EUI64 so that the property doesn't change on upgrade from older versions.

Note that this setting is distinct from the Privacy Extensions as configured by "ip6-privacy" property and it does not affect the @@ -517,7 +518,7 @@ setting as another way of avoiding host tracking with IPv6 addresses.


The “token” property

-
  “token”                    gchar *
+
  “token”                    gchar *

Configure the token for draft-chown-6man-tokenised-ipv6-identifiers-02 IPv6 tokenized interface identifiers. Useful with eui64 addr-gen-mode.

Flags: Read / Write

diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index e7722f0b..f0a5107f 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -76,7 +76,7 @@
+ + + + + + + + +GPtrArray * - + +gchar * - + - + - + - + - + - + +gchar * - + - + - + +gchar * - + - + + + + + + +GPtrArray * @@ -819,6 +840,10 @@ + + + + @@ -911,6 +936,10 @@ + + + + @@ -1010,10 +1039,10 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ├── NMIPAddress
     ╰── NMIPRoute
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingIPConfig
             ├── NMSettingIP4Config
@@ -1038,8 +1067,8 @@ related to IP addressing, routing, and Domain Name Service.

NMIPAddress *
 nm_ip_address_new (int family,
                    const char *addr,
-                   guint prefix,
-                   GError **error);
+ guint prefix, + GError **error);

Creates a new NMIPAddress object.

Parameters

@@ -1068,7 +1097,7 @@ nm_ip_address_new (int fam
- + @@ -1076,7 +1105,7 @@ nm_ip_address_new (int fam

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1085,9 +1114,9 @@ nm_ip_address_new (int fam

nm_ip_address_new_binary ()

NMIPAddress *
 nm_ip_address_new_binary (int family,
-                          gconstpointer addr,
-                          guint prefix,
-                          GError **error);
+ gconstpointer addr, + guint prefix, + GError **error);

Creates a new NMIPAddress object. addr must point to a buffer of the correct size for family @@ -1119,7 +1148,7 @@ correct size for family

- + @@ -1127,7 +1156,7 @@ correct size for family

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1179,7 +1208,7 @@ reaches zero, the object will be destroyed.


nm_ip_address_equal ()

-
gboolean
+
gboolean
 nm_ip_address_equal (NMIPAddress *address,
                      NMIPAddress *other);

Determines if two NMIPAddress objects contain the same address and prefix @@ -1209,7 +1238,7 @@ to.

Returns

-

TRUE if the objects contain the same values, FALSE if they do not.

+

TRUE if the objects contain the same values, FALSE if they do not.


@@ -1333,7 +1362,7 @@ have a valid address, use

nm_ip_address_get_address_binary ()

void
 nm_ip_address_get_address_binary (NMIPAddress *address,
-                                  gpointer addr);
+ gpointer addr);

Gets the IP address property of this address object.

addr must point to a buffer that is the correct size for address @@ -1367,7 +1396,7 @@ nm_ip_address_get_address_binary (

nm_ip_address_set_address_binary ()

void
 nm_ip_address_set_address_binary (NMIPAddress *address,
-                                  gconstpointer addr);
+ gconstpointer addr);

Sets the IP address property of this address object.

addr must point to a buffer that is the correct size for address @@ -1399,7 +1428,7 @@ nm_ip_address_set_address_binary (

nm_ip_address_get_prefix ()

-
guint
+
guint
 nm_ip_address_get_prefix (NMIPAddress *address);

Gets the IP address prefix (ie "24" or "30" etc) property of this address object.

@@ -1428,7 +1457,7 @@ object.

nm_ip_address_set_prefix ()

void
 nm_ip_address_set_prefix (NMIPAddress *address,
-                          guint prefix);
+ guint prefix);

Sets the IP address prefix property of this address object.

Parameters

@@ -1477,14 +1506,14 @@ nm_ip_address_get_attribute_names (

Returns

-

a NULL-terminated array of attribute names,.

+

a NULL-terminated array of attribute names,.

[transfer full]


nm_ip_address_get_attribute ()

-
GVariant *
+
GVariant *
 nm_ip_address_get_attribute (NMIPAddress *address,
                              const char *name);

Gets the value of the attribute with name name @@ -1517,7 +1546,7 @@ nm_ip_address_get_attribute (name on address -, or NULL if address +, or NULL if address has no such attribute.

[transfer none]

@@ -1528,7 +1557,7 @@ has no such attribute.

void
 nm_ip_address_set_attribute (NMIPAddress *address,
                              const char *name,
-                             GVariant *value);
+ GVariant *value);

Sets or clears the named attribute on address to the given value.

@@ -1565,10 +1594,10 @@ nm_ip_address_set_attribute (NMIPRoute * nm_ip_route_new (int family, const char *dest, - guint prefix, + guint prefix, const char *next_hop, - gint64 metric, - GError **error); + gint64 metric, + GError **error);

Creates a new NMIPRoute object.

Parameters

@@ -1597,7 +1626,7 @@ nm_ip_route_new (int famil
- + @@ -1607,7 +1636,7 @@ nm_ip_route_new (int famil - + @@ -1615,7 +1644,7 @@ nm_ip_route_new (int famil

Returns

-

the new NMIPRoute object, or NULL on error.

+

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1624,14 +1653,14 @@ nm_ip_route_new (int famil

nm_ip_route_new_binary ()

NMIPRoute *
 nm_ip_route_new_binary (int family,
-                        gconstpointer dest,
-                        guint prefix,
-                        gconstpointer next_hop,
-                        gint64 metric,
-                        GError **error);
+ gconstpointer dest, + guint prefix, + gconstpointer next_hop, + gint64 metric, + GError **error);

Creates a new NMIPRoute object. dest and next_hop - (if non-NULL) must + (if non-NULL) must point to buffers of the correct size for family .

@@ -1661,7 +1690,7 @@ point to buffers of the correct size for family
- + @@ -1671,7 +1700,7 @@ point to buffers of the correct size for family - + @@ -1679,7 +1708,7 @@ point to buffers of the correct size for family

Returns

-

the new NMIPRoute object, or NULL on error.

+

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1731,7 +1760,7 @@ reaches zero, the object will be destroyed.


nm_ip_route_equal ()

-
gboolean
+
gboolean
 nm_ip_route_equal (NMIPRoute *route,
                    NMIPRoute *other);

Determines if two NMIPRoute objects contain the same destination, prefix, @@ -1761,8 +1790,53 @@ to.

Returns

-

TRUE if the objects contain the same values, FALSE if they do not.

+

TRUE if the objects contain the same values, FALSE if they do not.

+
+ +
+
+

nm_ip_route_equal_full ()

+
gboolean
+nm_ip_route_equal_full (NMIPRoute *route,
+                        NMIPRoute *other,
+                        guint cmp_flags);
+

Determines if two NMIPRoute objects contain the same destination, prefix, +next hop, and metric.

+
+

Parameters

+
-gboolean +gboolean nm_setting_gsm_get_home_only () @@ -122,7 +122,7 @@
-guint32 +guint32 nm_setting_gsm_get_mtu () @@ -158,41 +158,41 @@
-gchar * apn Read / Write
-gchar * device-id Read / Write
gbooleangboolean home-only Read / Write
guintguint mtu Read / Write / Construct
-gchar * network-id Read / Write
-gchar * number Read / Write
-gchar * password Read / Write
-gchar * pin Read / Write
-gchar * sim-id Read / Write
-gchar * sim-operator-id Read / Write
-gchar * username Read / Write
-gchar *dhcp-client-id Read / Write
-gchar *dhcp-fqdn Read / Write
gintgint addr-gen-mode Read / Write / Construct
-gchar *token Read / Write
-gboolean +gboolean nm_ip_address_equal () @@ -131,7 +131,7 @@
-guint +guint nm_ip_address_get_prefix () @@ -155,7 +155,7 @@
-GVariant * +GVariant * nm_ip_address_get_attribute () @@ -203,7 +203,7 @@
-gboolean +gboolean nm_ip_route_equal () @@ -211,6 +211,14 @@
+gboolean + +nm_ip_route_equal_full () +
NMIPRoute * @@ -258,7 +266,7 @@
-guint +guint nm_ip_route_get_prefix () @@ -289,7 +297,7 @@
-gboolean +gboolean nm_ip_route_get_next_hop_binary () @@ -305,7 +313,7 @@
-gint64 +gint64 nm_ip_route_get_metric () @@ -329,7 +337,7 @@
-GVariant * +GVariant * nm_ip_route_get_attribute () @@ -352,7 +360,7 @@
-gboolean +gboolean nm_ip_route_attribute_validate () @@ -367,7 +375,7 @@
-guint +guint nm_setting_ip_config_get_num_dns () @@ -382,7 +390,7 @@
-gboolean +gboolean nm_setting_ip_config_add_dns () @@ -398,7 +406,7 @@
-gboolean +gboolean nm_setting_ip_config_remove_dns_by_value () @@ -414,7 +422,7 @@
-guint +guint nm_setting_ip_config_get_num_dns_searches () @@ -429,7 +437,7 @@
-gboolean +gboolean nm_setting_ip_config_add_dns_search () @@ -445,7 +453,7 @@
-gboolean +gboolean nm_setting_ip_config_remove_dns_search_by_value () @@ -461,7 +469,7 @@
-guint +guint nm_setting_ip_config_get_num_dns_options () @@ -469,7 +477,7 @@
-gboolean +gboolean nm_setting_ip_config_has_dns_options () @@ -484,7 +492,7 @@
-gint +gint nm_setting_ip_config_next_valid_dns_option () @@ -492,7 +500,7 @@
-gboolean +gboolean nm_setting_ip_config_add_dns_option () @@ -508,7 +516,7 @@
-gboolean +gboolean nm_setting_ip_config_remove_dns_option_by_value () @@ -524,7 +532,7 @@
-gint +gint nm_setting_ip_config_get_dns_priority () @@ -532,7 +540,7 @@
-guint +guint nm_setting_ip_config_get_num_addresses () @@ -548,7 +556,7 @@
-gboolean +gboolean nm_setting_ip_config_add_address () @@ -564,7 +572,7 @@
-gboolean +gboolean nm_setting_ip_config_remove_address_by_value () @@ -587,7 +595,7 @@
-guint +guint nm_setting_ip_config_get_num_routes () @@ -603,7 +611,7 @@
-gboolean +gboolean nm_setting_ip_config_add_route () @@ -619,7 +627,7 @@
-gboolean +gboolean nm_setting_ip_config_remove_route_by_value () @@ -635,7 +643,7 @@
-gint64 +gint64 nm_setting_ip_config_get_route_metric () @@ -643,7 +651,15 @@
-gboolean +guint32 + +nm_setting_ip_config_get_route_table () +
+gboolean nm_setting_ip_config_get_ignore_auto_routes () @@ -651,7 +667,7 @@
-gboolean +gboolean nm_setting_ip_config_get_ignore_auto_dns () @@ -666,7 +682,7 @@
-gboolean +gboolean nm_setting_ip_config_get_dhcp_send_hostname () @@ -674,7 +690,7 @@
-gboolean +gboolean nm_setting_ip_config_get_never_default () @@ -682,7 +698,7 @@
-gboolean +gboolean nm_setting_ip_config_get_may_fail () @@ -690,7 +706,7 @@
-gint +gint nm_setting_ip_config_get_dad_timeout () @@ -698,7 +714,7 @@
-gint +gint nm_setting_ip_config_get_dhcp_timeout () @@ -718,91 +734,96 @@
-GPtrArray *addresses Read / Write
gintgint dad-timeout Read / Write / Construct
-gchar *dhcp-hostname Read / Write
gbooleangboolean dhcp-send-hostname Read / Write / Construct
gintgint dhcp-timeout Read / Write
GStrvGStrv dns Read / Write
GStrvGStrv dns-options Read / Write
gintgint dns-priority Read / Write / Construct
GStrvGStrv dns-search Read / Write
-gchar *gateway Read / Write
gbooleangboolean ignore-auto-dns Read / Write / Construct
gbooleangboolean ignore-auto-routes Read / Write / Construct
gbooleangboolean may-fail Read / Write / Construct
-gchar *method Read / Write
gbooleangboolean never-default Read / Write / Construct
gint64gint64 route-metric Read / Write / Construct
guintroute-tableRead / Write
-GPtrArray *routes Read / Write
#defineNM_IP_ROUTE_ATTRIBUTE_TABLE
#define NM_IP_ROUTE_ATTRIBUTE_SRC
#defineNM_SETTING_IP_CONFIG_ROUTE_TABLE
#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES

error

location to store error, or NULL

location to store error, or NULL

 

error

location to store error, or NULL

location to store error, or NULL

 

next_hop

the IP address of the next hop (or NULL).

the IP address of the next hop (or NULL).

[allow-none]

error

location to store error, or NULL

location to store error, or NULL

 

next_hop

the IP address of the next hop (or NULL).

the IP address of the next hop (or NULL).

[allow-none]

error

location to store error, or NULL

location to store error, or NULL

 
+++++ + + + + + + + + + + + + + + + + + +

route

the NMIPRoute

 

other

the NMIPRoute to compare route +to.

 

cmp_flags

tune how to compare attributes. Currently only +NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE (0) and NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS (1) +is supported.

 
+
+
+

Returns

+

TRUE if the objects contain the same values, FALSE if they do not.

+

Since: 1.10


@@ -1885,7 +1959,7 @@ have a valid address, use

nm_ip_route_get_dest_binary ()

void
 nm_ip_route_get_dest_binary (NMIPRoute *route,
-                             gpointer dest);
+ gpointer dest);

Gets the destination property of this route object.

dest must point to a buffer that is the correct size for route @@ -1919,7 +1993,7 @@ nm_ip_route_get_dest_binary (

nm_ip_route_set_dest_binary ()

void
 nm_ip_route_set_dest_binary (NMIPRoute *route,
-                             gconstpointer dest);
+ gconstpointer dest);

Sets the destination property of this route object.

dest must point to a buffer that is the correct size for route @@ -1951,7 +2025,7 @@ nm_ip_route_set_dest_binary (

nm_ip_route_get_prefix ()

-
guint
+
guint
 nm_ip_route_get_prefix (NMIPRoute *route);

Gets the IP prefix (ie "24" or "30" etc) of this route.

@@ -1979,7 +2053,7 @@ nm_ip_route_get_prefix (

nm_ip_route_set_prefix ()

void
 nm_ip_route_set_prefix (NMIPRoute *route,
-                        guint prefix);
+ guint prefix);

Sets the prefix property of this route object.

Parameters

@@ -2009,7 +2083,7 @@ nm_ip_route_set_prefix (

nm_ip_route_get_next_hop ()

const char *
 nm_ip_route_get_next_hop (NMIPRoute *route);
-

Gets the IP address of the next hop of this route; this will be NULL if the +

Gets the IP address of the next hop of this route; this will be NULL if the route has no next hop.

Parameters

@@ -2028,7 +2102,7 @@ route has no next hop.

Returns

-

the IP address of the next hop, or NULL if this is a device route.

+

the IP address of the next hop, or NULL if this is a device route.


@@ -2039,7 +2113,7 @@ nm_ip_route_set_next_hop (const char *next_hop);

Sets the next-hop property of this route object.

next_hop - (if non-NULL) must be a valid address of route + (if non-NULL) must be a valid address of route 's family. If you aren't sure you have a valid address, use nm_utils_ipaddr_valid() to check it.

@@ -2069,9 +2143,9 @@ it.


nm_ip_route_get_next_hop_binary ()

-
gboolean
+
gboolean
 nm_ip_route_get_next_hop_binary (NMIPRoute *route,
-                                 gpointer next_hop);
+ gpointer next_hop);

Gets the next hop property of this route object.

next_hop must point to a buffer that is the correct size for route @@ -2101,8 +2175,8 @@ nm_ip_route_get_next_hop_binary (

Returns

-

TRUE if route -has a next hop, FALSE if not (in which case +

TRUE if route +has a next hop, FALSE if not (in which case next_hop will be zeroed out)

@@ -2112,10 +2186,10 @@ will be zeroed out)

nm_ip_route_set_next_hop_binary ()

void
 nm_ip_route_set_next_hop_binary (NMIPRoute *route,
-                                 gconstpointer next_hop);
+ gconstpointer next_hop);

Sets the destination property of this route object.

next_hop - (if non-NULL) must point to a buffer that is the correct size for + (if non-NULL) must point to a buffer that is the correct size for route 's family.

[skip]

@@ -2145,7 +2219,7 @@ nm_ip_route_set_next_hop_binary (

nm_ip_route_get_metric ()

-
gint64
+
gint64
 nm_ip_route_get_metric (NMIPRoute *route);

Gets the route metric property of this route object; lower values indicate "better" or more preferred routes; -1 indicates "default" @@ -2175,7 +2249,7 @@ indicate "better" or more preferred routes; -1 indicates "default"

nm_ip_route_set_metric ()

void
 nm_ip_route_set_metric (NMIPRoute *route,
-                        gint64 metric);
+ gint64 metric);

Sets the metric property of this route object.

Parameters

@@ -2224,14 +2298,14 @@ nm_ip_route_get_attribute_names (

Returns

-

a NULL-terminated array of attribute names.

+

a NULL-terminated array of attribute names.

[transfer full]


nm_ip_route_get_attribute ()

-
GVariant *
+
GVariant *
 nm_ip_route_get_attribute (NMIPRoute *route,
                            const char *name);

Gets the value of the attribute with name name @@ -2264,7 +2338,7 @@ nm_ip_route_get_attribute (name on route -, or NULL if route +, or NULL if route has no such attribute.

[transfer none]

@@ -2275,7 +2349,7 @@ has no such attribute.

void
 nm_ip_route_set_attribute (NMIPRoute *route,
                            const char *name,
-                           GVariant *value);
+ GVariant *value);

Sets the named attribute on route to the given value.

@@ -2321,12 +2395,12 @@ nm_ip_route_get_variant_attribute_spec

nm_ip_route_attribute_validate ()

-
gboolean
+
gboolean
 nm_ip_route_attribute_validate (const char *name,
-                                GVariant *value,
+                                GVariant *value,
                                 int family,
-                                gboolean *known,
-                                GError **error);
+ gboolean *known, + GError **error);

Validates a route attribute, i.e. checks that the attribute is a known one and the value is of the correct type and well-formed.

@@ -2360,7 +2434,7 @@ and the value is of the correct type and well-formed.

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -2368,7 +2442,7 @@ and the value is of the correct type and well-formed.

Returns

-

TRUE if the attribute is valid, FALSE otherwise

+

TRUE if the attribute is valid, FALSE otherwise

Since: 1.8

@@ -2402,7 +2476,7 @@ methods available with each type.


nm_setting_ip_config_get_num_dns ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns (NMSettingIPConfig *setting);

Parameters

@@ -2461,7 +2535,7 @@ nm_setting_ip_config_get_dns (

nm_setting_ip_config_add_dns ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns (NMSettingIPConfig *setting,
                               const char *dns);

Adds a new DNS server to the setting.

@@ -2489,7 +2563,7 @@ nm_setting_ip_config_add_dns (

Returns

-

TRUE if the DNS server was added; FALSE if the server was already +

TRUE if the DNS server was added; FALSE if the server was already known

@@ -2527,7 +2601,7 @@ nm_setting_ip_config_remove_dns (

nm_setting_ip_config_remove_dns_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns);
@@ -2557,7 +2631,7 @@ nm_setting_ip_config_remove_dns_by_value

Returns

-

TRUE if the DNS server was found and removed; FALSE if it was not.

+

TRUE if the DNS server was found and removed; FALSE if it was not.


@@ -2585,7 +2659,7 @@ nm_setting_ip_config_clear_dns (

nm_setting_ip_config_get_num_dns_searches ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns_searches
                                (NMSettingIPConfig *setting);
@@ -2645,7 +2719,7 @@ nm_setting_ip_config_get_dns_search (

nm_setting_ip_config_add_dns_search ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns_search (NMSettingIPConfig *setting,
                                      const char *dns_search);

Adds a new DNS search domain to the setting.

@@ -2673,7 +2747,7 @@ nm_setting_ip_config_add_dns_search (

Returns

-

TRUE if the DNS search domain was added; FALSE if the search +

TRUE if the DNS search domain was added; FALSE if the search domain was already known

@@ -2712,7 +2786,7 @@ nm_setting_ip_config_remove_dns_search

nm_setting_ip_config_remove_dns_search_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_search_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns_search);
@@ -2742,7 +2816,7 @@ nm_setting_ip_config_remove_dns_search_by_value

Returns

-

TRUE if the DNS search domain was found and removed; FALSE if it was not.

+

TRUE if the DNS search domain was found and removed; FALSE if it was not.

Since 0.9.10

@@ -2772,7 +2846,7 @@ nm_setting_ip_config_clear_dns_searches

nm_setting_ip_config_get_num_dns_options ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns_options
                                (NMSettingIPConfig *setting);
@@ -2799,7 +2873,7 @@ nm_setting_ip_config_get_num_dns_options

nm_setting_ip_config_has_dns_options ()

-
gboolean
+
gboolean
 nm_setting_ip_config_has_dns_options (NMSettingIPConfig *setting);

NMSettingIPConfig can have a list of dns-options. If the list is empty, there are two similar (but differentiated) states. @@ -2831,7 +2905,7 @@ a default configuration, while the former explicitly means "no-options".

nm_setting_ip_config_get_dns_option ()

const char *
 nm_setting_ip_config_get_dns_option (NMSettingIPConfig *setting,
-                                     guint idx);
+ guint idx);

Parameters

@@ -2864,10 +2938,10 @@ nm_setting_ip_config_get_dns_option (

nm_setting_ip_config_next_valid_dns_option ()

-
gint
+
gint
 nm_setting_ip_config_next_valid_dns_option
                                (NMSettingIPConfig *setting,
-                                guint idx);
+ guint idx);

Parameters

@@ -2901,7 +2975,7 @@ DNS option, or -1 if no valid option is found


nm_setting_ip_config_add_dns_option ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns_option (NMSettingIPConfig *setting,
                                      const char *dns_option);

Adds a new DNS option to the setting.

@@ -2929,7 +3003,7 @@ nm_setting_ip_config_add_dns_option (

Returns

-

TRUE if the DNS option was added; FALSE otherwise

+

TRUE if the DNS option was added; FALSE otherwise

Since: 1.2

@@ -2969,7 +3043,7 @@ nm_setting_ip_config_remove_dns_option

nm_setting_ip_config_remove_dns_option_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_option_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns_option);
@@ -2999,7 +3073,7 @@ nm_setting_ip_config_remove_dns_option_by_value

Returns

-

TRUE if the DNS option was found and removed; FALSE if it was not.

+

TRUE if the DNS option was found and removed; FALSE if it was not.

Since: 1.2

@@ -3009,7 +3083,7 @@ nm_setting_ip_config_remove_dns_option_by_value
void
 nm_setting_ip_config_clear_dns_options
                                (NMSettingIPConfig *setting,
-                                gboolean is_set);
+ gboolean is_set);

Removes all configured DNS options.

Parameters

@@ -3039,7 +3113,7 @@ Specify how to clear the options.


nm_setting_ip_config_get_dns_priority ()

-
gint
+
gint
 nm_setting_ip_config_get_dns_priority (NMSettingIPConfig *setting);

Parameters

@@ -3065,7 +3139,7 @@ nm_setting_ip_config_get_dns_priority (

nm_setting_ip_config_get_num_addresses ()

-
guint
+
guint
 nm_setting_ip_config_get_num_addresses
                                (NMSettingIPConfig *setting);
@@ -3126,7 +3200,7 @@ nm_setting_ip_config_get_address (

nm_setting_ip_config_add_address ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_address (NMSettingIPConfig *setting,
                                   NMIPAddress *address);

Adds a new IP address and associated information to the setting. The @@ -3155,7 +3229,7 @@ given address is duplicated internally and is not changed by this function.

Returns

-

TRUE if the address was added; FALSE if the address was already +

TRUE if the address was added; FALSE if the address was already known.

@@ -3193,7 +3267,7 @@ nm_setting_ip_config_remove_address (

nm_setting_ip_config_remove_address_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_address_by_value
                                (NMSettingIPConfig *setting,
                                 NMIPAddress *address);
@@ -3223,7 +3297,7 @@ nm_setting_ip_config_remove_address_by_value

Returns

-

TRUE if the address was found and removed; FALSE if it was not.

+

TRUE if the address was found and removed; FALSE if it was not.


@@ -3271,13 +3345,13 @@ nm_setting_ip_config_get_gateway (

Returns

the IP address of the gateway associated with this configuration, or -NULL.

+NULL.


nm_setting_ip_config_get_num_routes ()

-
guint
+
guint
 nm_setting_ip_config_get_num_routes (NMSettingIPConfig *setting);

Parameters

@@ -3337,11 +3411,16 @@ nm_setting_ip_config_get_route (

nm_setting_ip_config_add_route ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_route (NMSettingIPConfig *setting,
                                 NMIPRoute *route);
-

Adds a new route and associated information to the setting. The -given route is duplicated internally and is not changed by this function.

+

Appends a new route and associated information to the setting. The +given route is duplicated internally and is not changed by this function. +If an identical route (considering attributes as well) already exists, the +route is not added and the function returns FALSE.

+

Note that before 1.10, this function would not consider route attributes +and not add a route that has an existing route with same dest/prefix,next_hop,metric +parameters.

Parameters

@@ -3366,7 +3445,7 @@ given route is duplicated internally and is not changed by this function.

Returns

-

TRUE if the route was added; FALSE if the route was already known.

+

TRUE if the route was added; FALSE if the route was already known.


@@ -3403,12 +3482,15 @@ nm_setting_ip_config_remove_route (

nm_setting_ip_config_remove_route_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_route_by_value
                                (NMSettingIPConfig *setting,
                                 NMIPRoute *route);
-

Removes the route route -.

+

Removes the first matching route that matches route +. +Note that before 1.10, this function would only compare dest/prefix,next_hop,metric +and ignore route attributes. Now, route + must match exactly.

Parameters

@@ -3433,7 +3515,7 @@ nm_setting_ip_config_remove_route_by_value

Returns

-

TRUE if the route was found and removed; FALSE if it was not.

+

TRUE if the route was found and removed; FALSE if it was not.


@@ -3461,7 +3543,7 @@ nm_setting_ip_config_clear_routes (

nm_setting_ip_config_get_route_metric ()

-
gint64
+
gint64
 nm_setting_ip_config_get_route_metric (NMSettingIPConfig *setting);

Returns the value contained in the “route-metric” property.

@@ -3488,8 +3570,36 @@ specify a metric. See +

nm_setting_ip_config_get_route_table ()

+
guint32
+nm_setting_ip_config_get_route_table (NMSettingIPConfig *setting);
+

Returns the value contained in the “route-table” +property.

+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the configured route-table.

+
+

Since: 1.10

+
+
+

nm_setting_ip_config_get_ignore_auto_routes ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_ignore_auto_routes
                                (NMSettingIPConfig *setting);

Returns the value contained in the “ignore-auto-routes” @@ -3511,14 +3621,14 @@ property.

Returns

-

TRUE if automatically configured (ie via DHCP) routes should be +

TRUE if automatically configured (ie via DHCP) routes should be ignored.


nm_setting_ip_config_get_ignore_auto_dns ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_ignore_auto_dns
                                (NMSettingIPConfig *setting);

Returns the value contained in the “ignore-auto-dns” @@ -3540,7 +3650,7 @@ property.

Returns

-

TRUE if automatically configured (ie via DHCP) DNS information +

TRUE if automatically configured (ie via DHCP) DNS information should be ignored.

@@ -3575,7 +3685,7 @@ property.


nm_setting_ip_config_get_dhcp_send_hostname ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_dhcp_send_hostname
                                (NMSettingIPConfig *setting);

Returns the value contained in the “dhcp-send-hostname” @@ -3597,7 +3707,7 @@ property.

Returns

-

TRUE if NetworkManager should send the machine hostname to the +

TRUE if NetworkManager should send the machine hostname to the DHCP server when requesting addresses to allow the server to automatically update DNS information for this machine.

@@ -3605,7 +3715,7 @@ update DNS information for this machine.


nm_setting_ip_config_get_never_default ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_never_default
                                (NMSettingIPConfig *setting);

Returns the value contained in the “never-default” @@ -3627,14 +3737,14 @@ property.

Returns

-

TRUE if this connection should never be the default +

TRUE if this connection should never be the default connection


nm_setting_ip_config_get_may_fail ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_may_fail (NMSettingIPConfig *setting);

Returns the value contained in the “may-fail” property.

@@ -3655,14 +3765,14 @@ property.

Returns

-

TRUE if this connection doesn't require this type of IP +

TRUE if this connection doesn't require this type of IP addressing to complete for the connection to succeed.


nm_setting_ip_config_get_dad_timeout ()

-
gint
+
gint
 nm_setting_ip_config_get_dad_timeout (NMSettingIPConfig *setting);

Parameters

@@ -3688,7 +3798,7 @@ nm_setting_ip_config_get_dad_timeout (

nm_setting_ip_config_get_dhcp_timeout ()

-
gint
+
gint
 nm_setting_ip_config_get_dhcp_timeout (NMSettingIPConfig *setting);

Returns the value contained in the “dhcp-timeout” property.

@@ -3718,6 +3828,12 @@ the particular kind of device.

Types and Values

+

NM_IP_ROUTE_ATTRIBUTE_TABLE

+
#define NM_IP_ROUTE_ATTRIBUTE_TABLE          "table"
+
+
+
+

NM_IP_ROUTE_ATTRIBUTE_SRC

#define NM_IP_ROUTE_ATTRIBUTE_SRC            "src"
 
@@ -3856,6 +3972,12 @@ the particular kind of device.


+

NM_SETTING_IP_CONFIG_ROUTE_TABLE

+
#define NM_SETTING_IP_CONFIG_ROUTE_TABLE        "route-table"
+
+
+
+

NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES

#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
 
@@ -4002,7 +4124,7 @@ the particular kind of device.

Property Details

The “addresses” property

-
  “addresses”                GPtrArray *
+
  “addresses”                GPtrArray *

Array of IP addresses.

Element-Type: NMIPAddress

Flags: Read / Write

@@ -4010,7 +4132,7 @@ the particular kind of device.


The “dad-timeout” property

-
  “dad-timeout”              gint
+
  “dad-timeout”              gint

Timeout in milliseconds used to check for the presence of duplicate IP addresses on the network. If an address conflict is detected, the activation will fail. A zero value means that no duplicate address @@ -4025,8 +4147,8 @@ timeout in milliseconds.


The “dhcp-hostname” property

-
  “dhcp-hostname”            gchar *
-

If the “dhcp-send-hostname” property is TRUE, then the +

  “dhcp-hostname”            gchar *
+

If the “dhcp-send-hostname” property is TRUE, then the specified name will be sent to the DHCP server when acquiring a lease. This property and “dhcp-fqdn” are mutually exclusive and cannot be set at the same time.

@@ -4036,19 +4158,19 @@ cannot be set at the same time.


The “dhcp-send-hostname” property

-
  “dhcp-send-hostname”       gboolean
-

If TRUE, a hostname is sent to the DHCP server when acquiring a lease. +

  “dhcp-send-hostname”       gboolean
+

If TRUE, a hostname is sent to the DHCP server when acquiring a lease. Some DHCP servers use this hostname to update DNS databases, essentially providing a static hostname for the computer. If the -“dhcp-hostname” property is NULL and this property is -TRUE, the current persistent hostname of the computer is sent.

+“dhcp-hostname” property is NULL and this property is +TRUE, the current persistent hostname of the computer is sent.

Flags: Read / Write / Construct

Default value: TRUE


The “dhcp-timeout” property

-
  “dhcp-timeout”             gint
+
  “dhcp-timeout”             gint

A timeout for a DHCP transaction in seconds.

Flags: Read / Write

Allowed values: >= 0

@@ -4057,16 +4179,16 @@ providing a static hostname for the computer. If the

The “dns” property

-
  “dns”                      GStrv
+
  “dns”                      GStrv

Array of IP addresses of DNS servers.

Flags: Read / Write


The “dns-options” property

-
  “dns-options”              GStrv
+
  “dns-options”              GStrv

Array of DNS options as described in man 5 resolv.conf.

-

NULL means that the options are unset and left at the default. +

NULL means that the options are unset and left at the default. In this case NetworkManager will use default options. This is distinct from an empty list of properties.

Flags: Read / Write

@@ -4075,7 +4197,7 @@ distinct from an empty list of properties.


The “dns-priority” property

-
  “dns-priority”             gint
+
  “dns-priority”             gint

Intra-connection DNS priority.

The relative priority to be used when determining the order of DNS servers in resolv.conf. A lower value means that servers will be on top @@ -4099,14 +4221,14 @@ value will be used.


The “dns-search” property

-
  “dns-search”               GStrv
+
  “dns-search”               GStrv

Array of DNS search domains.

Flags: Read / Write


The “gateway” property

-
  “gateway”                  gchar *
+
  “gateway”                  gchar *

The gateway associated with this configuration. This is only meaningful if “addresses” is also set.

Flags: Read / Write

@@ -4115,9 +4237,9 @@ if

The “ignore-auto-dns” property

-
  “ignore-auto-dns”          gboolean
+
  “ignore-auto-dns”          gboolean

When “method” is set to "auto" and this property to -TRUE, automatically configured nameservers and search domains are +TRUE, automatically configured nameservers and search domains are ignored and only nameservers and search domains specified in the “dns” and “dns-search” properties, if any, are used.

@@ -4127,9 +4249,9 @@ any, are used.


The “ignore-auto-routes” property

-
  “ignore-auto-routes”       gboolean
+
  “ignore-auto-routes”       gboolean

When “method” is set to "auto" and this property to -TRUE, automatically configured routes are ignored and only routes +TRUE, automatically configured routes are ignored and only routes specified in the “routes” property, if any, are used.

Flags: Read / Write / Construct

Default value: FALSE

@@ -4137,12 +4259,12 @@ specified in the

The “may-fail” property

-
  “may-fail”                 gboolean
-

If TRUE, allow overall network configuration to proceed even if the +

  “may-fail”                 gboolean
+

If TRUE, allow overall network configuration to proceed even if the configuration specified by this property times out. Note that at least one IP configuration must succeed or overall network configuration will still fail. For example, in IPv6-only networks, setting this property to -TRUE on the NMSettingIP4Config allows the overall network configuration +TRUE on the NMSettingIP4Config allows the overall network configuration to succeed if IPv4 configuration fails but IPv6 configuration completes successfully.

Flags: Read / Write / Construct

@@ -4151,7 +4273,7 @@ successfully.


The “method” property

-
  “method”                   gchar *
+
  “method”                   gchar *

IP configuration method.

NMSettingIP4Config and NMSettingIP6Config both support "auto", "manual", and "link-local". See the subclass-specific documentation for @@ -4171,8 +4293,8 @@ manual IPv4 address or otherwise 10.42.x.0/24 is chosen.


The “never-default” property

-
  “never-default”            gboolean
-

If TRUE, this connection will never be the default connection for this +

  “never-default”            gboolean
+

If TRUE, this connection will never be the default connection for this IP type, meaning it will never be assigned the default route by NetworkManager.

Flags: Read / Write / Construct

@@ -4181,9 +4303,9 @@ NetworkManager.


The “route-metric” property

-
  “route-metric”             gint64
+
  “route-metric”             gint64

The default metric for routes that don't explicitly specify a metric. -The default value -1 means that the metric is choosen automatically +The default value -1 means that the metric is chosen automatically based on the device type. The metric applies to dynamic routes, manual (static) routes that don't have an explicit metric setting, address prefix routes, and @@ -4198,8 +4320,28 @@ For IPv4, zero is a regular value for the metric.


+

The “route-table” property

+
  “route-table”              guint
+

Enable policy routing (source routing) and set the routing table used when adding routes.

+

This affects all routes, including device-routes, IPv4LL, DHCP, SLAAC, default-routes +and static routes. But note that static routes can individually overwrite the setting +by explicitly specifying a non-zero routing table.

+

If the table setting is left at zero, it is eligible to be overwritten via global +configuration. If the property is zero even after applying the global configuration +value, policy routing is disabled for the address family of this connection.

+

Policy routing disabled means that NetworkManager will add all routes to the main +table (except static routes that explicitly configure a different table). Additionally, +NetworkManager will not delete any extraneous routes from tables except the main table. +This is to preserve backward compatibility for users who manage routing tables outside +of NetworkManager.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.10

+
+
+

The “routes” property

-
  “routes”                   GPtrArray *
+
  “routes”                   GPtrArray *

Array of IP routes.

Element-Type: NMIPRoute

Flags: Read / Write

diff --git a/docs/libnm/html/NMSettingIPTunnel.html b/docs/libnm/html/NMSettingIPTunnel.html index fdd4fc4f..7911de4d 100644 --- a/docs/libnm/html/NMSettingIPTunnel.html +++ b/docs/libnm/html/NMSettingIPTunnel.html @@ -80,7 +80,7 @@ -guint +guint nm_setting_ip_tunnel_get_ttl () @@ -88,7 +88,7 @@ -guint +guint nm_setting_ip_tunnel_get_tos () @@ -96,7 +96,7 @@ -gboolean +gboolean nm_setting_ip_tunnel_get_path_mtu_discovery () @@ -118,7 +118,7 @@ -guint +guint nm_setting_ip_tunnel_get_encapsulation_limit () @@ -126,7 +126,7 @@ -guint +guint nm_setting_ip_tunnel_get_flow_label () @@ -134,7 +134,7 @@ -guint +guint nm_setting_ip_tunnel_get_mtu () @@ -153,67 +153,67 @@ -guint +guint encapsulation-limit Read / Write / Construct -guint +guint flow-label Read / Write / Construct -gchar * +gchar * input-key Read / Write -gchar * +gchar * local Read / Write -guint +guint mode Read / Write -guint +guint mtu Read / Write / Construct -gchar * +gchar * output-key Read / Write -gchar * +gchar * parent Read / Write -gboolean +gboolean path-mtu-discovery Read / Write / Construct -gchar * +gchar * remote Read / Write -guint +guint tos Read / Write / Construct -guint +guint ttl Read / Write / Construct @@ -289,7 +289,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingIPTunnel
 
@@ -422,7 +422,7 @@ nm_setting_ip_tunnel_get_remote (

nm_setting_ip_tunnel_get_ttl ()

-
guint
+
guint
 nm_setting_ip_tunnel_get_ttl (NMSettingIPTunnel *setting);

Returns the “ttl” property of the setting.

@@ -449,7 +449,7 @@ nm_setting_ip_tunnel_get_ttl (

nm_setting_ip_tunnel_get_tos ()

-
guint
+
guint
 nm_setting_ip_tunnel_get_tos (NMSettingIPTunnel *setting);

Returns the “tos” property of the setting.

@@ -476,7 +476,7 @@ nm_setting_ip_tunnel_get_tos (

nm_setting_ip_tunnel_get_path_mtu_discovery ()

-
gboolean
+
gboolean
 nm_setting_ip_tunnel_get_path_mtu_discovery
                                (NMSettingIPTunnel *setting);

Returns the “path-mtu-discovery” property of the setting.

@@ -558,7 +558,7 @@ nm_setting_ip_tunnel_get_output_key (

nm_setting_ip_tunnel_get_encapsulation_limit ()

-
guint
+
guint
 nm_setting_ip_tunnel_get_encapsulation_limit
                                (NMSettingIPTunnel *setting);

Returns the “encapsulation-limit” property of the setting.

@@ -586,7 +586,7 @@ nm_setting_ip_tunnel_get_encapsulation_limit

nm_setting_ip_tunnel_get_flow_label ()

-
guint
+
guint
 nm_setting_ip_tunnel_get_flow_label (NMSettingIPTunnel *setting);

Returns the “flow-label” property of the setting.

@@ -613,7 +613,7 @@ nm_setting_ip_tunnel_get_flow_label (

nm_setting_ip_tunnel_get_mtu ()

-
guint
+
guint
 nm_setting_ip_tunnel_get_mtu (NMSettingIPTunnel *setting);

Returns the “mtu” property of the setting.

@@ -728,7 +728,7 @@ nm_setting_ip_tunnel_get_mtu (

Property Details

The “encapsulation-limit” property

-
  “encapsulation-limit”      guint
+
  “encapsulation-limit”      guint

How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.

Flags: Read / Write / Construct

@@ -739,7 +739,7 @@ to packets. This property applies only to IPv6 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 / Write / Construct

@@ -750,7 +750,7 @@ IPv6 tunnels.


The “input-key” property

-
  “input-key”                gchar *
+
  “input-key”                gchar *

The key used for tunnel input packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.

Flags: Read / Write

@@ -760,7 +760,7 @@ certain tunnel modes (GRE, IP6GRE). If empty, no key is used.


The “local” property

-
  “local”                    gchar *
+
  “local”                    gchar *

The local endpoint of the tunnel; the value can be empty, otherwise it must contain an IPv4 or IPv6 address.

Flags: Read / Write

@@ -770,7 +770,7 @@ must contain an IPv4 or IPv6 address.


The “mode” property

-
  “mode”                     guint
+
  “mode”                     guint

The tunneling mode, for example NM_IP_TUNNEL_MODE_IPIP or NM_IP_TUNNEL_MODE_GRE.

Flags: Read / Write

@@ -780,14 +780,17 @@ must contain an IPv4 or IPv6 address.


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint
+

If non-zero, only transmit packets of the specified size or smaller, +breaking larger packets up into multiple fragments.

Flags: Read / Write / Construct

Default value: 0

+

Since: 1.2


The “output-key” property

-
  “output-key”               gchar *
+
  “output-key”               gchar *

The key used for tunnel output packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.

Flags: Read / Write

@@ -797,7 +800,7 @@ certain tunnel modes (GRE, IP6GRE). If empty, no key is used.


The “parent” property

-
  “parent”                   gchar *
+
  “parent”                   gchar *

If given, specifies the parent interface name or parent connection UUID the new device will be bound to so that tunneled packets will only be routed via that interface.

@@ -808,7 +811,7 @@ routed via that interface.


The “path-mtu-discovery” property

-
  “path-mtu-discovery”       gboolean
+
  “path-mtu-discovery”       gboolean

Whether to enable Path MTU Discovery on this tunnel.

Flags: Read / Write / Construct

Default value: TRUE

@@ -817,7 +820,7 @@ routed via that interface.


The “remote” property

-
  “remote”                   gchar *
+
  “remote”                   gchar *

The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.

Flags: Read / Write

@@ -827,7 +830,7 @@ address.


The “tos” property

-
  “tos”                      guint
+
  “tos”                      guint

The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.

Flags: Read / Write / Construct

@@ -838,7 +841,7 @@ tunneled packets.


The “ttl” property

-
  “ttl”                      guint
+
  “ttl”                      guint

The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.

Flags: Read / Write / Construct

diff --git a/docs/libnm/html/NMSettingInfiniband.html b/docs/libnm/html/NMSettingInfiniband.html index e40f8af7..9b38e013 100644 --- a/docs/libnm/html/NMSettingInfiniband.html +++ b/docs/libnm/html/NMSettingInfiniband.html @@ -58,7 +58,7 @@ -guint32 +guint32 nm_setting_infiniband_get_mtu () @@ -107,29 +107,29 @@ -gchar * +gchar * mac-address Read / Write -guint +guint mtu Read / Write / Construct -gint +gint p-key Read / Write / Construct -gchar * +gchar * parent Read / Write / Construct -gchar * +gchar * transport-mode Read / Write / Construct @@ -177,7 +177,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingInfiniband
 
@@ -228,7 +228,7 @@ nm_setting_infiniband_get_mac_address (

nm_setting_infiniband_get_mtu ()

-
guint32
+
guint32
 nm_setting_infiniband_get_mtu (NMSettingInfiniband *setting);

Parameters

@@ -340,7 +340,7 @@ nm_setting_infiniband_get_virtual_interface_name (NMSettingInfiniband *setting);

Returns the interface name created by combining “parent” and “p-key”. (If either property is unset, this will -return NULL.)

+return NULL.)

Parameters

@@ -358,7 +358,7 @@ return NULL.)

Returns

-

the interface name, or NULL

+

the interface name, or NULL

@@ -410,7 +410,7 @@ return NULL.)

Property Details

The “mac-address” property

-
  “mac-address”              gchar *
+
  “mac-address”              gchar *

If specified, this connection will only apply to the IPoIB device whose permanent MAC address matches. This property does not change the MAC address of the device (i.e. MAC spoofing).

@@ -420,7 +420,7 @@ address of the device (i.e. MAC spoofing).


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.

Flags: Read / Write / Construct

@@ -429,7 +429,7 @@ breaking larger packets up into multiple frames.


The “p-key” property

-
  “p-key”                    gint
+
  “p-key”                    gint

The InfiniBand P_Key to use for this device. A value of -1 means to use the default P_Key (aka "the P_Key at index 0"). Otherwise it is a 16-bit unsigned integer, whose high bit is set if it is a "full membership" @@ -441,8 +441,8 @@ P_Key.


The “parent” property

-
  “parent”                   gchar *
-

The interface name of the parent device of this device. Normally NULL, +

  “parent”                   gchar *
+

The interface name of the parent device of this device. Normally NULL, but if the “p_key” property is set, then you must specify the base device by setting either this property or “mac-address”.

@@ -452,7 +452,7 @@ specify the base device by setting either this property or

The “transport-mode” property

-
  “transport-mode”           gchar *
+
  “transport-mode”           gchar *

The IP-over-InfiniBand transport mode. Either "datagram" or "connected".

Flags: Read / Write / Construct

diff --git a/docs/libnm/html/NMSettingMacsec.html b/docs/libnm/html/NMSettingMacsec.html index 972e98d7..f7c6b4f7 100644 --- a/docs/libnm/html/NMSettingMacsec.html +++ b/docs/libnm/html/NMSettingMacsec.html @@ -66,7 +66,7 @@
- + +gchar * @@ -140,28 +140,28 @@ +gchar * - + +gchar * - + - + @@ -237,10 +237,10 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMSettingMacsecMode
     ╰── NMSettingMacsecValidation
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingMacsec
 
@@ -319,7 +319,7 @@ nm_setting_macsec_get_mode (

nm_setting_macsec_get_encrypt ()

-
gboolean
+
gboolean
 nm_setting_macsec_get_encrypt (NMSettingMacsec *setting);

Parameters

@@ -626,7 +626,7 @@ in MKA (MACsec Key Agreement) is obtained.

Property Details

The “encrypt” property

-
  “encrypt”                  gboolean
+
  “encrypt”                  gboolean

Whether the transmitted traffic must be encrypted.

Flags: Read / Write / Construct

Default value: TRUE

@@ -635,7 +635,7 @@ in MKA (MACsec Key Agreement) is obtained.


The “mka-cak” property

-
  “mka-cak”                  gchar *
+
  “mka-cak”                  gchar *

The pre-shared CAK (Connectivity Association Key) for MACsec Key Agreement.

Flags: Read / Write / Construct

@@ -654,7 +654,7 @@ property.


The “mka-ckn” property

-
  “mka-ckn”                  gchar *
+
  “mka-ckn”                  gchar *

The pre-shared CKN (Connectivity-association Key Name) for MACsec Key Agreement.

Flags: Read / Write / Construct

@@ -664,7 +664,7 @@ MACsec Key Agreement.


The “mode” property

-
  “mode”                     gint
+
  “mode”                     gint

Specifies how the CAK (Connectivity Association Key) for MKA (MACsec Key Agreement) is obtained.

Flags: Read / Write / Construct

@@ -674,7 +674,7 @@ Agreement) is obtained.


The “parent” property

-
  “parent”                   gchar *
+
  “parent”                   gchar *

If given, specifies the parent interface name or parent connection UUID from which this MACSEC interface should be created. If this property is not specified, the connection must contain an NMSettingWired setting @@ -686,7 +686,7 @@ with a

The “port” property

-
  “port”                     gint
+
  “port”                     gint

The port component of the SCI (Secure Channel Identifier), between 1 and 65534.

Flags: Read / Write / Construct

Allowed values: [1,65534]

@@ -696,7 +696,7 @@ with a

The “validation” property

-
  “validation”               gint
+
  “validation”               gint

Specifies the validation mode for incoming frames.

Flags: Read / Write / Construct

Default value: 2

diff --git a/docs/libnm/html/NMSettingMacvlan.html b/docs/libnm/html/NMSettingMacvlan.html index 5c6e9acd..a981efd3 100644 --- a/docs/libnm/html/NMSettingMacvlan.html +++ b/docs/libnm/html/NMSettingMacvlan.html @@ -66,7 +66,7 @@
- + +gchar * - + - + @@ -157,9 +157,9 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMSettingMacvlanMode
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingMacvlan
 
@@ -238,7 +238,7 @@ nm_setting_macvlan_get_mode (

nm_setting_macvlan_get_promiscuous ()

-
gboolean
+
gboolean
 nm_setting_macvlan_get_promiscuous (NMSettingMacvlan *setting);

Parameters

@@ -264,7 +264,7 @@ nm_setting_macvlan_get_promiscuous (

nm_setting_macvlan_get_tap ()

-
gboolean
+
gboolean
 nm_setting_macvlan_get_tap (NMSettingMacvlan *setting);

Parameters

@@ -398,7 +398,7 @@ nm_setting_macvlan_get_tap (

Property Details

The “mode” property

-
  “mode”                     guint
+
  “mode”                     guint

The macvlan mode, which specifies the communication mechanism between multiple macvlans on the same lower device.

Flags: Read / Write / Construct

@@ -408,7 +408,7 @@ macvlans on the same lower device.


The “parent” property

-
  “parent”                   gchar *
+
  “parent”                   gchar *

If given, specifies the parent interface name or parent connection UUID from which this MAC-VLAN interface should be created. If this property is not specified, the connection must contain an NMSettingWired setting @@ -420,7 +420,7 @@ with a

The “promiscuous” property

-
  “promiscuous”              gboolean
+
  “promiscuous”              gboolean

Whether the interface should be put in promiscuous mode.

Flags: Read / Write / Construct

Default value: TRUE

@@ -429,7 +429,7 @@ with a

The “tap” property

-
  “tap”                      gboolean
+
  “tap”                      gboolean

Whether the interface should be a MACVTAP.

Flags: Read / Write / Construct

Default value: FALSE

diff --git a/docs/libnm/html/NMSettingOlpcMesh.html b/docs/libnm/html/NMSettingOlpcMesh.html index df0ef3dd..de0eaa96 100644 --- a/docs/libnm/html/NMSettingOlpcMesh.html +++ b/docs/libnm/html/NMSettingOlpcMesh.html @@ -51,7 +51,7 @@
- + +gchar * +GBytes * @@ -137,7 +137,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingOlpcMesh
 
@@ -162,7 +162,7 @@ nm_setting_olpc_mesh_new (void

nm_setting_olpc_mesh_get_ssid ()

-
GBytes *
+
GBytes *
 nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting);

Parameters

@@ -188,7 +188,7 @@ nm_setting_olpc_mesh_get_ssid (

nm_setting_olpc_mesh_get_channel ()

-
guint32
+
guint32
 nm_setting_olpc_mesh_get_channel (NMSettingOlpcMesh *setting);

@@ -235,7 +235,7 @@ nm_setting_olpc_mesh_get_dhcp_anycast_address

Property Details

The “channel” property

-
  “channel”                  guint
+
  “channel”                  guint

Channel on which the mesh network to join is located.

Flags: Read / Write / Construct

Default value: 0

@@ -243,7 +243,7 @@ nm_setting_olpc_mesh_get_dhcp_anycast_address

The “dhcp-anycast-address” property

-
  “dhcp-anycast-address”     gchar *
+
  “dhcp-anycast-address”     gchar *

Anycast DHCP MAC address used when requesting an IP address via DHCP. The specific anycast address used determines which DHCP server class answers the request.

@@ -253,7 +253,7 @@ answers the request.


The “ssid” property

-
  “ssid”                     GBytes *
+
  “ssid”                     GBytes *

SSID of the mesh network to join.

Flags: Read / Write

diff --git a/docs/libnm/html/NMSettingPpp.html b/docs/libnm/html/NMSettingPpp.html index ebc08aa9..69aa1bc4 100644 --- a/docs/libnm/html/NMSettingPpp.html +++ b/docs/libnm/html/NMSettingPpp.html @@ -52,7 +52,7 @@ that require PPP to deliver IP capability

- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -392,7 +392,7 @@ that require PPP to deliver IP capability

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingPpp
 
@@ -419,7 +419,7 @@ nm_setting_ppp_new (void

nm_setting_ppp_get_noauth ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_noauth (NMSettingPpp *setting);

Parameters

@@ -444,7 +444,7 @@ nm_setting_ppp_get_noauth (

nm_setting_ppp_get_refuse_eap ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_refuse_eap (NMSettingPpp *setting);

Parameters

@@ -469,7 +469,7 @@ nm_setting_ppp_get_refuse_eap (

nm_setting_ppp_get_refuse_pap ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_refuse_pap (NMSettingPpp *setting);

Parameters

@@ -494,7 +494,7 @@ nm_setting_ppp_get_refuse_pap (

nm_setting_ppp_get_refuse_chap ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_refuse_chap (NMSettingPpp *setting);

Parameters

@@ -519,7 +519,7 @@ nm_setting_ppp_get_refuse_chap (

nm_setting_ppp_get_refuse_mschap ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_refuse_mschap (NMSettingPpp *setting);

Parameters

@@ -544,7 +544,7 @@ nm_setting_ppp_get_refuse_mschap (

nm_setting_ppp_get_refuse_mschapv2 ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_refuse_mschapv2 (NMSettingPpp *setting);

Parameters

@@ -569,7 +569,7 @@ nm_setting_ppp_get_refuse_mschapv2 (

nm_setting_ppp_get_nobsdcomp ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_nobsdcomp (NMSettingPpp *setting);

Parameters

@@ -594,7 +594,7 @@ nm_setting_ppp_get_nobsdcomp (

nm_setting_ppp_get_nodeflate ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_nodeflate (NMSettingPpp *setting);

Parameters

@@ -619,7 +619,7 @@ nm_setting_ppp_get_nodeflate (

nm_setting_ppp_get_no_vj_comp ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_no_vj_comp (NMSettingPpp *setting);

Parameters

@@ -644,7 +644,7 @@ nm_setting_ppp_get_no_vj_comp (

nm_setting_ppp_get_require_mppe ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_require_mppe (NMSettingPpp *setting);

Parameters

@@ -669,7 +669,7 @@ nm_setting_ppp_get_require_mppe (

nm_setting_ppp_get_require_mppe_128 ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_require_mppe_128 (NMSettingPpp *setting);

Parameters

@@ -694,7 +694,7 @@ nm_setting_ppp_get_require_mppe_128 (

nm_setting_ppp_get_mppe_stateful ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_mppe_stateful (NMSettingPpp *setting);

Parameters

@@ -719,7 +719,7 @@ nm_setting_ppp_get_mppe_stateful (

nm_setting_ppp_get_crtscts ()

-
gboolean
+
gboolean
 nm_setting_ppp_get_crtscts (NMSettingPpp *setting);

Parameters

@@ -744,7 +744,7 @@ nm_setting_ppp_get_crtscts (

nm_setting_ppp_get_baud ()

-
guint32
+
guint32
 nm_setting_ppp_get_baud (NMSettingPpp *setting);

Parameters

@@ -769,7 +769,7 @@ nm_setting_ppp_get_baud (

nm_setting_ppp_get_mru ()

-
guint32
+
guint32
 nm_setting_ppp_get_mru (NMSettingPpp *setting);

Parameters

@@ -794,7 +794,7 @@ nm_setting_ppp_get_mru (

nm_setting_ppp_get_mtu ()

-
guint32
+
guint32
 nm_setting_ppp_get_mtu (NMSettingPpp *setting);

Parameters

@@ -819,7 +819,7 @@ nm_setting_ppp_get_mtu (

nm_setting_ppp_get_lcp_echo_failure ()

-
guint32
+
guint32
 nm_setting_ppp_get_lcp_echo_failure (NMSettingPpp *setting);

Parameters

@@ -844,7 +844,7 @@ nm_setting_ppp_get_lcp_echo_failure (

nm_setting_ppp_get_lcp_echo_interval ()

-
guint32
+
guint32
 nm_setting_ppp_get_lcp_echo_interval (NMSettingPpp *setting);

Parameters

@@ -993,7 +993,7 @@ nm_setting_ppp_get_lcp_echo_interval (

Property Details

The “baud” property

-
  “baud”                     guint
+
  “baud”                     guint

If non-zero, instruct pppd to set the serial port to the specified baudrate. This value should normally be left as 0 to automatically choose the speed.

@@ -1003,17 +1003,17 @@ choose the speed.


The “crtscts” property

-
  “crtscts”                  gboolean
-

If TRUE, specify that pppd should set the serial port to use hardware +

  “crtscts”                  gboolean
+

If TRUE, specify that pppd should set the serial port to use hardware flow control with RTS and CTS signals. This value should normally be set -to FALSE.

+to FALSE.

Flags: Read / Write / Construct

Default value: FALSE


The “lcp-echo-failure” property

-
  “lcp-echo-failure”         guint
+
  “lcp-echo-failure”         guint

If non-zero, instruct pppd to presume the connection to the peer has failed if the specified number of LCP echo-requests go unanswered by the peer. The "lcp-echo-interval" property must also be set to a non-zero @@ -1024,7 +1024,7 @@ value if this property is used.


The “lcp-echo-interval” property

-
  “lcp-echo-interval”        guint
+
  “lcp-echo-interval”        guint

If non-zero, instruct pppd to send an LCP echo-request frame to the peer every n seconds (where n is the specified value). Note that some PPP peers will respond to echo requests and some will not, and it is not @@ -1035,8 +1035,8 @@ possible to autodetect this.


The “mppe-stateful” property

-
  “mppe-stateful”            gboolean
-

If TRUE, stateful MPPE is used. See pppd documentation for more +

  “mppe-stateful”            gboolean
+

If TRUE, stateful MPPE is used. See pppd documentation for more information on stateful MPPE.

Flags: Read / Write / Construct

Default value: FALSE

@@ -1044,7 +1044,7 @@ information on stateful MPPE.


The “mru” property

-
  “mru”                      guint
+
  “mru”                      guint

If non-zero, instruct pppd to request that the peer send packets no larger than the specified size. If non-zero, the MRU should be between 128 and 16384.

@@ -1055,7 +1055,7 @@ larger than the specified size. If non-zero, the MRU should be between

The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, instruct pppd to send packets no larger than the specified size.

Flags: Read / Write / Construct

@@ -1064,82 +1064,82 @@ size.


The “no-vj-comp” property

-
  “no-vj-comp”               gboolean
-

If TRUE, Van Jacobsen TCP header compression will not be requested.

+
  “no-vj-comp”               gboolean
+

If TRUE, Van Jacobsen TCP header compression will not be requested.

Flags: Read / Write / Construct

Default value: FALSE


The “noauth” property

-
  “noauth”                   gboolean
-

If TRUE, do not require the other side (usually the PPP server) to -authenticate itself to the client. If FALSE, require authentication -from the remote side. In almost all cases, this should be TRUE.

+
  “noauth”                   gboolean
+

If TRUE, do not require the other side (usually the PPP server) to +authenticate itself to the client. If FALSE, require authentication +from the remote side. In almost all cases, this should be TRUE.

Flags: Read / Write / Construct

Default value: TRUE


The “nobsdcomp” property

-
  “nobsdcomp”                gboolean
-

If TRUE, BSD compression will not be requested.

+
  “nobsdcomp”                gboolean
+

If TRUE, BSD compression will not be requested.

Flags: Read / Write / Construct

Default value: FALSE


The “nodeflate” property

-
  “nodeflate”                gboolean
-

If TRUE, "deflate" compression will not be requested.

+
  “nodeflate”                gboolean
+

If TRUE, "deflate" compression will not be requested.

Flags: Read / Write / Construct

Default value: FALSE


The “refuse-chap” property

-
  “refuse-chap”              gboolean
-

If TRUE, the CHAP authentication method will not be used.

+
  “refuse-chap”              gboolean
+

If TRUE, the CHAP authentication method will not be used.

Flags: Read / Write / Construct

Default value: FALSE


The “refuse-eap” property

-
  “refuse-eap”               gboolean
-

If TRUE, the EAP authentication method will not be used.

+
  “refuse-eap”               gboolean
+

If TRUE, the EAP authentication method will not be used.

Flags: Read / Write / Construct

Default value: FALSE


The “refuse-mschap” property

-
  “refuse-mschap”            gboolean
-

If TRUE, the MSCHAP authentication method will not be used.

+
  “refuse-mschap”            gboolean
+

If TRUE, the MSCHAP authentication method will not be used.

Flags: Read / Write / Construct

Default value: FALSE


The “refuse-mschapv2” property

-
  “refuse-mschapv2”          gboolean
-

If TRUE, the MSCHAPv2 authentication method will not be used.

+
  “refuse-mschapv2”          gboolean
+

If TRUE, the MSCHAPv2 authentication method will not be used.

Flags: Read / Write / Construct

Default value: FALSE


The “refuse-pap” property

-
  “refuse-pap”               gboolean
-

If TRUE, the PAP authentication method will not be used.

+
  “refuse-pap”               gboolean
+

If TRUE, the PAP authentication method will not be used.

Flags: Read / Write / Construct

Default value: FALSE


The “require-mppe” property

-
  “require-mppe”             gboolean
-

If TRUE, MPPE (Microsoft Point-to-Point Encrpytion) will be required for +

  “require-mppe”             gboolean
+

If TRUE, MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session. If either 64-bit or 128-bit MPPE is not available the session will fail. Note that MPPE is not used on mobile broadband connections.

@@ -1149,10 +1149,10 @@ connections.


The “require-mppe-128” property

-
  “require-mppe-128”         gboolean
-

If TRUE, 128-bit MPPE (Microsoft Point-to-Point Encrpytion) will be +

  “require-mppe-128”         gboolean
+

If TRUE, 128-bit MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session, and the "require-mppe" property must also -be set to TRUE. If 128-bit MPPE is not available the session will fail.

+be set to TRUE. If 128-bit MPPE is not available the session will fail.

Flags: Read / Write / Construct

Default value: FALSE

diff --git a/docs/libnm/html/NMSettingPppoe.html b/docs/libnm/html/NMSettingPppoe.html index 6d673bf0..1916df1a 100644 --- a/docs/libnm/html/NMSettingPppoe.html +++ b/docs/libnm/html/NMSettingPppoe.html @@ -53,6 +53,13 @@
+ + + + @@ -92,7 +99,13 @@ +gchar * + + + + + @@ -103,13 +116,13 @@ +gchar * +gchar * @@ -130,6 +143,10 @@ + + + + @@ -153,7 +170,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingPppoe
 
@@ -179,6 +196,32 @@ nm_setting_pppoe_new (void

+

nm_setting_pppoe_get_parent ()

+
const char *
+nm_setting_pppoe_get_parent (NMSettingPppoe *setting);
+
+

Parameters

+
-gboolean +gboolean nm_setting_macsec_get_encrypt () @@ -123,13 +123,13 @@
gbooleangboolean encrypt Read / Write / Construct
-gchar * mka-cak Read / Write / Construct
-gchar * mka-ckn Read / Write / Construct
gintgint mode Read / Write / Construct
-gchar * parent Read / Write / Construct
gintgint port Read / Write / Construct
gintgint validation Read / Write / Construct
-gboolean +gboolean nm_setting_macvlan_get_promiscuous () @@ -74,7 +74,7 @@
-gboolean +gboolean nm_setting_macvlan_get_tap () @@ -93,23 +93,23 @@
guintguint mode Read / Write / Construct
-gchar *parent Read / Write / Construct
gbooleangboolean promiscuous Read / Write / Construct
gbooleangboolean tap Read / Write / Construct
-GBytes * +GBytes * nm_setting_olpc_mesh_get_ssid () @@ -59,7 +59,7 @@
-guint32 +guint32 nm_setting_olpc_mesh_get_channel () @@ -85,19 +85,19 @@
guintguint channel Read / Write / Construct
-gchar *dhcp-anycast-address Read / Write
-GBytes *ssid Read / Write
-gboolean +gboolean nm_setting_ppp_get_noauth () @@ -60,7 +60,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_refuse_eap () @@ -68,7 +68,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_refuse_pap () @@ -76,7 +76,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_refuse_chap () @@ -84,7 +84,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_refuse_mschap () @@ -92,7 +92,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_refuse_mschapv2 () @@ -100,7 +100,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_nobsdcomp () @@ -108,7 +108,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_nodeflate () @@ -116,7 +116,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_no_vj_comp () @@ -124,7 +124,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_require_mppe () @@ -132,7 +132,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_require_mppe_128 () @@ -140,7 +140,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_mppe_stateful () @@ -148,7 +148,7 @@ that require PPP to deliver IP capability

-gboolean +gboolean nm_setting_ppp_get_crtscts () @@ -156,7 +156,7 @@ that require PPP to deliver IP capability

-guint32 +guint32 nm_setting_ppp_get_baud () @@ -164,7 +164,7 @@ that require PPP to deliver IP capability

-guint32 +guint32 nm_setting_ppp_get_mru () @@ -172,7 +172,7 @@ that require PPP to deliver IP capability

-guint32 +guint32 nm_setting_ppp_get_mtu () @@ -180,7 +180,7 @@ that require PPP to deliver IP capability

-guint32 +guint32 nm_setting_ppp_get_lcp_echo_failure () @@ -188,7 +188,7 @@ that require PPP to deliver IP capability

-guint32 +guint32 nm_setting_ppp_get_lcp_echo_interval () @@ -207,92 +207,92 @@ that require PPP to deliver IP capability

guintguint baud Read / Write / Construct
gbooleangboolean crtscts Read / Write / Construct
guintguint lcp-echo-failure Read / Write / Construct
guintguint lcp-echo-interval Read / Write / Construct
gbooleangboolean mppe-stateful Read / Write / Construct
guintguint mru Read / Write / Construct
guintguint mtu Read / Write / Construct
gbooleangboolean no-vj-comp Read / Write / Construct
gbooleangboolean noauth Read / Write / Construct
gbooleangboolean nobsdcomp Read / Write / Construct
gbooleangboolean nodeflate Read / Write / Construct
gbooleangboolean refuse-chap Read / Write / Construct
gbooleangboolean refuse-eap Read / Write / Construct
gbooleangboolean refuse-mschap Read / Write / Construct
gbooleangboolean refuse-mschapv2 Read / Write / Construct
gbooleangboolean refuse-pap Read / Write / Construct
gbooleangboolean require-mppe Read / Write / Construct
gbooleangboolean require-mppe-128 Read / Write / Construct
const char * +nm_setting_pppoe_get_parent () +
const char * + nm_setting_pppoe_get_service ()
-gchar *parentRead / Write / Construct
+gchar * password Read / Write
-gchar *service Read / Write
-gchar *username Read / Write
#defineNM_SETTING_PPPOE_PARENT
#define NM_SETTING_PPPOE_SERVICE
+++++ + + + + + +

setting

the NMSettingPppoe

 
+
+
+

Returns

+

the “parent” property of the setting

+
+

Since: 1.10

+
+
+

nm_setting_pppoe_get_service ()

const char *
 nm_setting_pppoe_get_service (NMSettingPppoe *setting);
@@ -287,6 +330,12 @@ nm_setting_pppoe_get_password_flags (
+

NM_SETTING_PPPOE_PARENT

+
#define NM_SETTING_PPPOE_PARENT         "parent"
+
+
+
+

NM_SETTING_PPPOE_SERVICE

#define NM_SETTING_PPPOE_SERVICE        "service"
 
@@ -319,8 +368,20 @@ nm_setting_pppoe_get_password_flags (

Property Details

+

The “parent” property

+
  “parent”                   gchar *
+

If given, specifies the parent interface name on which this PPPoE +connection should be created. If this property is not specified, +the connection is activated on the interface specified in +“interface-name” of NMSettingConnection.

+

Flags: Read / Write / Construct

+

Default value: NULL

+

Since: 1.10

+
+
+

The “password” property

-
  “password”                 gchar *
+
  “password”                 gchar *

Password used to authenticate with the PPPoE service.

Flags: Read / Write

Default value: NULL

@@ -335,7 +396,7 @@ nm_setting_pppoe_get_password_flags (

The “service” property

-
  “service”                  gchar *
+
  “service”                  gchar *

If specified, instruct PPPoE to only initiate sessions with access concentrators that provide the specified service. For most providers, this should be left blank. It is only required if there are multiple @@ -346,7 +407,7 @@ access concentrators or a specific service is known to be required.


The “username” property

-
  “username”                 gchar *
+
  “username”                 gchar *

Username used to authenticate with the PPPoE service.

Flags: Read / Write

Default value: NULL

diff --git a/docs/libnm/html/NMSettingSerial.html b/docs/libnm/html/NMSettingSerial.html index e6483fc7..8ba3947b 100644 --- a/docs/libnm/html/NMSettingSerial.html +++ b/docs/libnm/html/NMSettingSerial.html @@ -52,7 +52,7 @@ serial communications

-guint +guint nm_setting_serial_get_baud () @@ -60,7 +60,7 @@ serial communications

-guint +guint nm_setting_serial_get_bits () @@ -76,7 +76,7 @@ serial communications

-guint +guint nm_setting_serial_get_stopbits () @@ -84,7 +84,7 @@ serial communications

-guint64 +guint64 nm_setting_serial_get_send_delay () @@ -103,12 +103,12 @@ serial communications

-guint +guint baud Read / Write / Construct -guint +guint bits Read / Write / Construct @@ -118,12 +118,12 @@ serial communications

Read / Write / Construct -guint64 +guint64 send-delay Read / Write / Construct -guint +guint stopbits Read / Write / Construct @@ -175,9 +175,9 @@ serial communications

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMSettingSerialParity
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingSerial
 
@@ -204,7 +204,7 @@ nm_setting_serial_new (void

nm_setting_serial_get_baud ()

-
guint
+
guint
 nm_setting_serial_get_baud (NMSettingSerial *setting);

Parameters

@@ -229,7 +229,7 @@ nm_setting_serial_get_baud (

nm_setting_serial_get_bits ()

-
guint
+
guint
 nm_setting_serial_get_bits (NMSettingSerial *setting);

Parameters

@@ -279,7 +279,7 @@ nm_setting_serial_get_parity (

nm_setting_serial_get_stopbits ()

-
guint
+
guint
 nm_setting_serial_get_stopbits (NMSettingSerial *setting);

Parameters

@@ -304,7 +304,7 @@ nm_setting_serial_get_stopbits (

nm_setting_serial_get_send_delay ()

-
guint64
+
guint64
 nm_setting_serial_get_send_delay (NMSettingSerial *setting);

Parameters

@@ -413,7 +413,7 @@ nm_setting_serial_get_send_delay (

Property Details

The “baud” property

-
  “baud”                     guint
+
  “baud”                     guint

Speed to use for communication over the serial port. Note that this value usually has no effect for mobile broadband modems as they generally ignore speed settings and use the highest available speed.

@@ -423,7 +423,7 @@ ignore speed settings and use the highest available speed.


The “bits” property

-
  “bits”                     guint
+
  “bits”                     guint

Byte-width of the serial communication. The 8 in "8n1" for example.

Flags: Read / Write / Construct

Allowed values: [5,8]

@@ -440,7 +440,7 @@ ignore speed settings and use the highest available speed.


The “send-delay” property

-
  “send-delay”               guint64
+
  “send-delay”               guint64

Time to delay between each byte sent to the modem, in microseconds.

Flags: Read / Write / Construct

Default value: 0

@@ -448,7 +448,7 @@ ignore speed settings and use the highest available speed.


The “stopbits” property

-
  “stopbits”                 guint
+
  “stopbits”                 guint

Number of stop bits for communication on the serial port. Either 1 or 2. The 1 in "8n1" for example.

Flags: Read / Write / Construct

diff --git a/docs/libnm/html/NMSettingTeam.html b/docs/libnm/html/NMSettingTeam.html index 79a5b3d0..dc508a22 100644 --- a/docs/libnm/html/NMSettingTeam.html +++ b/docs/libnm/html/NMSettingTeam.html @@ -69,7 +69,7 @@ -gchar * +gchar * config Read / Write @@ -100,7 +100,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingTeam
 
@@ -173,7 +173,7 @@ nm_setting_team_get_config (

Property Details

The “config” property

-
  “config”                   gchar *
+
  “config”                   gchar *

The JSON configuration for the team network interface. The property should contain raw JSON configuration data suitable for teamd, because the value is passed directly to teamd. If not specified, the default diff --git a/docs/libnm/html/NMSettingTeamPort.html b/docs/libnm/html/NMSettingTeamPort.html index 59751ec2..204f838c 100644 --- a/docs/libnm/html/NMSettingTeamPort.html +++ b/docs/libnm/html/NMSettingTeamPort.html @@ -69,7 +69,7 @@ -gchar * +gchar * config Read / Write @@ -100,7 +100,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingTeamPort
 
@@ -173,7 +173,7 @@ nm_setting_team_port_get_config (

Property Details

The “config” property

-
  “config”                   gchar *
+
  “config”                   gchar *

The JSON configuration for the team port. The property should contain raw JSON configuration data suitable for teamd, because the value is passed directly to teamd. If not specified, the default configuration is diff --git a/docs/libnm/html/NMSettingTun.html b/docs/libnm/html/NMSettingTun.html index e83919ec..113e754a 100644 --- a/docs/libnm/html/NMSettingTun.html +++ b/docs/libnm/html/NMSettingTun.html @@ -73,7 +73,7 @@ -gboolean +gboolean nm_setting_tun_get_pi () @@ -81,7 +81,7 @@ -gboolean +gboolean nm_setting_tun_get_vnet_hdr () @@ -89,7 +89,7 @@ -gboolean +gboolean nm_setting_tun_get_multi_queue () @@ -109,33 +109,33 @@ -gchar * +gchar * group Read / Write -guint +guint mode Read / Write / Construct -gboolean +gboolean multi-queue Read / Write -gchar * +gchar * owner Read / Write -gboolean +gboolean pi Read / Write -gboolean +gboolean vnet-hdr Read / Write @@ -191,9 +191,9 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMSettingTunMode
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingTun
 
@@ -298,7 +298,7 @@ nm_setting_tun_get_group (

nm_setting_tun_get_pi ()

-
gboolean
+
gboolean
 nm_setting_tun_get_pi (NMSettingTun *setting);

Parameters

@@ -324,7 +324,7 @@ nm_setting_tun_get_pi (

nm_setting_tun_get_vnet_hdr ()

-
gboolean
+
gboolean
 nm_setting_tun_get_vnet_hdr (NMSettingTun *setting);

Parameters

@@ -350,7 +350,7 @@ nm_setting_tun_get_vnet_hdr (

nm_setting_tun_get_multi_queue ()

-
gboolean
+
gboolean
 nm_setting_tun_get_multi_queue (NMSettingTun *setting);

Parameters

@@ -466,8 +466,8 @@ nm_setting_tun_get_multi_queue (

Property Details

The “group” property

-
  “group”                    gchar *
-

The group ID which will own the device. If set to NULL everyone +

  “group”                    gchar *
+

The group ID which will own the device. If set to NULL everyone will be able to use the device.

Flags: Read / Write

Default value: NULL

@@ -476,7 +476,7 @@ will be able to use the device.


The “mode” property

-
  “mode”                     guint
+
  “mode”                     guint

The operating mode of the virtual device. Allowed values are NM_SETTING_TUN_MODE_TUN to create a layer 3 device and NM_SETTING_TUN_MODE_TAP to create an Ethernet-like layer 2 @@ -488,8 +488,8 @@ one.


The “multi-queue” property

-
  “multi-queue”              gboolean
-

If the property is set to TRUE, the interface will support +

  “multi-queue”              gboolean
+

If the property is set to TRUE, the interface will support multiple file descriptors (queues) to parallelize packet sending or receiving. Otherwise, the interface will only support a single queue.

@@ -500,8 +500,8 @@ support a single queue.


The “owner” property

-
  “owner”                    gchar *
-

The user ID which will own the device. If set to NULL everyone +

  “owner”                    gchar *
+

The user ID which will own the device. If set to NULL everyone will be able to use the device.

Flags: Read / Write

Default value: NULL

@@ -510,8 +510,8 @@ will be able to use the device.


The “pi” property

-
  “pi”                       gboolean
-

If TRUE the interface will prepend a 4 byte header describing the +

  “pi”                       gboolean
+

If TRUE the interface will prepend a 4 byte header describing the physical interface to the packets.

Flags: Read / Write

Default value: FALSE

@@ -520,8 +520,8 @@ physical interface to the packets.


The “vnet-hdr” property

-
  “vnet-hdr”                 gboolean
-

If TRUE the IFF_VNET_HDR the tunnel packets will include a virtio +

  “vnet-hdr”                 gboolean
+

If TRUE the IFF_VNET_HDR the tunnel packets will include a virtio network header.

Flags: Read / Write

Default value: FALSE

diff --git a/docs/libnm/html/NMSettingVlan.html b/docs/libnm/html/NMSettingVlan.html index eaf85a01..0fd0ac68 100644 --- a/docs/libnm/html/NMSettingVlan.html +++ b/docs/libnm/html/NMSettingVlan.html @@ -58,7 +58,7 @@ -guint32 +guint32 nm_setting_vlan_get_id () @@ -66,7 +66,7 @@ -guint32 +guint32 nm_setting_vlan_get_flags () @@ -74,7 +74,7 @@ -gint32 +gint32 nm_setting_vlan_get_num_priorities () @@ -82,7 +82,7 @@ -gboolean +gboolean nm_setting_vlan_get_priority () @@ -90,7 +90,7 @@ -gboolean +gboolean nm_setting_vlan_add_priority () @@ -106,7 +106,7 @@ -gboolean +gboolean nm_setting_vlan_remove_priority_by_value () @@ -114,7 +114,7 @@ -gboolean +gboolean nm_setting_vlan_remove_priority_str_by_value () @@ -130,7 +130,7 @@ -gboolean +gboolean nm_setting_vlan_add_priority_str () @@ -149,7 +149,7 @@ -GStrv +GStrv egress-priority-map Read / Write @@ -159,18 +159,18 @@ Read / Write / Construct -guint +guint id Read / Write / Construct -GStrv +GStrv ingress-priority-map Read / Write -gchar * +gchar * parent Read / Write / Construct @@ -230,11 +230,11 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMVlanPriorityMap
-    GFlags
+    GFlags
     ╰── NMVlanFlags
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingVlan
 
@@ -285,7 +285,7 @@ nm_setting_vlan_get_parent (

nm_setting_vlan_get_id ()

-
guint32
+
guint32
 nm_setting_vlan_get_id (NMSettingVlan *setting);

Parameters

@@ -310,7 +310,7 @@ nm_setting_vlan_get_id (

nm_setting_vlan_get_flags ()

-
guint32
+
guint32
 nm_setting_vlan_get_flags (NMSettingVlan *setting);

Parameters

@@ -335,7 +335,7 @@ nm_setting_vlan_get_flags (

nm_setting_vlan_get_num_priorities ()

-
gint32
+
gint32
 nm_setting_vlan_get_num_priorities (NMSettingVlan *setting,
                                     NMVlanPriorityMap map);

Returns the number of entries in the @@ -371,12 +371,12 @@ properties of this setting.


nm_setting_vlan_get_priority ()

-
gboolean
+
gboolean
 nm_setting_vlan_get_priority (NMSettingVlan *setting,
                               NMVlanPriorityMap map,
-                              guint32 idx,
-                              guint32 *out_from,
-                              guint32 *out_to);
+ guint32 idx, + guint32 *out_from, + guint32 *out_to);

Retrieve one of the entries of the “ingress_priority_map” or “egress_priority_map” properties of this setting.

@@ -418,17 +418,17 @@ or

Returns

-

TRUE if a priority map was returned, FALSE if error

+

TRUE if a priority map was returned, FALSE if error


nm_setting_vlan_add_priority ()

-
gboolean
+
gboolean
 nm_setting_vlan_add_priority (NMSettingVlan *setting,
                               NMVlanPriorityMap map,
-                              guint32 from,
-                              guint32 to);
+ guint32 from, + guint32 to);

Adds a priority mapping to the “ingress_priority_map” or “egress_priority_map” properties of the setting. If from is @@ -481,8 +481,8 @@ to

Returns

-

TRUE if the new priority mapping was successfully added to the -list, FALSE if error

+

TRUE if the new priority mapping was successfully added to the +list, FALSE if error


@@ -491,7 +491,7 @@ list, FALSE if error

void
 nm_setting_vlan_remove_priority (NMSettingVlan *setting,
                                  NMVlanPriorityMap map,
-                                 guint32 idx);
+ guint32 idx);

Removes the priority map at index idx from the “ingress_priority_map” or “egress_priority_map” @@ -527,12 +527,12 @@ properties.


nm_setting_vlan_remove_priority_by_value ()

-
gboolean
+
gboolean
 nm_setting_vlan_remove_priority_by_value
                                (NMSettingVlan *setting,
                                 NMVlanPriorityMap map,
-                                guint32 from,
-                                guint32 to);
+ guint32 from, + guint32 to);

Removes the priority map form :to from the “ingress_priority_map” @@ -575,13 +575,13 @@ to

Returns

-

TRUE if the priority mapping was found and removed; FALSE if it was not.

+

TRUE if the priority mapping was found and removed; FALSE if it was not.


nm_setting_vlan_remove_priority_str_by_value ()

-
gboolean
+
gboolean
 nm_setting_vlan_remove_priority_str_by_value
                                (NMSettingVlan *setting,
                                 NMVlanPriorityMap map,
@@ -620,7 +620,7 @@ properties.

Returns

-

TRUE if the priority mapping was found and removed; FALSE if it was not.

+

TRUE if the priority mapping was found and removed; FALSE if it was not.


@@ -657,7 +657,7 @@ nm_setting_vlan_clear_priorities (

nm_setting_vlan_add_priority_str ()

-
gboolean
+
gboolean
 nm_setting_vlan_add_priority_str (NMSettingVlan *setting,
                                   NMVlanPriorityMap map,
                                   const char *str);
@@ -693,8 +693,8 @@ the Linux SKB priorities to 802.1p priorities.

Returns

-

TRUE if the entry was successfully added to the list, or it -overwrote the old value, FALSE if error

+

TRUE if the entry was successfully added to the list, or it +overwrote the old value, FALSE if error

@@ -833,7 +833,7 @@ to 802.1p priorities used in VLANs.

Property Details

The “egress-priority-map” property

-
  “egress-priority-map”      GStrv
+
  “egress-priority-map”      GStrv

For outgoing packets, a list of mappings from Linux SKB priorities to 802.1p priorities. The mapping is given in the format "from:to" where both "from" and "to" are unsigned integers, ie "7:3".

@@ -859,7 +859,7 @@ is still considered as 0.


The “id” property

-
  “id”                       guint
+
  “id”                       guint

The VLAN identifier that the interface created by this connection should be assigned. The valid range is from 0 to 4094, without the reserved id 4095.

Flags: Read / Write / Construct

@@ -869,7 +869,7 @@ be assigned. The valid range is from 0 to 4094, without the reserved id 4095.

The “ingress-priority-map” property

-
  “ingress-priority-map”     GStrv
+
  “ingress-priority-map”     GStrv

For incoming packets, a list of mappings from 802.1p priorities to Linux SKB priorities. The mapping is given in the format "from:to" where both "from" and "to" are unsigned integers, ie "7:3".

@@ -878,7 +878,7 @@ SKB priorities. The mapping is given in the format "from:to" where both

The “parent” property

-
  “parent”                   gchar *
+
  “parent”                   gchar *

If given, specifies the parent interface name or parent connection UUID from which this VLAN interface should be created. If this property is not specified, the connection must contain an NMSettingWired setting diff --git a/docs/libnm/html/NMSettingVpn.html b/docs/libnm/html/NMSettingVpn.html index 6836679f..91d8f1fb 100644 --- a/docs/libnm/html/NMSettingVpn.html +++ b/docs/libnm/html/NMSettingVpn.html @@ -73,7 +73,7 @@ -gboolean +gboolean nm_setting_vpn_get_persistent () @@ -81,7 +81,7 @@ -guint32 +guint32 nm_setting_vpn_get_num_data_items () @@ -104,7 +104,7 @@ -gboolean +gboolean nm_setting_vpn_remove_data_item () @@ -120,7 +120,7 @@ -guint32 +guint32 nm_setting_vpn_get_num_secrets () @@ -143,7 +143,7 @@ -gboolean +gboolean nm_setting_vpn_remove_secret () @@ -159,7 +159,7 @@ -guint32 +guint32 nm_setting_vpn_get_timeout () @@ -179,35 +179,35 @@ -GHashTable * +GHashTable * data Read / Write -gboolean +gboolean persistent Read / Write -GHashTable * +GHashTable * secrets Read / Write -gchar * +gchar * service-type Read / Write -guint +guint timeout Read / Write -gchar * +gchar * user-name Read / Write @@ -259,7 +259,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingVpn
 
@@ -281,7 +281,7 @@ properties.

void
 (*NMVpnIterFunc) (const char *key,
                   const char *value,
-                  gpointer user_data);
+ gpointer user_data);

Parameters

@@ -378,7 +378,7 @@ nm_setting_vpn_get_user_name (

nm_setting_vpn_get_persistent ()

-
gboolean
+
gboolean
 nm_setting_vpn_get_persistent (NMSettingVpn *setting);

Parameters

@@ -403,7 +403,7 @@ nm_setting_vpn_get_persistent (

nm_setting_vpn_get_num_data_items ()

-
guint32
+
guint32
 nm_setting_vpn_get_num_data_items (NMSettingVpn *setting);

Gets number of key/value pairs of VPN configuration data.

@@ -506,7 +506,7 @@ by

nm_setting_vpn_remove_data_item ()

-
gboolean
+
gboolean
 nm_setting_vpn_remove_data_item (NMSettingVpn *setting,
                                  const char *key);

Deletes a key/value relationship previously established by @@ -535,8 +535,8 @@ nm_setting_vpn_remove_data_item (

Returns

-

TRUE if the data item was found and removed from the internal list, -FALSE if it was not.

+

TRUE if the data item was found and removed from the internal list, +FALSE if it was not.


@@ -545,7 +545,7 @@ nm_setting_vpn_remove_data_item (void nm_setting_vpn_foreach_data_item (NMSettingVpn *setting, NMVpnIterFunc func, - gpointer user_data);
+ gpointer user_data);

Iterates all data items stored in this setting. It is safe to add, remove, and modify data items inside func , though any additions or removals made @@ -582,7 +582,7 @@ during iteration will not be part of the iteration.


nm_setting_vpn_get_num_secrets ()

-
guint32
+
guint32
 nm_setting_vpn_get_num_secrets (NMSettingVpn *setting);

Gets number of VPN plugin specific secrets in the setting.

@@ -684,7 +684,7 @@ by

nm_setting_vpn_remove_secret ()

-
gboolean
+
gboolean
 nm_setting_vpn_remove_secret (NMSettingVpn *setting,
                               const char *key);

Deletes a key/value relationship previously established by @@ -713,8 +713,8 @@ nm_setting_vpn_remove_secret (

Returns

-

TRUE if the secret was found and removed from the internal list, -FALSE if it was not.

+

TRUE if the secret was found and removed from the internal list, +FALSE if it was not.


@@ -723,7 +723,7 @@ nm_setting_vpn_remove_secret (void nm_setting_vpn_foreach_secret (NMSettingVpn *setting, NMVpnIterFunc func, - gpointer user_data); + gpointer user_data);

Iterates all secrets stored in this setting. It is safe to add, remove, and modify secrets inside func , though any additions or removals made during @@ -760,7 +760,7 @@ iteration will not be part of the iteration.


nm_setting_vpn_get_timeout ()

-
guint32
+
guint32
 nm_setting_vpn_get_timeout (NMSettingVpn *setting);

Parameters

@@ -838,7 +838,7 @@ nm_setting_vpn_get_timeout (

Property Details

The “data” property

-
  “data”                     GHashTable *
+
  “data”                     GHashTable *

Dictionary of key/value pairs of VPN plugin specific data. Both keys and values must be strings.

Type: GHashTable(utf8,utf8)

@@ -847,8 +847,8 @@ values must be strings.


The “persistent” property

-
  “persistent”               gboolean
-

If the VPN service supports persistence, and this property is TRUE, +

  “persistent”               gboolean
+

If the VPN service supports persistence, and this property is TRUE, the VPN will attempt to stay connected across link changes and outages, until explicitly disconnected.

Flags: Read / Write

@@ -857,7 +857,7 @@ until explicitly disconnected.


The “secrets” property

-
  “secrets”                  GHashTable *
+
  “secrets”                  GHashTable *

Dictionary of key/value pairs of VPN plugin specific secrets like passwords or private keys. Both keys and values must be strings.

Type: GHashTable(utf8,utf8)

@@ -866,7 +866,7 @@ passwords or private keys. Both keys and values must be strings.


The “service-type” property

-
  “service-type”             gchar *
+
  “service-type”             gchar *

D-Bus service name of the VPN plugin that this setting uses to connect to its network. i.e. org.freedesktop.NetworkManager.vpnc for the vpnc plugin.

@@ -876,10 +876,10 @@ plugin.


The “timeout” property

-
  “timeout”                  guint
+
  “timeout”                  guint

Timeout for the VPN service to establish the connection. Some services may take quite a long time to connect. -Value of 0 means a default timeout, which is 60 seconds (unless overriden +Value of 0 means a default timeout, which is 60 seconds (unless overridden by vpn.timeout in configuration file). Values greater than zero mean timeout in seconds.

Flags: Read / Write

@@ -889,7 +889,7 @@ timeout in seconds.


The “user-name” property

-
  “user-name”                gchar *
+
  “user-name”                gchar *

If the VPN connection requires a user name for authentication, that name should be provided here. If the connection is available to more than one user, and the VPN requires each user to supply a different name, then diff --git a/docs/libnm/html/NMSettingVxlan.html b/docs/libnm/html/NMSettingVxlan.html index 70ff153c..46eeb215 100644 --- a/docs/libnm/html/NMSettingVxlan.html +++ b/docs/libnm/html/NMSettingVxlan.html @@ -58,7 +58,7 @@

- + - + - + - + - + - + - + +gchar * +gchar * - + +gchar * - + - + - + - + - + @@ -357,7 +357,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingVxlan
 
@@ -410,7 +410,7 @@ nm_setting_vxlan_get_parent (

nm_setting_vxlan_get_id ()

-
guint
+
guint
 nm_setting_vxlan_get_id (NMSettingVxlan *setting);

Parameters

@@ -488,7 +488,7 @@ nm_setting_vxlan_get_remote (

nm_setting_vxlan_get_source_port_min ()

-
guint
+
guint
 nm_setting_vxlan_get_source_port_min (NMSettingVxlan *setting);

Parameters

@@ -514,7 +514,7 @@ nm_setting_vxlan_get_source_port_min (

nm_setting_vxlan_get_source_port_max ()

-
guint
+
guint
 nm_setting_vxlan_get_source_port_max (NMSettingVxlan *setting);

Parameters

@@ -540,7 +540,7 @@ nm_setting_vxlan_get_source_port_max (

nm_setting_vxlan_get_destination_port ()

-
guint
+
guint
 nm_setting_vxlan_get_destination_port (NMSettingVxlan *setting);

Parameters

@@ -566,7 +566,7 @@ nm_setting_vxlan_get_destination_port (

nm_setting_vxlan_get_tos ()

-
guint
+
guint
 nm_setting_vxlan_get_tos (NMSettingVxlan *setting);

Parameters

@@ -592,7 +592,7 @@ nm_setting_vxlan_get_tos (

nm_setting_vxlan_get_ttl ()

-
guint
+
guint
 nm_setting_vxlan_get_ttl (NMSettingVxlan *setting);

Parameters

@@ -618,7 +618,7 @@ nm_setting_vxlan_get_ttl (

nm_setting_vxlan_get_ageing ()

-
guint
+
guint
 nm_setting_vxlan_get_ageing (NMSettingVxlan *setting);

Parameters

@@ -644,7 +644,7 @@ nm_setting_vxlan_get_ageing (

nm_setting_vxlan_get_limit ()

-
guint
+
guint
 nm_setting_vxlan_get_limit (NMSettingVxlan *setting);

Parameters

@@ -670,7 +670,7 @@ nm_setting_vxlan_get_limit (

nm_setting_vxlan_get_proxy ()

-
gboolean
+
gboolean
 nm_setting_vxlan_get_proxy (NMSettingVxlan *setting);

Parameters

@@ -696,7 +696,7 @@ nm_setting_vxlan_get_proxy (

nm_setting_vxlan_get_learning ()

-
gboolean
+
gboolean
 nm_setting_vxlan_get_learning (NMSettingVxlan *setting);

Parameters

@@ -722,7 +722,7 @@ nm_setting_vxlan_get_learning (

nm_setting_vxlan_get_rsc ()

-
gboolean
+
gboolean
 nm_setting_vxlan_get_rsc (NMSettingVxlan *setting);

Parameters

@@ -748,7 +748,7 @@ nm_setting_vxlan_get_rsc (

nm_setting_vxlan_get_l2_miss ()

-
gboolean
+
gboolean
 nm_setting_vxlan_get_l2_miss (NMSettingVxlan *setting);

Parameters

@@ -774,7 +774,7 @@ nm_setting_vxlan_get_l2_miss (

nm_setting_vxlan_get_l3_miss ()

-
gboolean
+
gboolean
 nm_setting_vxlan_get_l3_miss (NMSettingVxlan *setting);

Parameters

@@ -912,7 +912,7 @@ nm_setting_vxlan_get_l3_miss (

Property Details

The “ageing” property

-
  “ageing”                   guint
+
  “ageing”                   guint

Specifies the lifetime in seconds of FDB entries learnt by the kernel.

Flags: Read / Write / Construct

Default value: 300

@@ -921,7 +921,7 @@ nm_setting_vxlan_get_l3_miss (

The “destination-port” property

-
  “destination-port”         guint
+
  “destination-port”         guint

Specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint.

Flags: Read / Write / Construct

@@ -932,8 +932,8 @@ tunnel endpoint.


The “id” property

-
  “id”                       guint
-

Specifies the VXLAN Network Identifer (or VXLAN Segment Identifier) to +

  “id”                       guint
+

Specifies the VXLAN Network Identifier (or VXLAN Segment Identifier) to use.

Flags: Read / Write / Construct

Allowed values: <= 16777215

@@ -943,7 +943,7 @@ use.


The “l2-miss” property

-
  “l2-miss”                  gboolean
+
  “l2-miss”                  gboolean

Specifies whether netlink LL ADDR miss notifications are generated.

Flags: Read / Write / Construct

Default value: FALSE

@@ -952,7 +952,7 @@ use.


The “l3-miss” property

-
  “l3-miss”                  gboolean
+
  “l3-miss”                  gboolean

Specifies whether netlink IP ADDR miss notifications are generated.

Flags: Read / Write / Construct

Default value: FALSE

@@ -961,7 +961,7 @@ use.


The “learning” property

-
  “learning”                 gboolean
+
  “learning”                 gboolean

Specifies whether unknown source link layer addresses and IP addresses are entered into the VXLAN device forwarding database.

Flags: Read / Write / Construct

@@ -971,7 +971,7 @@ are entered into the VXLAN device forwarding database.


The “limit” property

-
  “limit”                    guint
+
  “limit”                    guint

Specifies the maximum number of FDB entries. A value of zero means that the kernel will store unlimited entries.

Flags: Read / Write / Construct

@@ -981,7 +981,7 @@ the kernel will store unlimited entries.


The “local” property

-
  “local”                    gchar *
+
  “local”                    gchar *

If given, specifies the source IP address to use in outgoing packets.

Flags: Read / Write / Construct

Default value: NULL

@@ -990,7 +990,7 @@ the kernel will store unlimited entries.


The “parent” property

-
  “parent”                   gchar *
+
  “parent”                   gchar *

If given, specifies the parent interface name or parent connection UUID.

Flags: Read / Write / Construct

Default value: NULL

@@ -999,7 +999,7 @@ the kernel will store unlimited entries.


The “proxy” property

-
  “proxy”                    gboolean
+
  “proxy”                    gboolean

Specifies whether ARP proxy is turned on.

Flags: Read / Write / Construct

Default value: FALSE

@@ -1008,7 +1008,7 @@ the kernel will store unlimited entries.


The “remote” property

-
  “remote”                   gchar *
+
  “remote”                   gchar *

Specifies the unicast destination IP address to use in outgoing packets when the destination link layer address is not known in the VXLAN device forwarding database, or the multicast IP address to join.

@@ -1019,7 +1019,7 @@ forwarding database, or the multicast IP address to join.


The “rsc” property

-
  “rsc”                      gboolean
+
  “rsc”                      gboolean

Specifies whether route short circuit is turned on.

Flags: Read / Write / Construct

Default value: FALSE

@@ -1028,7 +1028,7 @@ forwarding database, or the multicast IP address to join.


The “source-port-max” property

-
  “source-port-max”          guint
+
  “source-port-max”          guint

Specifies the maximum UDP source port to communicate to the remote VXLAN tunnel endpoint.

Flags: Read / Write / Construct

@@ -1039,7 +1039,7 @@ tunnel endpoint.


The “source-port-min” property

-
  “source-port-min”          guint
+
  “source-port-min”          guint

Specifies the minimum UDP source port to communicate to the remote VXLAN tunnel endpoint.

Flags: Read / Write / Construct

@@ -1050,7 +1050,7 @@ tunnel endpoint.


The “tos” property

-
  “tos”                      guint
+
  “tos”                      guint

Specifies the TOS value to use in outgoing packets.

Flags: Read / Write / Construct

Allowed values: <= 255

@@ -1060,7 +1060,7 @@ tunnel endpoint.


The “ttl” property

-
  “ttl”                      guint
+
  “ttl”                      guint

Specifies the time-to-live value to use in outgoing packets.

Flags: Read / Write / Construct

Allowed values: <= 255

diff --git a/docs/libnm/html/NMSettingWimax.html b/docs/libnm/html/NMSettingWimax.html index 585b24c5..7d774d23 100644 --- a/docs/libnm/html/NMSettingWimax.html +++ b/docs/libnm/html/NMSettingWimax.html @@ -77,13 +77,13 @@
+gchar * +gchar * @@ -119,7 +119,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingWimax
 
@@ -241,7 +241,7 @@ to.

Property Details

The “mac-address” property

-
  “mac-address”              gchar *
+
  “mac-address”              gchar *

If specified, this connection will only apply to the WiMAX device whose MAC address matches. This property does not change the MAC address of the device (known as MAC spoofing).

@@ -255,7 +255,7 @@ device (known as MAC spoofing).


The “network-name” property

-
  “network-name”             gchar *
+
  “network-name”             gchar *

Network Service Provider (NSP) name of the WiMAX network this connection should use.

diff --git a/docs/libnm/html/NMSettingWired.html b/docs/libnm/html/NMSettingWired.html index 4c943708..26d54fd1 100644 --- a/docs/libnm/html/NMSettingWired.html +++ b/docs/libnm/html/NMSettingWired.html @@ -58,7 +58,7 @@
- + +gchar * +gchar * +gchar * +gchar * - + - + +gchar * +gchar * +GHashTable * - + - + - + +gchar * @@ -411,9 +411,9 @@

Object Hierarchy

-
    GFlags
+
    GFlags
     ╰── NMSettingWiredWakeOnLan
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingWired
 
@@ -464,7 +464,7 @@ nm_setting_wired_get_port (

nm_setting_wired_get_speed ()

-
guint32
+
guint32
 nm_setting_wired_get_speed (NMSettingWired *setting);

Parameters

@@ -514,7 +514,7 @@ nm_setting_wired_get_duplex (

nm_setting_wired_get_auto_negotiate ()

-
gboolean
+
gboolean
 nm_setting_wired_get_auto_negotiate (NMSettingWired *setting);

Parameters

@@ -643,7 +643,7 @@ nm_setting_wired_get_mac_address_blacklist

nm_setting_wired_get_num_mac_blacklist_items ()

-
guint32
+
guint32
 nm_setting_wired_get_num_mac_blacklist_items
                                (NMSettingWired *setting);
@@ -672,7 +672,7 @@ nm_setting_wired_get_num_mac_blacklist_items
const char *
 nm_setting_wired_get_mac_blacklist_item
                                (NMSettingWired *setting,
-                                guint32 idx);
+ guint32 idx);

Parameters

-guint +guint nm_setting_vxlan_get_id () @@ -80,7 +80,7 @@
-guint +guint nm_setting_vxlan_get_source_port_min () @@ -88,7 +88,7 @@
-guint +guint nm_setting_vxlan_get_source_port_max () @@ -96,7 +96,7 @@
-guint +guint nm_setting_vxlan_get_destination_port () @@ -104,7 +104,7 @@
-guint +guint nm_setting_vxlan_get_tos () @@ -112,7 +112,7 @@
-guint +guint nm_setting_vxlan_get_ttl () @@ -120,7 +120,7 @@
-guint +guint nm_setting_vxlan_get_ageing () @@ -128,7 +128,7 @@
-guint +guint nm_setting_vxlan_get_limit () @@ -136,7 +136,7 @@
-gboolean +gboolean nm_setting_vxlan_get_proxy () @@ -144,7 +144,7 @@
-gboolean +gboolean nm_setting_vxlan_get_learning () @@ -152,7 +152,7 @@
-gboolean +gboolean nm_setting_vxlan_get_rsc () @@ -160,7 +160,7 @@
-gboolean +gboolean nm_setting_vxlan_get_l2_miss () @@ -168,7 +168,7 @@
-gboolean +gboolean nm_setting_vxlan_get_l3_miss () @@ -187,85 +187,85 @@
guintguint ageing Read / Write / Construct
guintguint destination-port Read / Write / Construct
guintguint id Read / Write / Construct
gbooleangboolean l2-miss Read / Write / Construct
gbooleangboolean l3-miss Read / Write / Construct
gbooleangboolean learning Read / Write / Construct
guintguint limit Read / Write / Construct
-gchar *local Read / Write / Construct
-gchar *parent Read / Write / Construct
gbooleangboolean proxy Read / Write / Construct
-gchar *remote Read / Write / Construct
gbooleangboolean rsc Read / Write / Construct
guintguint source-port-max Read / Write / Construct
guintguint source-port-min Read / Write / Construct
guintguint tos Read / Write / Construct
guintguint ttl Read / Write / Construct
-gchar *mac-address Read / Write
-gchar *network-name Read / Write
-guint32 +guint32 nm_setting_wired_get_speed () @@ -73,7 +73,7 @@
-gboolean +gboolean nm_setting_wired_get_auto_negotiate () @@ -109,7 +109,7 @@
-guint32 +guint32 nm_setting_wired_get_num_mac_blacklist_items () @@ -124,7 +124,7 @@
-gboolean +gboolean nm_setting_wired_add_mac_blacklist_item () @@ -140,7 +140,7 @@
-gboolean +gboolean nm_setting_wired_remove_mac_blacklist_item_by_value () @@ -156,7 +156,7 @@
-guint32 +guint32 nm_setting_wired_get_mtu () @@ -178,7 +178,7 @@
-guint32 +guint32 nm_setting_wired_get_num_s390_options () @@ -186,7 +186,7 @@
-gboolean +gboolean nm_setting_wired_get_s390_option () @@ -201,7 +201,7 @@
-gboolean +gboolean nm_setting_wired_add_s390_option () @@ -209,7 +209,7 @@
-gboolean +gboolean nm_setting_wired_remove_s390_option () @@ -250,80 +250,80 @@
gbooleangboolean auto-negotiate Read / Write / Construct
-gchar *cloned-mac-address Read / Write
-gchar *duplex Read / Write
-gchar *generate-mac-address-mask Read / Write
-gchar *mac-address Read / Write
GStrvGStrv mac-address-blacklist Read / Write
guintguint mtu Read / Write / Construct
-gchar *port Read / Write
-gchar *s390-nettype Read / Write
-GHashTable *s390-options Read / Write
GStrvGStrv s390-subchannels Read / Write
guintguint speed Read / Write / Construct
guintguint wake-on-lan Read / Write / Construct
-gchar *wake-on-lan-password Read / Write
@@ -705,7 +705,7 @@ at index idx

nm_setting_wired_add_mac_blacklist_item ()

-
gboolean
+
gboolean
 nm_setting_wired_add_mac_blacklist_item
                                (NMSettingWired *setting,
                                 const char *mac);
@@ -734,7 +734,7 @@ nm_setting_wired_add_mac_blacklist_item

Returns

-

TRUE if the MAC address was added; FALSE if the MAC address +

TRUE if the MAC address was added; FALSE if the MAC address is invalid or was already present

@@ -744,7 +744,7 @@ is invalid or was already present

void
 nm_setting_wired_remove_mac_blacklist_item
                                (NMSettingWired *setting,
-                                guint32 idx);
+ guint32 idx);

Removes the MAC address at index idx from the blacklist.

@@ -773,7 +773,7 @@ nm_setting_wired_remove_mac_blacklist_item

nm_setting_wired_remove_mac_blacklist_item_by_value ()

-
gboolean
+
gboolean
 nm_setting_wired_remove_mac_blacklist_item_by_value
                                (NMSettingWired *setting,
                                 const char *mac);
@@ -804,7 +804,7 @@ the blacklist

Returns

-

TRUE if the MAC address was found and removed; FALSE if it was not.

+

TRUE if the MAC address was found and removed; FALSE if it was not.


@@ -833,7 +833,7 @@ nm_setting_wired_clear_mac_blacklist_items

nm_setting_wired_get_mtu ()

-
guint32
+
guint32
 nm_setting_wired_get_mtu (NMSettingWired *setting);

Parameters

@@ -915,7 +915,7 @@ of 'qeth', 'lcs', or 'ctc'.


nm_setting_wired_get_num_s390_options ()

-
guint32
+
guint32
 nm_setting_wired_get_num_s390_options (NMSettingWired *setting);

Returns the number of s390-specific options that should be set for this device when it is activated. This can be used to retrieve each s390 @@ -943,9 +943,9 @@ option individually using

nm_setting_wired_get_s390_option ()

-
gboolean
+
gboolean
 nm_setting_wired_get_s390_option (NMSettingWired *setting,
-                                  guint32 idx,
+                                  guint32 idx,
                                   const char **out_key,
                                   const char **out_value);

Given an index, return the value of the s390 option at that index. indexes @@ -991,8 +991,8 @@ modified.

Returns

-

TRUE on success if the index was valid and an option was found, -FALSE if the index was invalid (ie, greater than the number of options +

TRUE on success if the index was valid and an option was found, +FALSE if the index was invalid (ie, greater than the number of options currently held by the setting)

@@ -1030,14 +1030,14 @@ nm_setting_wired_get_s390_option_by_key

Returns

-

the value, or NULL if the key/value pair was never added to the +

the value, or NULL if the key/value pair was never added to the setting; the value is owned by the setting and must not be modified


nm_setting_wired_add_s390_option ()

-
gboolean
+
gboolean
 nm_setting_wired_add_s390_option (NMSettingWired *setting,
                                   const char *key,
                                   const char *value);
@@ -1074,14 +1074,14 @@ may already exist.

Returns

-

TRUE if the option was valid and was added to the internal option -list, FALSE if it was not.

+

TRUE if the option was valid and was added to the internal option +list, FALSE if it was not.


nm_setting_wired_remove_s390_option ()

-
gboolean
+
gboolean
 nm_setting_wired_remove_s390_option (NMSettingWired *setting,
                                      const char *key);

Remove the s390-specific option referenced by key @@ -1111,8 +1111,8 @@ list.

Returns

-

TRUE if the option was found and removed from the internal option -list, FALSE if it was not.

+

TRUE if the option was found and removed from the internal option +list, FALSE if it was not.


@@ -1123,7 +1123,7 @@ nm_setting_wired_get_valid_s390_options (NMSettingWired *setting);

Returns a list of valid s390 options.

The setting - argument is unused and NULL may be passed instead.

+ argument is unused and NULL may be passed instead.

Parameters

@@ -1141,7 +1141,7 @@ nm_setting_wired_get_valid_s390_options

Returns

-

a NULL-terminated array of strings of valid s390 options.

+

a NULL-terminated array of strings of valid s390 options.

[transfer none]

@@ -1197,7 +1197,7 @@ nm_setting_wired_get_wake_on_lan_password

Returns

-

the Wake-on-LAN setting password, or NULL if there is no password.

+

the Wake-on-LAN setting password, or NULL if there is no password.

Since: 1.2

@@ -1410,9 +1410,9 @@ are supported by all devices.

Property Details

The “auto-negotiate” property

-
  “auto-negotiate”           gboolean
-

If TRUE, enforce auto-negotiation of port speed and duplex mode. If -FALSE, "speed" and "duplex" properties should be both set or link configuration +

  “auto-negotiate”           gboolean
+

If TRUE, enforce auto-negotiation of port speed and duplex mode. If +FALSE, "speed" and "duplex" properties should be both set or link configuration will be skipped.

Flags: Read / Write / Construct

Default value: FALSE

@@ -1420,10 +1420,10 @@ will be skipped.


The “cloned-mac-address” property

-
  “cloned-mac-address”       gchar *
+
  “cloned-mac-address”       gchar *

If specified, request that the device use this MAC address instead. This is known as MAC cloning or spoofing.

-

Beside explicitly specifing a MAC address, the special values "preserve", "permanent", +

Beside explicitly specifying a MAC address, the special values "preserve", "permanent", "random" and "stable" are supported. "preserve" means not to touch the MAC address on activation. "permanent" means to use the permanent hardware address if the device @@ -1442,7 +1442,7 @@ of NetworkManager.conf. If still unspecified, it defaults to "preserve"


The “duplex” property

-
  “duplex”                   gchar *
+
  “duplex”                   gchar *

Can be specified only when "auto-negotiate" is "off". In that case, statically configures the device to use that specified duplex mode, either "half" or "full". Must be set together with the "speed" property if specified. @@ -1453,14 +1453,14 @@ Before specifying a duplex mode be sure your device supports it.


The “generate-mac-address-mask” property

-
  “generate-mac-address-mask” gchar *
+
  “generate-mac-address-mask” gchar *

With “cloned-mac-address” setting "random" or "stable", by default all bits of the MAC address are scrambled and a locally-administered, unicast MAC address is created. This property allows to specify that certain bits are fixed. Note that the least significant bit of the first MAC address will always be unset to create a unicast MAC address.

-

If the property is NULL, it is eligible to be overwritten by a default -connection setting. If the value is still NULL or an empty string, the +

If the property is NULL, it is eligible to be overwritten by a default +connection setting. If the value is still NULL or an empty string, the default is to create a locally-administered, unicast MAC address.

If the value contains one MAC address, this address is used as mask. The set bits of the mask are to be filled with the current MAC address of the device, @@ -1474,7 +1474,7 @@ that shall not be randomized. For example, a value of to 68:F7:28, while the lower bits are randomized. A value of "02:00:00:00:00:00 00:00:00:00:00:00" will create a fully scrambled globally-administered, burned-in MAC address.

-

If the value contains more then one additional MAC addresses, one of +

If the value contains more than one additional MAC addresses, one of them is chosen randomly. For example, "02:00:00:00:00:00 00:00:00:00:00:00 02:00:00:00:00:00" will create a fully scrambled MAC address, randomly locally or globally administered.

@@ -1484,7 +1484,7 @@ administered.


The “mac-address” property

-
  “mac-address”              gchar *
+
  “mac-address”              gchar *

If specified, this connection will only apply to the Ethernet device whose permanent MAC address matches. This property does not change the MAC address of the device (i.e. MAC spoofing).

@@ -1494,7 +1494,7 @@ MAC address of the device (i.e. MAC spoofing).


The “mac-address-blacklist” property

-
  “mac-address-blacklist”    GStrv
+
  “mac-address-blacklist”    GStrv

If specified, this connection will never apply to the Ethernet device whose permanent MAC address matches an address in the list. Each MAC address is in the standard hex-digits-and-colons notation @@ -1504,7 +1504,7 @@ address is in the standard hex-digits-and-colons notation


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple Ethernet frames.

Flags: Read / Write / Construct

@@ -1513,10 +1513,10 @@ breaking larger packets up into multiple Ethernet frames.


The “port” property

-
  “port”                     gchar *
-

Specific port type to use if multiple the device supports multiple +

  “port”                     gchar *
+

Specific port type to use if the device supports multiple attachment methods. One of "tp" (Twisted Pair), "aui" (Attachment Unit -Interface), "bnc" (Thin Ethernet) or "mii" (Media Independent Interface. +Interface), "bnc" (Thin Ethernet) or "mii" (Media Independent Interface). If the device supports only one port type, this setting is ignored.

Flags: Read / Write

Default value: NULL

@@ -1524,7 +1524,7 @@ If the device supports only one port type, this setting is ignored.


The “s390-nettype” property

-
  “s390-nettype”             gchar *
+
  “s390-nettype”             gchar *

s390 network device type; one of "qeth", "lcs", or "ctc", representing the different types of virtual network devices available on s390 systems.

Flags: Read / Write

@@ -1533,7 +1533,7 @@ the different types of virtual network devices available on s390 systems.


The “s390-options” property

-
  “s390-options”             GHashTable *
+
  “s390-options”             GHashTable *

Dictionary of key/value pairs of s390-specific device options. Both keys and values must be strings. Allowed keys include "portno", "layer2", "portname", "protocol", among others. Key names must contain only @@ -1544,7 +1544,7 @@ alphanumeric characters (ie, [a-zA-Z0-9]).


The “s390-subchannels” property

-
  “s390-subchannels”         GStrv
+
  “s390-subchannels”         GStrv

Identifies specific subchannels that this network device uses for communication with z/VM or s390 host. Like the “mac-address” property for non-z/VM devices, this property @@ -1557,8 +1557,8 @@ period (.) character.


The “speed” property

-
  “speed”                    guint
-

Can be set to a value grater than zero only when "auto-negotiate" is "off". +

  “speed”                    guint
+

Can be set to a value greater than zero only when "auto-negotiate" is "off". In that case, statically configures the device to use that specified speed. In Mbit/s, ie 100 == 100Mbit/s. Must be set together with the "duplex" property when non-zero. @@ -1569,7 +1569,7 @@ Before specifying a speed value be sure your device supports it.


The “wake-on-lan” property

-
  “wake-on-lan”              guint
+
  “wake-on-lan”              guint

The NMSettingWiredWakeOnLan options to enable. Not all devices support all options. May be any combination of NM_SETTING_WIRED_WAKE_ON_LAN_PHY, NM_SETTING_WIRED_WAKE_ON_LAN_UNICAST, NM_SETTING_WIRED_WAKE_ON_LAN_MULTICAST, @@ -1585,9 +1585,9 @@ NetworkManager).


The “wake-on-lan-password” property

-
  “wake-on-lan-password”     gchar *
+
  “wake-on-lan-password”     gchar *

If specified, the password used with magic-packet-based -Wake-on-LAN, represented as an Ethernet MAC address. If NULL, +Wake-on-LAN, represented as an Ethernet MAC address. If NULL, no password will be required.

Flags: Read / Write

Default value: NULL

diff --git a/docs/libnm/html/NMSettingWireless.html b/docs/libnm/html/NMSettingWireless.html index 165002f3..ca941e84 100644 --- a/docs/libnm/html/NMSettingWireless.html +++ b/docs/libnm/html/NMSettingWireless.html @@ -51,7 +51,7 @@
+gchar * +gchar * - + +gchar * +gchar * - + +gchar * - + - + +gchar * - + - + - + - + +GBytes * - + @@ -443,9 +443,9 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMSettingWirelessPowersave
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingWireless
 
@@ -471,7 +471,7 @@ nm_setting_wireless_new (void

nm_setting_wireless_get_ssid ()

-
GBytes *
+
GBytes *
 nm_setting_wireless_get_ssid (NMSettingWireless *setting);

Parameters

@@ -547,7 +547,7 @@ nm_setting_wireless_get_band (

nm_setting_wireless_get_channel ()

-
guint32
+
guint32
 nm_setting_wireless_get_channel (NMSettingWireless *setting);

Parameters

@@ -597,7 +597,7 @@ nm_setting_wireless_get_bssid (

nm_setting_wireless_get_rate ()

-
guint32
+
guint32
 nm_setting_wireless_get_rate (NMSettingWireless *setting);

Parameters

@@ -622,7 +622,7 @@ nm_setting_wireless_get_rate (

nm_setting_wireless_get_tx_power ()

-
guint32
+
guint32
 nm_setting_wireless_get_tx_power (NMSettingWireless *setting);

Parameters

@@ -751,7 +751,7 @@ nm_setting_wireless_get_mac_address_blacklist

nm_setting_wireless_get_num_mac_blacklist_items ()

-
guint32
+
guint32
 nm_setting_wireless_get_num_mac_blacklist_items
                                (NMSettingWireless *setting);
@@ -780,7 +780,7 @@ nm_setting_wireless_get_num_mac_blacklist_items
const char *
 nm_setting_wireless_get_mac_blacklist_item
                                (NMSettingWireless *setting,
-                                guint32 idx);
+ guint32 idx);

Parameters

-GBytes * +GBytes * nm_setting_wireless_get_ssid () @@ -73,7 +73,7 @@
-guint32 +guint32 nm_setting_wireless_get_channel () @@ -88,7 +88,7 @@
-guint32 +guint32 nm_setting_wireless_get_rate () @@ -96,7 +96,7 @@
-guint32 +guint32 nm_setting_wireless_get_tx_power () @@ -132,7 +132,7 @@
-guint32 +guint32 nm_setting_wireless_get_num_mac_blacklist_items () @@ -147,7 +147,7 @@
-gboolean +gboolean nm_setting_wireless_add_mac_blacklist_item () @@ -163,7 +163,7 @@
-gboolean +gboolean nm_setting_wireless_remove_mac_blacklist_item_by_value () @@ -179,7 +179,7 @@
-guint32 +guint32 nm_setting_wireless_get_mtu () @@ -187,7 +187,7 @@
-gboolean +gboolean nm_setting_wireless_get_hidden () @@ -195,7 +195,7 @@
-guint32 +guint32 nm_setting_wireless_get_powersave () @@ -211,7 +211,7 @@
-gboolean +gboolean nm_setting_wireless_add_seen_bssid () @@ -219,7 +219,7 @@
-guint32 +guint32 nm_setting_wireless_get_num_seen_bssids () @@ -234,7 +234,7 @@
-gboolean +gboolean nm_setting_wireless_ap_security_compatible () @@ -254,88 +254,88 @@
-gchar *band Read / Write
-gchar *bssid Read / Write
guintguint channel Read / Write / Construct
-gchar *cloned-mac-address Read / Write
-gchar *generate-mac-address-mask Read / Write
gbooleangboolean hidden Read / Write
-gchar *mac-address Read / Write
GStrvGStrv mac-address-blacklist Read / Write
guintguint mac-address-randomization Read / Write
-gchar *mode Read / Write
guintguint mtu Read / Write / Construct
guintguint powersave Read / Write
guintguint rate Read / Write / Construct
GStrvGStrv seen-bssids Read / Write
-GBytes *ssid Read / Write
guintguint tx-power Read / Write / Construct
@@ -813,7 +813,7 @@ at index idx

nm_setting_wireless_add_mac_blacklist_item ()

-
gboolean
+
gboolean
 nm_setting_wireless_add_mac_blacklist_item
                                (NMSettingWireless *setting,
                                 const char *mac);
@@ -842,7 +842,7 @@ nm_setting_wireless_add_mac_blacklist_item

Returns

-

TRUE if the MAC address was added; FALSE if the MAC address +

TRUE if the MAC address was added; FALSE if the MAC address is invalid or was already present

@@ -852,7 +852,7 @@ is invalid or was already present

void
 nm_setting_wireless_remove_mac_blacklist_item
                                (NMSettingWireless *setting,
-                                guint32 idx);
+ guint32 idx);

Removes the MAC address at index idx from the blacklist.

@@ -881,7 +881,7 @@ nm_setting_wireless_remove_mac_blacklist_item

nm_setting_wireless_remove_mac_blacklist_item_by_value ()

-
gboolean
+
gboolean
 nm_setting_wireless_remove_mac_blacklist_item_by_value
                                (NMSettingWireless *setting,
                                 const char *mac);
@@ -912,7 +912,7 @@ the blacklist

Returns

-

TRUE if the MAC address was found and removed; FALSE if it was not.

+

TRUE if the MAC address was found and removed; FALSE if it was not.


@@ -941,7 +941,7 @@ nm_setting_wireless_clear_mac_blacklist_items

nm_setting_wireless_get_mtu ()

-
guint32
+
guint32
 nm_setting_wireless_get_mtu (NMSettingWireless *setting);

Parameters

@@ -966,7 +966,7 @@ nm_setting_wireless_get_mtu (

nm_setting_wireless_get_hidden ()

-
gboolean
+
gboolean
 nm_setting_wireless_get_hidden (NMSettingWireless *setting);

Parameters

@@ -991,7 +991,7 @@ nm_setting_wireless_get_hidden (

nm_setting_wireless_get_powersave ()

-
guint32
+
guint32
 nm_setting_wireless_get_powersave (NMSettingWireless *setting);

Parameters

@@ -1045,7 +1045,7 @@ setting


nm_setting_wireless_add_seen_bssid ()

-
gboolean
+
gboolean
 nm_setting_wireless_add_seen_bssid (NMSettingWireless *setting,
                                     const char *bssid);

Adds a new Wi-Fi AP's BSSID to the previously seen BSSID list of the setting. @@ -1076,14 +1076,14 @@ not be preserved.

Returns

-

TRUE if bssid -was already known, FALSE if not

+

TRUE if bssid +was already known, FALSE if not


nm_setting_wireless_get_num_seen_bssids ()

-
guint32
+
guint32
 nm_setting_wireless_get_num_seen_bssids
                                (NMSettingWireless *setting);
@@ -1111,7 +1111,7 @@ nm_setting_wireless_get_num_seen_bssids

nm_setting_wireless_get_seen_bssid ()

const char *
 nm_setting_wireless_get_seen_bssid (NMSettingWireless *setting,
-                                    guint32 i);
+ guint32 i);

Parameters

@@ -1143,7 +1143,7 @@ nm_setting_wireless_get_seen_bssid (

nm_setting_wireless_ap_security_compatible ()

-
gboolean
+
gboolean
 nm_setting_wireless_ap_security_compatible
                                (NMSettingWireless *s_wireless,
                                 NMSettingWirelessSecurity *s_wireless_sec,
@@ -1173,7 +1173,7 @@ compatible with which access points.

- + @@ -1203,8 +1203,8 @@ capabilities

Returns

-

TRUE if the given settings are compatible with the access point's -security flags and mode, FALSE if they are not.

+

TRUE if the given settings are compatible with the access point's +security flags and mode, FALSE if they are not.

@@ -1400,7 +1400,7 @@ for this connection.

Property Details

The “band” property

-
  “band”                     gchar *
+
  “band”                     gchar *

802.11 frequency band of the network. One of "a" for 5GHz 802.11a or "bg" for 2.4GHz 802.11. This will lock associations to the Wi-Fi network to the specific band, i.e. if "a" is specified, the device will not @@ -1413,7 +1413,7 @@ capability and may not work with all drivers.


The “bssid” property

-
  “bssid”                    gchar *
+
  “bssid”                    gchar *

If specified, directs the device to only associate with the given access point. This capability is highly driver dependent and not supported by all devices. Note: this property does not control the BSSID used when @@ -1424,7 +1424,7 @@ creating an Ad-Hoc network and is unlikely to in the future.


The “channel” property

-
  “channel”                  guint
+
  “channel”                  guint

Wireless channel to use for the Wi-Fi connection. The device will only join (or create for Ad-Hoc networks) a Wi-Fi network on the specified channel. Because channel numbers overlap between bands, this property @@ -1435,10 +1435,10 @@ also requires the "band" property to be set.


The “cloned-mac-address” property

-
  “cloned-mac-address”       gchar *
+
  “cloned-mac-address”       gchar *

If specified, request that the device use this MAC address instead. This is known as MAC cloning or spoofing.

-

Beside explicitly specifing a MAC address, the special values "preserve", "permanent", +

Beside explicitly specifying a MAC address, the special values "preserve", "permanent", "random" and "stable" are supported. "preserve" means not to touch the MAC address on activation. "permanent" means to use the permanent hardware address of the device. @@ -1456,14 +1456,14 @@ of NetworkManager.conf. If still unspecified, it defaults to "preserve"


The “generate-mac-address-mask” property

-
  “generate-mac-address-mask” gchar *
+
  “generate-mac-address-mask” gchar *

With “cloned-mac-address” setting "random" or "stable", by default all bits of the MAC address are scrambled and a locally-administered, unicast MAC address is created. This property allows to specify that certain bits are fixed. Note that the least significant bit of the first MAC address will always be unset to create a unicast MAC address.

-

If the property is NULL, it is eligible to be overwritten by a default -connection setting. If the value is still NULL or an empty string, the +

If the property is NULL, it is eligible to be overwritten by a default +connection setting. If the value is still NULL or an empty string, the default is to create a locally-administered, unicast MAC address.

If the value contains one MAC address, this address is used as mask. The set bits of the mask are to be filled with the current MAC address of the device, @@ -1477,7 +1477,7 @@ that shall not be randomized. For example, a value of to 68:F7:28, while the lower bits are randomized. A value of "02:00:00:00:00:00 00:00:00:00:00:00" will create a fully scrambled globally-administered, burned-in MAC address.

-

If the value contains more then one additional MAC addresses, one of +

If the value contains more than one additional MAC addresses, one of them is chosen randomly. For example, "02:00:00:00:00:00 00:00:00:00:00:00 02:00:00:00:00:00" will create a fully scrambled MAC address, randomly locally or globally administered.

@@ -1487,8 +1487,8 @@ administered.


The “hidden” property

-
  “hidden”                   gboolean
-

If TRUE, indicates this network is a non-broadcasting network that hides +

  “hidden”                   gboolean
+

If TRUE, indicates this network is a non-broadcasting network that hides its SSID. In this case various workarounds may take place, such as probe-scanning the SSID for more reliable network discovery. However, these workarounds expose inherent insecurities with hidden SSID networks, @@ -1499,7 +1499,7 @@ and thus hidden SSID networks should be used with caution.


The “mac-address” property

-
  “mac-address”              gchar *
+
  “mac-address”              gchar *

If specified, this connection will only apply to the Wi-Fi device whose permanent MAC address matches. This property does not change the MAC address of the device (i.e. MAC spoofing).

@@ -1509,7 +1509,7 @@ address of the device (i.e. MAC spoofing).


The “mac-address-blacklist” property

-
  “mac-address-blacklist”    GStrv
+
  “mac-address-blacklist”    GStrv

A list of permanent MAC addresses of Wi-Fi devices to which this connection should never apply. Each MAC address should be given in the standard hex-digits-and-colons notation (eg "00:11:22:33:44:55").

@@ -1518,7 +1518,7 @@ standard hex-digits-and-colons notation (eg "00:11:22:33:44:55").


The “mac-address-randomization” property

-
  “mac-address-randomization” guint
+
  “mac-address-randomization” guint

One of NM_SETTING_MAC_RANDOMIZATION_DEFAULT (never randomize unless the user has set a global default to randomize and the supplicant supports randomization), NM_SETTING_MAC_RANDOMIZATION_NEVER (never @@ -1536,7 +1536,7 @@ randomize the MAC address), or

The “mode” property

-
  “mode”                     gchar *
+
  “mode”                     gchar *

Wi-Fi network mode; one of "infrastructure", "adhoc" or "ap". If blank, infrastructure is assumed.

Flags: Read / Write

@@ -1545,7 +1545,7 @@ infrastructure is assumed.


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple Ethernet frames.

Flags: Read / Write / Construct

@@ -1554,7 +1554,7 @@ breaking larger packets up into multiple Ethernet frames.


The “powersave” property

-
  “powersave”                guint
+
  “powersave”                guint

One of NM_SETTING_WIRELESS_POWERSAVE_DISABLE (disable Wi-Fi power saving), NM_SETTING_WIRELESS_POWERSAVE_ENABLE (enable Wi-Fi power saving), NM_SETTING_WIRELESS_POWERSAVE_IGNORE (don't touch currently @@ -1567,7 +1567,7 @@ globally configured value). All other values are reserved.


The “rate” property

-
  “rate”                     guint
+
  “rate”                     guint

If non-zero, directs the device to only use the specified bitrate for communication with the access point. Units are in Kb/s, ie 5500 = 5.5 Mbit/s. This property is highly driver dependent and not all devices @@ -1578,7 +1578,7 @@ support setting a static bitrate.


The “seen-bssids” property

-
  “seen-bssids”              GStrv
+
  “seen-bssids”              GStrv

A list of BSSIDs (each BSSID formatted as a MAC address like "00:11:22:33:44:55") that have been detected as part of the Wi-Fi network. NetworkManager internally tracks previously seen BSSIDs. The @@ -1590,14 +1590,14 @@ preserved.


The “ssid” property

-
  “ssid”                     GBytes *
+
  “ssid”                     GBytes *

SSID of the Wi-Fi network. Must be specified.

Flags: Read / Write


The “tx-power” property

-
  “tx-power”                 guint
+
  “tx-power”                 guint

If non-zero, directs the device to use the specified transmit power. Units are dBm. This property is highly driver dependent and not all devices support setting a static transmit power.

diff --git a/docs/libnm/html/NMSettingWirelessSecurity.html b/docs/libnm/html/NMSettingWirelessSecurity.html index 90399f70..70aa4a76 100644 --- a/docs/libnm/html/NMSettingWirelessSecurity.html +++ b/docs/libnm/html/NMSettingWirelessSecurity.html @@ -59,7 +59,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

+ + + + + + + +

s_wireless_sec

a NMSettingWirelessSecurity or NULL

a NMSettingWirelessSecurity or NULL

 
-guint32 +guint32 nm_setting_wireless_security_get_num_protos () @@ -74,7 +74,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_add_proto () @@ -90,7 +90,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_remove_proto_by_value () @@ -106,7 +106,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-guint32 +guint32 nm_setting_wireless_security_get_num_pairwise () @@ -121,7 +121,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_add_pairwise () @@ -137,7 +137,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_remove_pairwise_by_value () @@ -153,7 +153,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-guint32 +guint32 nm_setting_wireless_security_get_num_groups () @@ -168,7 +168,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_add_group () @@ -184,7 +184,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gboolean +gboolean nm_setting_wireless_security_remove_group_by_value () @@ -199,6 +199,14 @@ use WEP, LEAP, WPA or WPA2/RSN security

+NMSettingWirelessSecurityPmf + +nm_setting_wireless_security_get_pmf () +
const char * @@ -252,7 +260,7 @@ use WEP, LEAP, WPA or WPA2/RSN security

-guint32 +guint32 nm_setting_wireless_security_get_wep_tx_keyidx () @@ -281,6 +289,14 @@ use WEP, LEAP, WPA or WPA2/RSN security

nm_setting_wireless_security_get_wep_key_type ()
+NMSettingWirelessSecurityWpsMethod + +nm_setting_wireless_security_get_wps_method () +
@@ -295,24 +311,24 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gchar * +gchar * auth-alg Read / Write -GStrv +GStrv group Read / Write -gchar * +gchar * key-mgmt Read / Write -gchar * +gchar * leap-password Read / Write @@ -323,23 +339,28 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gchar * +gchar * leap-username Read / Write -GStrv +GStrv pairwise Read / Write -GStrv +gint +pmf +Read / Write / Construct + + +GStrv proto Read / Write -gchar * +gchar * psk Read / Write @@ -360,33 +381,38 @@ use WEP, LEAP, WPA or WPA2/RSN security

-gchar * +gchar * wep-key0 Read / Write -gchar * +gchar * wep-key1 Read / Write -gchar * +gchar * wep-key2 Read / Write -gchar * +gchar * wep-key3 Read / Write -guint +guint wep-tx-keyidx Read / Write / Construct + +guint +wps-method +Read / Write / Construct +
@@ -407,6 +433,14 @@ use WEP, LEAP, WPA or WPA2/RSN security

NMWepKeyType +enum +NMSettingWirelessSecurityPmf + + +enum +NMSettingWirelessSecurityWpsMethod + + #define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT @@ -432,6 +466,10 @@ use WEP, LEAP, WPA or WPA2/RSN security

#define +NM_SETTING_WIRELESS_SECURITY_PMF + + +#define NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME @@ -475,6 +513,10 @@ use WEP, LEAP, WPA or WPA2/RSN security

NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS +#define +NM_SETTING_WIRELESS_SECURITY_WPS_METHOD + +   NMSettingWirelessSecurity @@ -483,9 +525,11 @@ use WEP, LEAP, WPA or WPA2/RSN security

Object Hierarchy

-
    GEnum
+
    GEnum
+    ├── NMSettingWirelessSecurityPmf
+    ├── NMSettingWirelessSecurityWpsMethod
     ╰── NMWepKeyType
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingWirelessSecurity
 
@@ -547,7 +591,7 @@ nm_setting_wireless_security_get_key_mgmt

nm_setting_wireless_security_get_num_protos ()

-
guint32
+
guint32
 nm_setting_wireless_security_get_num_protos
                                (NMSettingWirelessSecurity *setting);
@@ -577,7 +621,7 @@ connecting to secure Wi-Fi networks

const char *
 nm_setting_wireless_security_get_proto
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Parameters

@@ -609,7 +653,7 @@ nm_setting_wireless_security_get_proto

nm_setting_wireless_security_add_proto ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_add_proto
                                (NMSettingWirelessSecurity *setting,
                                 const char *proto);
@@ -643,8 +687,8 @@ with the access point.

Returns

-

TRUE if the protocol was new and was added to the allowed -protocol list, or FALSE if it was already in the list

+

TRUE if the protocol was new and was added to the allowed +protocol list, or FALSE if it was already in the list


@@ -653,7 +697,7 @@ protocol list, or FALSE if it was already in the li
void
 nm_setting_wireless_security_remove_proto
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Removes a protocol from the allowed protocol list.

Parameters

@@ -681,7 +725,7 @@ nm_setting_wireless_security_remove_proto

nm_setting_wireless_security_remove_proto_by_value ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_remove_proto_by_value
                                (NMSettingWirelessSecurity *setting,
                                 const char *proto);
@@ -710,7 +754,7 @@ nm_setting_wireless_security_remove_proto_by_value

Returns

-

TRUE if the protocol was found and removed; FALSE if it was not.

+

TRUE if the protocol was found and removed; FALSE if it was not.


@@ -740,7 +784,7 @@ specified then all protocols are allowed.


nm_setting_wireless_security_get_num_pairwise ()

-
guint32
+
guint32
 nm_setting_wireless_security_get_num_pairwise
                                (NMSettingWirelessSecurity *setting);
@@ -769,7 +813,7 @@ nm_setting_wireless_security_get_num_pairwise
const char *
 nm_setting_wireless_security_get_pairwise
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Returns the allowed pairwise encryption algorithm from allowed algorithm list.

@@ -803,7 +847,7 @@ list.


nm_setting_wireless_security_add_pairwise ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_add_pairwise
                                (NMSettingWirelessSecurity *setting,
                                 const char *pairwise);
@@ -835,7 +879,7 @@ compatible with this connection.

Returns

-

TRUE if the algorithm was added to the list, FALSE if it was +

TRUE if the algorithm was added to the list, FALSE if it was already in the list

@@ -845,7 +889,7 @@ already in the list

void
 nm_setting_wireless_security_remove_pairwise
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Removes an encryption algorithm from the allowed pairwise encryption algorithm list.

@@ -874,7 +918,7 @@ algorithm list.


nm_setting_wireless_security_remove_pairwise_by_value ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_remove_pairwise_by_value
                                (NMSettingWirelessSecurity *setting,
                                 const char *pairwise);
@@ -904,7 +948,7 @@ algorithm list.

Returns

-

TRUE if the encryption algorith was found and removed; FALSE if it was not.

+

TRUE if the encryption algorith was found and removed; FALSE if it was not.


@@ -934,7 +978,7 @@ specified then all pairwise encryption algorithms are allowed.


nm_setting_wireless_security_get_num_groups ()

-
guint32
+
guint32
 nm_setting_wireless_security_get_num_groups
                                (NMSettingWirelessSecurity *setting);
@@ -963,7 +1007,7 @@ nm_setting_wireless_security_get_num_groups
const char *
 nm_setting_wireless_security_get_group
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Returns the allowed groupwise encryption algorithm from allowed algorithm list.

@@ -997,7 +1041,7 @@ list.


nm_setting_wireless_security_add_group ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_add_group
                                (NMSettingWirelessSecurity *setting,
                                 const char *group);
@@ -1030,7 +1074,7 @@ compatible with this connection.

Returns

-

TRUE if the algorithm was added to the list, FALSE if it was +

TRUE if the algorithm was added to the list, FALSE if it was already in the list

@@ -1040,7 +1084,7 @@ already in the list

void
 nm_setting_wireless_security_remove_group
                                (NMSettingWirelessSecurity *setting,
-                                guint32 i);
+ guint32 i);

Removes an encryption algorithm from the allowed groupwise encryption algorithm list.

@@ -1069,7 +1113,7 @@ algorithm list.


nm_setting_wireless_security_remove_group_by_value ()

-
gboolean
+
gboolean
 nm_setting_wireless_security_remove_group_by_value
                                (NMSettingWirelessSecurity *setting,
                                 const char *group);
@@ -1100,7 +1144,7 @@ algorithm list.

Returns

-

TRUE if the algorithm was found and removed; FALSE if it was not.

+

TRUE if the algorithm was found and removed; FALSE if it was not.


@@ -1129,6 +1173,12 @@ specified then all groupwise encryption algorithms are allowed.


+

nm_setting_wireless_security_get_pmf ()

+
NMSettingWirelessSecurityPmf
+nm_setting_wireless_security_get_pmf (NMSettingWirelessSecurity *setting);
+
+
+

nm_setting_wireless_security_get_psk ()

const char *
 nm_setting_wireless_security_get_psk (NMSettingWirelessSecurity *setting);
@@ -1264,7 +1314,7 @@ nm_setting_wireless_security_get_leap_password_flags
const char *
 nm_setting_wireless_security_get_wep_key
                                (NMSettingWirelessSecurity *setting,
-                                guint32 idx);
+ guint32 idx);

Parameters

@@ -1298,7 +1348,7 @@ nm_setting_wireless_security_get_wep_key
void
 nm_setting_wireless_security_set_wep_key
                                (NMSettingWirelessSecurity *setting,
-                                guint32 idx,
+                                guint32 idx,
                                 const char *key);

Sets a WEP key in the given index.

@@ -1334,7 +1384,7 @@ property.


nm_setting_wireless_security_get_wep_tx_keyidx ()

-
guint32
+
guint32
 nm_setting_wireless_security_get_wep_tx_keyidx
                                (NMSettingWirelessSecurity *setting);
@@ -1435,6 +1485,33 @@ nm_setting_wireless_security_get_wep_key_type

the “wep-key-type” property of the setting

+
+
+

nm_setting_wireless_security_get_wps_method ()

+
NMSettingWirelessSecurityWpsMethod
+nm_setting_wireless_security_get_wps_method
+                               (NMSettingWirelessSecurity *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingWirelessSecurity

 
+
+
+

Returns

+

the “wps-method” property of the setting

+
+

Since: 1.10

+

Types and Values

@@ -1504,6 +1581,114 @@ the actual WEP key using the MD5 hash algorithm.


+

enum NMSettingWirelessSecurityPmf

+

These flags indicate whether PMF must be enabled.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

NM_SETTING_WIRELESS_SECURITY_PMF_DEFAULT

+

use the default value

+
 

NM_SETTING_WIRELESS_SECURITY_PMF_DISABLE

+

disable PMF

+
 

NM_SETTING_WIRELESS_SECURITY_PMF_OPTIONAL

+

enable PMF if the supplicant and the AP support it

+
 

NM_SETTING_WIRELESS_SECURITY_PMF_REQUIRED

+

require PMF and fail if not available

+
 

_NM_SETTING_WIRELESS_SECURITY_PMF_NUM

  

NM_SETTING_WIRELESS_SECURITY_PMF_LAST

  
+
+
+
+
+

enum NMSettingWirelessSecurityWpsMethod

+

Configure the use of WPS by a connection while it activates.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DEFAULT

+

Attempt whichever method AP supports

+
 

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_DISABLED

+

WPS can not be used.

+
 

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_AUTO

+

Use WPS, any method

+
 

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_PBC

+

use WPS push-buthon method

+
 

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD_PIN

+

use PIN method

+
 
+
+

Since: 1.10

+
+
+

NM_SETTING_WIRELESS_SECURITY_KEY_MGMT

#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT "key-mgmt"
 
@@ -1540,6 +1725,12 @@ the actual WEP key using the MD5 hash algorithm.


+

NM_SETTING_WIRELESS_SECURITY_PMF

+
#define NM_SETTING_WIRELESS_SECURITY_PMF "pmf"
+
+
+
+

NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME

#define NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME "leap-username"
 
@@ -1606,6 +1797,12 @@ the actual WEP key using the MD5 hash algorithm.


+

NM_SETTING_WIRELESS_SECURITY_WPS_METHOD

+
#define NM_SETTING_WIRELESS_SECURITY_WPS_METHOD "wps-method"
+
+
+
+

NMSettingWirelessSecurity

typedef struct _NMSettingWirelessSecurity NMSettingWirelessSecurity;

Wi-Fi Security Settings

@@ -1615,7 +1812,7 @@ the actual WEP key using the MD5 hash algorithm.

Property Details

The “auth-alg” property

-
  “auth-alg”                 gchar *
+
  “auth-alg”                 gchar *

When WEP is used (ie, key-mgmt = "none" or "ieee8021x") indicate the 802.11 authentication algorithm required by the AP here. One of "open" for Open System, "shared" for Shared Key, or "leap" for Cisco LEAP. When @@ -1627,7 +1824,7 @@ using Cisco LEAP (ie, key-mgmt = "ieee8021x" and auth-alg = "leap") the


The “group” property

-
  “group”                    GStrv
+
  “group”                    GStrv

A list of group/broadcast encryption algorithms which prevents connections to Wi-Fi networks that do not utilize one of the algorithms in the list. For maximum compatibility leave this property empty. Each @@ -1637,7 +1834,7 @@ list element may be one of "wep40", "wep104", "tkip", or "ccmp".


The “key-mgmt” property

-
  “key-mgmt”                 gchar *
+
  “key-mgmt”                 gchar *

Key management used for the connection. One of "none" (WEP), "ieee8021x" (Dynamic WEP), "wpa-none" (Ad-Hoc WPA-PSK), "wpa-psk" (infrastructure WPA-PSK), or "wpa-eap" (WPA-Enterprise). This property must be set for @@ -1648,7 +1845,7 @@ any Wi-Fi connection that uses security.


The “leap-password” property

-
  “leap-password”            gchar *
+
  “leap-password”            gchar *

The login password for legacy LEAP connections (ie, key-mgmt = "ieee8021x" and auth-alg = "leap").

Flags: Read / Write

@@ -1665,7 +1862,7 @@ any Wi-Fi connection that uses security.


The “leap-username” property

-
  “leap-username”            gchar *
+
  “leap-username”            gchar *

The login username for legacy LEAP connections (ie, key-mgmt = "ieee8021x" and auth-alg = "leap").

Flags: Read / Write

@@ -1674,7 +1871,7 @@ any Wi-Fi connection that uses security.


The “pairwise” property

-
  “pairwise”                 GStrv
+
  “pairwise”                 GStrv

A list of pairwise encryption algorithms which prevents connections to Wi-Fi networks that do not utilize one of the algorithms in the list. For maximum compatibility leave this property empty. Each list element @@ -1683,8 +1880,24 @@ may be one of "tkip" or "ccmp".


+

The “pmf” property

+
  “pmf”                      gint
+

Indicates whether Protected Management Frames (802.11w) must be enabled +for the connection. One of NM_SETTING_WIRELESS_SECURITY_PMF_DEFAULT +(use global default value), NM_SETTING_WIRELESS_SECURITY_PMF_DISABLE +(disable PMF), NM_SETTING_WIRELESS_SECURITY_PMF_OPTIONAL (enable PMF if +the supplicant and the access point support it) or +NM_SETTING_WIRELESS_SECURITY_PMF_REQUIRED (enable PMF and fail if not +supported). When set to NM_SETTING_WIRELESS_SECURITY_PMF_DEFAULT and no +global default is set, PMF will be optionally enabled.

+

Flags: Read / Write / Construct

+

Default value: 0

+

Since: 1.10

+
+
+

The “proto” property

-
  “proto”                    GStrv
+
  “proto”                    GStrv

List of strings specifying the allowed WPA protocol versions to use. Each element may be one "wpa" (allow WPA) or "rsn" (allow WPA2/RSN). If not specified, both WPA and RSN connections are allowed.

@@ -1693,7 +1906,7 @@ not specified, both WPA and RSN connections are allowed.


The “psk” property

-
  “psk”                      gchar *
+
  “psk”                      gchar *

Pre-Shared-Key for WPA networks. If the key is 64-characters long, it must contain only hexadecimal characters and is interpreted as a hexadecimal WPA key. Otherwise, the key must be between 8 and 63 ASCII @@ -1736,7 +1949,7 @@ the actual WEP key.


The “wep-key0” property

-
  “wep-key0”                 gchar *
+
  “wep-key0”                 gchar *

Index 0 WEP key. This is the WEP key used in most networks. See the "wep-key-type" property for a description of how this key is interpreted.

Flags: Read / Write

@@ -1745,7 +1958,7 @@ the actual WEP key.


The “wep-key1” property

-
  “wep-key1”                 gchar *
+
  “wep-key1”                 gchar *

Index 1 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

Flags: Read / Write

@@ -1754,7 +1967,7 @@ the actual WEP key.


The “wep-key2” property

-
  “wep-key2”                 gchar *
+
  “wep-key2”                 gchar *

Index 2 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

Flags: Read / Write

@@ -1763,7 +1976,7 @@ the actual WEP key.


The “wep-key3” property

-
  “wep-key3”                 gchar *
+
  “wep-key3”                 gchar *

Index 3 WEP key. This WEP index is not used by most networks. See the "wep-key-type" property for a description of how this key is interpreted.

Flags: Read / Write

@@ -1772,7 +1985,7 @@ the actual WEP key.


The “wep-tx-keyidx” property

-
  “wep-tx-keyidx”            guint
+
  “wep-tx-keyidx”            guint

When static WEP is used (ie, key-mgmt = "none") and a non-default WEP key index is used by the AP, put that WEP key index here. Valid values are 0 (default key) through 3. Note that some consumer access points (like the @@ -1781,6 +1994,19 @@ Linksys WRT54G) number the keys 1 - 4.

Allowed values: <= 3

Default value: 0

+
+
+

The “wps-method” property

+
  “wps-method”               guint
+

Flags indicating which mode of WPS is to be used if any.

+

There's little point in changing the default setting as NetworkManager will +automatically determine whether it's feasible to start WPS enrollment from +the Access Point capabilities.

+

WPS can be disabled by setting this property to a value of 1.

+

Flags: Read / Write / Construct

+

Default value: 0

+

Since: 1.10

+

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSimpleConnection
 
@@ -115,8 +115,8 @@ but might be used in the process of creating a new one.

nm_simple_connection_new_from_dbus ()

NMConnection *
-nm_simple_connection_new_from_dbus (GVariant *dict,
-                                    GError **error);
+nm_simple_connection_new_from_dbus (GVariant *dict, + GError **error);

Creates a new NMSimpleConnection from a hash table describing the connection and normalize the connection. See nm_connection_to_dbus() for a description of the expected hash table.

@@ -131,7 +131,7 @@ description of the expected hash table.

dict

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION describing the connection

+

a GVariant of type NM_VARIANT_TYPE_CONNECTION describing the connection

  @@ -145,7 +145,7 @@ description of the expected hash table.

Returns

the new NMSimpleConnection object, populated with -settings created from the values in the hash table, or NULL if the +settings created from the values in the hash table, or NULL if the connection failed to normalize.

[transfer full]

diff --git a/docs/libnm/html/NMVpnConnection.html b/docs/libnm/html/NMVpnConnection.html index b1811aae..9cf4dc90 100644 --- a/docs/libnm/html/NMVpnConnection.html +++ b/docs/libnm/html/NMVpnConnection.html @@ -72,7 +72,7 @@ -gchar * +gchar * banner Read @@ -95,7 +95,7 @@ void vpn-state-changed -Run First +Run First
@@ -124,7 +124,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMActiveConnection
             ╰── NMVpnConnection
@@ -134,7 +134,7 @@
 

Implemented Interfaces

NMVpnConnection implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -217,7 +217,7 @@ string used by the connection, and must not be modified.

Property Details

The “banner” property

-
  “banner”                   gchar *
+
  “banner”                   gchar *

The VPN login banner of the active VPN connection.

Flags: Read

Default value: NULL

@@ -237,10 +237,10 @@ string used by the connection, and must not be modified.

The “vpn-state-changed” signal

void
 user_function (NMVpnConnection *nmvpnconnection,
-               guint            arg1,
-               guint            arg2,
-               gpointer         user_data)
-

Flags: Run First

+ guint arg1, + guint arg2, + gpointer user_data)
+

Flags: Run First

diff --git a/docs/libnm/html/NMVpnEditorPlugin.html b/docs/libnm/html/NMVpnEditorPlugin.html index b0c077b4..9e488063 100644 --- a/docs/libnm/html/NMVpnEditorPlugin.html +++ b/docs/libnm/html/NMVpnEditorPlugin.html @@ -77,7 +77,7 @@ -gsize +gsize nm_vpn_editor_plugin_get_vt () @@ -93,7 +93,7 @@ -gboolean +gboolean nm_vpn_editor_plugin_export () @@ -152,19 +152,19 @@ -gchar * +gchar * description Read -gchar * +gchar * name Read -gchar * +gchar * service Read @@ -182,7 +182,7 @@ void changed -Run First +Run First
@@ -227,9 +227,9 @@

Object Hierarchy

-
    GFlags
+
    GFlags
     ╰── NMVpnEditorPluginCapability
-    GInterface
+    GInterface
     ├── NMVpnEditor
     ╰── NMVpnEditorPlugin
 
@@ -238,7 +238,7 @@

Prerequisites

NMVpnEditor requires - GObject.

+ GObject.

Description

@@ -248,13 +248,13 @@ NMVpnEditor requires

NMVpnEditorPluginFactory ()

NMVpnEditorPlugin *
-(*NMVpnEditorPluginFactory) (GError **error);
+(*NMVpnEditorPluginFactory) (GError **error);

nm_vpn_editor_plugin_factory ()

NMVpnEditorPlugin *
-nm_vpn_editor_plugin_factory (GError **error);
+nm_vpn_editor_plugin_factory (GError **error);

@@ -262,7 +262,7 @@ nm_vpn_editor_plugin_factory (GEr
NMVpnEditor *
 nm_vpn_editor_plugin_get_editor (NMVpnEditorPlugin *plugin,
                                  NMConnection *connection,
-                                 GError **error);
+ GError **error);

Parameters

@@ -284,7 +284,7 @@ nm_vpn_editor_plugin_get_editor ( - + @@ -292,7 +292,7 @@ nm_vpn_editor_plugin_get_editor (

Returns

-

a new NMVpnEditor or NULL on error.

+

a new NMVpnEditor or NULL on error.

[transfer full]

@@ -305,10 +305,10 @@ nm_vpn_editor_plugin_get_capabilities (

nm_vpn_editor_plugin_get_vt ()

-
gsize
+
gsize
 nm_vpn_editor_plugin_get_vt (NMVpnEditorPlugin *plugin,
                              NMVpnEditorPluginVT *vt,
-                             gsize vt_size);
+ gsize vt_size);

Returns an opaque VT function table for the plugin to extend functionality. The actual meaning of NMVpnEditorPluginVT is not defined in public API of libnm, instead it must be agreed by @@ -355,7 +355,7 @@ size of plugin's VT.

NMConnection *
 nm_vpn_editor_plugin_import (NMVpnEditorPlugin *plugin,
                              const char *path,
-                             GError **error);
+ GError **error);

Parameters

error

on return, an error or NULL

on return, an error or NULL

 
@@ -377,7 +377,7 @@ nm_vpn_editor_plugin_import (

error

-
+ @@ -386,7 +386,7 @@ nm_vpn_editor_plugin_import (

Returns

a new NMConnection imported from path -, or NULL +, or NULL on error or if the file at path was not recognized by this plugin.

[transfer full]

@@ -395,11 +395,11 @@ was not recognized by this plugin.


nm_vpn_editor_plugin_export ()

-
gboolean
+
gboolean
 nm_vpn_editor_plugin_export (NMVpnEditorPlugin *plugin,
                              const char *path,
                              NMConnection *connection,
-                             GError **error);
+ GError **error);

@@ -417,8 +417,8 @@ nm_vpn_editor_plugin_load_from_file (const const char *check_service, int check_owner, NMUtilsCheckFilePredicate check_file, - gpointer user_data, - GError **error); + gpointer user_data, + GError **error);

Load the shared libary plugin_name and create a new NMVpnEditorPlugin instace via the NMVpnEditorPluginFactory @@ -482,7 +482,7 @@ loading the shared library.

Returns

-

a new plugin instance or NULL on error.

+

a new plugin instance or NULL on error.

[transfer full]

Since: 1.2

@@ -493,7 +493,7 @@ loading the shared library.

NMVpnEditorPlugin *
 nm_vpn_editor_plugin_load (const char *plugin_name,
                            const char *check_service,
-                           GError **error);
+ GError **error);

Load the shared libary plugin_name and create a new NMVpnEditorPlugin instace via the NMVpnEditorPluginFactory @@ -534,7 +534,7 @@ the given service.

Returns

-

a new plugin instance or NULL on error.

+

a new plugin instance or NULL on error.

[transfer full]

Since: 1.4

@@ -592,7 +592,7 @@ reference as the plugin-info might also reference the editor-plugin.

- + @@ -708,7 +708,7 @@ reference as the plugin-info might also reference the editor-plugin.

+if non-NULL.

@@ -719,27 +719,27 @@ if non-NULL.

@@ -773,7 +773,7 @@ the plugin, without requiring to update libnm. Used by

Property Details

The “description” property

-
  “description”              gchar *
+
  “description”              gchar *

Longer description of the VPN plugin.

Flags: Read

Default value: NULL

@@ -781,7 +781,7 @@ the plugin, without requiring to update libnm. Used by

The “name” property

-
  “name”                     gchar *
+
  “name”                     gchar *

Short display name of the VPN plugin.

Flags: Read

Default value: NULL

@@ -789,7 +789,7 @@ the plugin, without requiring to update libnm. Used by

The “service” property

-
  “service”                  gchar *
+
  “service”                  gchar *

D-Bus service name of the plugin's VPN service.

Flags: Read

Default value: NULL

@@ -801,8 +801,8 @@ the plugin, without requiring to update libnm. Used by

The “changed” signal

void
 user_function (NMVpnEditor *nmvpneditor,
-               gpointer     user_data)
-

Flags: Run First

+ gpointer user_data) +

Flags: Run First

diff --git a/docs/libnm/html/NMWimaxNsp.html b/docs/libnm/html/NMWimaxNsp.html index 66966786..2c236c4d 100644 --- a/docs/libnm/html/NMWimaxNsp.html +++ b/docs/libnm/html/NMWimaxNsp.html @@ -51,7 +51,7 @@
+gchar * @@ -105,7 +105,7 @@ - + @@ -141,7 +141,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMWimaxNsp
 
@@ -150,7 +150,7 @@

Implemented Interfaces

NMWimaxNsp implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -185,7 +185,7 @@ nm_wimax_nsp_get_name (

nm_wimax_nsp_get_signal_quality ()

-
guint32
+
guint32
 nm_wimax_nsp_get_signal_quality (NMWimaxNsp *nsp);

Gets the WPA signal quality of the wimax NSP.

@@ -237,9 +237,9 @@ nm_wimax_nsp_get_network_type (

nm_wimax_nsp_filter_connections ()

-
GPtrArray *
+
GPtrArray *
 nm_wimax_nsp_filter_connections (NMWimaxNsp *nsp,
-                                 const GPtrArray *connections);
+ const GPtrArray *connections);

Filters a given array of connections for a given NMWimaxNsp object and return connections which may be activated with the NSP. Any returned connections will match the nsp @@ -272,14 +272,14 @@ filter.

an array of NMConnections that could be activated with the given nsp . The array should -be freed with g_ptr_array_unref() when it is no longer required.

+be freed with g_ptr_array_unref() when it is no longer required.

[transfer container][element-type NMConnection]


nm_wimax_nsp_connection_valid ()

-
gboolean
+
gboolean
 nm_wimax_nsp_connection_valid (NMWimaxNsp *nsp,
                                NMConnection *connection);

Validates a given connection against a given WiMAX NSP to ensure that the @@ -312,8 +312,8 @@ against

Returns

-

TRUE if the connection may be activated with this WiMAX NSP, -FALSE if it cannot be.

+

TRUE if the connection may be activated with this WiMAX NSP, +FALSE if it cannot be.

@@ -346,7 +346,7 @@ against

Property Details

The “name” property

-
  “name”                     gchar *
+
  “name”                     gchar *

The name of the WiMAX NSP.

Flags: Read

Default value: NULL

@@ -362,7 +362,7 @@ against


The “signal-quality” property

-
  “signal-quality”           guint
+
  “signal-quality”           guint

The signal quality of the WiMAX NSP.

Flags: Read

Allowed values: <= 100

diff --git a/docs/libnm/html/api-index-full.html b/docs/libnm/html/api-index-full.html index ce03c509..f3fe6abb 100644 --- a/docs/libnm/html/api-index-full.html +++ b/docs/libnm/html/api-index-full.html @@ -203,6 +203,10 @@
+NMActivationStateFlags, enum in nm-dbus-interface +
+
+
NMActiveConnection, struct in nm-types
@@ -259,6 +263,10 @@
+NMActiveConnection:state-flags, object property in nm-types +
+
+
NMActiveConnection:type, object property in nm-types
@@ -355,6 +363,10 @@
+nm_active_connection_get_state_flags, function in NMActiveConnection +
+
+
nm_active_connection_get_state_reason, function in NMActiveConnection
@@ -391,6 +403,10 @@
+NM_ACTIVE_CONNECTION_STATE_FLAGS, macro in NMActiveConnection +
+
+
NM_ACTIVE_CONNECTION_TYPE, macro in NMActiveConnection
@@ -423,6 +439,10 @@
+NM_AVAILABLE_IN_1_10, macro in nm-version +
+
+
NM_AVAILABLE_IN_1_2, macro in nm-version
@@ -517,6 +537,14 @@
+NMClient:connectivity-check-available, object property in nm-types +
+
+
+NMClient:connectivity-check-enabled, object property in nm-types +
+
+
NMClient:devices, object property in nm-types
@@ -685,6 +713,26 @@
+NM_CLIENT_CONNECTIVITY_CHECK_AVAILABLE, macro in NMClient +
+
+
+NM_CLIENT_CONNECTIVITY_CHECK_ENABLED, macro in NMClient +
+
+
+nm_client_connectivity_check_get_available, function in NMClient +
+
+
+nm_client_connectivity_check_get_enabled, function in NMClient +
+
+
+nm_client_connectivity_check_set_enabled, function in NMClient +
+
+
nm_client_deactivate_connection, function in NMClient
@@ -1061,6 +1109,10 @@
+nm_connection_get_settings, function in NMConnection +
+
+
nm_connection_get_setting_802_1x, function in NMConnection
@@ -1141,6 +1193,22 @@
+nm_connection_get_setting_ovs_bridge, function in NMConnection +
+
+
+nm_connection_get_setting_ovs_interface, function in NMConnection +
+
+
+nm_connection_get_setting_ovs_patch, function in NMConnection +
+
+
+nm_connection_get_setting_ovs_port, function in NMConnection +
+
+
nm_connection_get_setting_ppp, function in NMConnection
@@ -1354,6 +1422,22 @@
+NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE, macro in nm-dbus-interface +
+
+
+NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE, macro in nm-dbus-interface +
+
+
+NM_DBUS_INTERFACE_DEVICE_OVS_PORT, macro in nm-dbus-interface +
+
+
+NM_DBUS_INTERFACE_DEVICE_PPP, macro in nm-dbus-interface +
+
+
NM_DBUS_INTERFACE_DEVICE_STATISTICS, macro in nm-dbus-interface
@@ -1574,6 +1658,14 @@
+NM_DEPRECATED_IN_1_10, macro in nm-version +
+
+
+NM_DEPRECATED_IN_1_10_FOR, macro in nm-version +
+
+
NM_DEPRECATED_IN_1_2, macro in nm-version
@@ -1786,6 +1878,10 @@
+NMDeviceDummy:hw-address, object property in nm-types +
+
+
NMDeviceError, enum in nm-errors
@@ -2002,6 +2098,22 @@
+NMDeviceOvsBridge, struct in nm-types +
+
+
+NMDeviceOvsInterface, struct in nm-types +
+
+
+NMDeviceOvsPort, struct in nm-types +
+
+
+NMDevicePpp, struct in nm-types +
+
+
NMDeviceState, enum in nm-dbus-interface
@@ -2402,6 +2514,14 @@
+nm_device_dummy_get_hw_address, function in NMDeviceDummy +
+
+
+NM_DEVICE_DUMMY_HW_ADDRESS, macro in NMDeviceDummy +
+
+
NM_DEVICE_ERROR, macro in nm-errors
@@ -3675,6 +3795,10 @@
+NM_IP_ROUTE_ATTRIBUTE_TABLE, macro in NMSettingIPConfig +
+
+
NM_IP_ROUTE_ATTRIBUTE_TOS, macro in NMSettingIPConfig
@@ -3695,6 +3819,10 @@
+nm_ip_route_equal_full, function in NMSettingIPConfig +
+
+
nm_ip_route_get_attribute, function in NMSettingIPConfig
@@ -4392,6 +4520,10 @@
+NMSettingBridge:group-forward-mask, object property in NMSettingBridge +
+
+
NMSettingBridge:hello-time, object property in NMSettingBridge
@@ -4468,6 +4600,10 @@
+NMSettingConnection:auth-retries, object property in NMSettingConnection +
+
+
NMSettingConnection:autoconnect, object property in NMSettingConnection
@@ -4816,6 +4952,10 @@
+NMSettingIPConfig:route-table, object property in NMSettingIPConfig +
+
+
NMSettingIPConfig:routes, object property in NMSettingIPConfig
@@ -4960,6 +5100,70 @@
+NMSettingOvsBridge, struct in nm-core-types +
+
+
+NMSettingOvsBridge:fail-mode, object property in nm-core-types +
+
+
+NMSettingOvsBridge:mcast-snooping-enable, object property in nm-core-types +
+
+
+NMSettingOvsBridge:rstp-enable, object property in nm-core-types +
+
+
+NMSettingOvsBridge:stp-enable, object property in nm-core-types +
+
+
+NMSettingOvsInterface, struct in nm-core-types +
+
+
+NMSettingOvsInterface:type, object property in nm-core-types +
+
+
+NMSettingOvsPatch, struct in nm-core-types +
+
+
+NMSettingOvsPatch:peer, object property in nm-core-types +
+
+
+NMSettingOvsPort, struct in nm-core-types +
+
+
+NMSettingOvsPort:bond-downdelay, object property in nm-core-types +
+
+
+NMSettingOvsPort:bond-mode, object property in nm-core-types +
+
+
+NMSettingOvsPort:bond-updelay, object property in nm-core-types +
+
+
+NMSettingOvsPort:lacp, object property in nm-core-types +
+
+
+NMSettingOvsPort:tag, object property in nm-core-types +
+
+
+NMSettingOvsPort:vlan-mode, object property in nm-core-types +
+
+
NMSettingPpp, struct in NMSettingPpp
@@ -5040,6 +5244,10 @@
+NMSettingPppoe:parent, object property in NMSettingPppoe +
+
+
NMSettingPppoe:password, object property in NMSettingPppoe
@@ -5484,6 +5692,10 @@ NMSettingUser:data, object property in nm-core-types
+NMSettingWirelessSecurity:pmf, object property in NMSettingWirelessSecurity +
+
+
NMSettingWirelessSecurity:proto, object property in NMSettingWirelessSecurity
@@ -5524,6 +5736,18 @@ NMSettingUser:data, object property in nm-core-types
+NMSettingWirelessSecurity:wps-method, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurityPmf, enum in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurityWpsMethod, enum in NMSettingWirelessSecurity +
+
+
nm_setting_802_1x_add_altsubject_match, function in NMSetting8021x
@@ -6172,6 +6396,10 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_BLUETOOTH_TYPE_NAP, macro in NMSettingBluetooth +
+
+
NM_SETTING_BLUETOOTH_TYPE_PANU, macro in NMSettingBluetooth
@@ -6344,6 +6572,10 @@ NMSettingUser:data, object property in nm-core-types
+nm_setting_bridge_get_group_forward_mask, function in NMSettingBridge +
+
+
nm_setting_bridge_get_hello_time, function in NMSettingBridge
@@ -6368,6 +6600,10 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_BRIDGE_GROUP_FORWARD_MASK, macro in NMSettingBridge +
+
+
NM_SETTING_BRIDGE_HELLO_TIME, macro in NMSettingBridge
@@ -6492,6 +6728,10 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_CONNECTION_AUTH_RETRIES, macro in NMSettingConnection +
+
+
NM_SETTING_CONNECTION_AUTOCONNECT, macro in NMSettingConnection
@@ -6524,6 +6764,10 @@ NMSettingUser:data, object property in nm-core-types
+nm_setting_connection_get_auth_retries, function in NMSettingConnection +
+
+
nm_setting_connection_get_autoconnect, function in NMSettingConnection
@@ -7392,6 +7636,10 @@ NMSettingUser:data, object property in nm-core-types
+nm_setting_ip_config_get_route_table, function in NMSettingIPConfig +
+
+
nm_setting_ip_config_has_dns_options, function in NMSettingIPConfig
@@ -7468,6 +7716,10 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_IP_CONFIG_ROUTE_TABLE, macro in NMSettingIPConfig +
+
+
NM_SETTING_IP_TUNNEL_ENCAPSULATION_LIMIT, macro in NMSettingIPTunnel
@@ -7732,6 +7984,134 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_OVS_BRIDGE_FAIL_MODE, macro in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_bridge_get_fail_mode, function in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_bridge_get_mcast_snooping_enable, function in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_bridge_get_rstp_enable, function in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_bridge_get_stp_enable, function in nm-setting-ovs-bridge +
+
+
+NM_SETTING_OVS_BRIDGE_MCAST_SNOOPING_ENABLE, macro in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_bridge_new, function in nm-setting-ovs-bridge +
+
+
+NM_SETTING_OVS_BRIDGE_RSTP_ENABLE, macro in nm-setting-ovs-bridge +
+
+
+NM_SETTING_OVS_BRIDGE_SETTING_NAME, macro in nm-setting-ovs-bridge +
+
+
+NM_SETTING_OVS_BRIDGE_STP_ENABLE, macro in nm-setting-ovs-bridge +
+
+
+nm_setting_ovs_interface_get_interface_type, function in nm-setting-ovs-interface +
+
+
+nm_setting_ovs_interface_new, function in nm-setting-ovs-interface +
+
+
+NM_SETTING_OVS_INTERFACE_SETTING_NAME, macro in nm-setting-ovs-interface +
+
+
+NM_SETTING_OVS_INTERFACE_TYPE, macro in nm-setting-ovs-interface +
+
+
+nm_setting_ovs_patch_get_peer, function in nm-setting-ovs-patch +
+
+
+nm_setting_ovs_patch_new, function in nm-setting-ovs-patch +
+
+
+NM_SETTING_OVS_PATCH_PEER, macro in nm-setting-ovs-patch +
+
+
+NM_SETTING_OVS_PATCH_SETTING_NAME, macro in nm-setting-ovs-patch +
+
+
+NM_SETTING_OVS_PORT_BOND_DOWNDELAY, macro in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_BOND_MODE, macro in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_BOND_UPDELAY, macro in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_bond_downdelay, function in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_bond_mode, function in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_bond_updelay, function in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_lacp, function in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_tag, function in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_get_vlan_mode, function in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_LACP, macro in nm-setting-ovs-port +
+
+
+nm_setting_ovs_port_new, function in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_SETTING_NAME, macro in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_TAG, macro in nm-setting-ovs-port +
+
+
+NM_SETTING_OVS_PORT_VLAN_MODE, macro in nm-setting-ovs-port +
+
+
NM_SETTING_PARAM_FUZZY_IGNORE, macro in NMSetting
@@ -7744,6 +8124,10 @@ NMSettingUser:data, object property in nm-core-types
+nm_setting_pppoe_get_parent, function in NMSettingPppoe +
+
+
nm_setting_pppoe_get_password, function in NMSettingPppoe
@@ -7764,6 +8148,10 @@ NMSettingUser:data, object property in nm-core-types
+NM_SETTING_PPPOE_PARENT, macro in NMSettingPppoe +
+
+
NM_SETTING_PPPOE_PASSWORD, macro in NMSettingPppoe
@@ -8880,6 +9268,10 @@ nm_setting_user_set_data, function in nm-setting-user
+nm_setting_wireless_security_get_pmf, function in NMSettingWirelessSecurity +
+
+
nm_setting_wireless_security_get_proto, function in NMSettingWirelessSecurity
@@ -8908,6 +9300,10 @@ nm_setting_user_set_data, function in nm-setting-user
+nm_setting_wireless_security_get_wps_method, function in NMSettingWirelessSecurity +
+
+
NM_SETTING_WIRELESS_SECURITY_GROUP, macro in NMSettingWirelessSecurity
@@ -8936,6 +9332,10 @@ nm_setting_user_set_data, function in nm-setting-user
+NM_SETTING_WIRELESS_SECURITY_PMF, macro in NMSettingWirelessSecurity +
+
+
NM_SETTING_WIRELESS_SECURITY_PROTO, macro in NMSettingWirelessSecurity
@@ -9008,6 +9408,10 @@ nm_setting_user_set_data, function in nm-setting-user
+NM_SETTING_WIRELESS_SECURITY_WPS_METHOD, macro in NMSettingWirelessSecurity +
+
+
NM_SETTING_WIRELESS_SEEN_BSSIDS, macro in NMSettingWireless
diff --git a/docs/libnm/html/index.html b/docs/libnm/html/index.html index cac0a3b4..6a1d6232 100644 --- a/docs/libnm/html/index.html +++ b/docs/libnm/html/index.html @@ -15,7 +15,7 @@

on return, an error or NULL

on return, an error or NULL

 

plugin_info

a NMVpnPluginInfo instance or NULL.

a NMVpnPluginInfo instance or NULL.

[allow-none]

get_editor ()

returns an NMVpnEditor, pre-filled with values from connection -if non-NULL.

 

import_from_file ()

Try to import a connection from the specified path. On -success, return a partial NMConnection object. On error, return NULL and +success, return a partial NMConnection object. On error, return NULL and set error with additional information. Note that error -can be NULL, in +can be NULL, in which case no additional error information should be provided.

 

export_to_file ()

Export the given connection to the specified path. Return -TRUE on success. On error, return FALSE and set error +TRUE on success. On error, return FALSE and set error with additional error information. Note that error -can be NULL, in which case no +can be NULL, in which case no additional error information should be provided.

 

get_suggested_filename ()

For a given connection, return a suggested file -name. Returned value will be NULL or a suggested file name to be freed by +name. Returned value will be NULL or a suggested file name to be freed by the caller.

 
-guint32 +guint32 nm_wimax_nsp_get_signal_quality () @@ -67,7 +67,7 @@
-GPtrArray * +GPtrArray * nm_wimax_nsp_filter_connections () @@ -75,7 +75,7 @@
-gboolean +gboolean nm_wimax_nsp_connection_valid () @@ -95,7 +95,7 @@
-gchar *name Read
Read
guintguint signal-quality Read

- for libnm 1.8.4 + for libnm 1.9.90 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm/stable/. diff --git a/docs/libnm/html/libnm-nm-dbus-interface.html b/docs/libnm/html/libnm-nm-dbus-interface.html index 482dd8a0..306edabd 100644 --- a/docs/libnm/html/libnm-nm-dbus-interface.html +++ b/docs/libnm/html/libnm-nm-dbus-interface.html @@ -86,6 +86,18 @@ #define +NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE + + +#define +NM_DBUS_INTERFACE_DEVICE_OVS_PORT + + +#define +NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE + + +#define NM_DBUS_PATH_ACCESS_POINT @@ -174,6 +186,10 @@ #define +NM_DBUS_INTERFACE_DEVICE_PPP + + +#define NM_DBUS_INTERFACE_DEVICE_VXLAN @@ -388,12 +404,16 @@ enum NMRollbackResult + +enum +NMActivationStateFlags +

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NM80211Mode
     ├── NMActiveConnectionState
     ├── NMActiveConnectionStateReason
@@ -406,9 +426,10 @@
     ├── NMMetered
     ├── NMState
     ╰── NMWimaxNspNetworkType
-    GFlags
+    GFlags
     ├── NM80211ApFlags
     ├── NM80211ApSecurityFlags
+    ├── NMActivationStateFlags
     ├── NMBluetoothCapabilities
     ├── NMDeviceCapabilities
     ├── NMDeviceModemCapabilities
@@ -438,211 +459,235 @@
 

NM_DBUS_SERVICE

-
#define NM_DBUS_SERVICE                     "org.freedesktop.NetworkManager"
+
#define NM_DBUS_SERVICE                        "org.freedesktop.NetworkManager"
 

NM_DBUS_PATH

-
#define NM_DBUS_PATH                        "/org/freedesktop/NetworkManager"
+
#define NM_DBUS_PATH                           "/org/freedesktop/NetworkManager"
 

NM_DBUS_INTERFACE

-
#define NM_DBUS_INTERFACE                   "org.freedesktop.NetworkManager"
+
#define NM_DBUS_INTERFACE                      "org.freedesktop.NetworkManager"
 

NM_DBUS_INTERFACE_DEVICE

-
#define NM_DBUS_INTERFACE_DEVICE            NM_DBUS_INTERFACE ".Device"
+
#define NM_DBUS_INTERFACE_DEVICE               NM_DBUS_INTERFACE ".Device"
 

NM_DBUS_INTERFACE_DEVICE_WIRED

-
#define NM_DBUS_INTERFACE_DEVICE_WIRED      NM_DBUS_INTERFACE_DEVICE ".Wired"
+
#define NM_DBUS_INTERFACE_DEVICE_WIRED         NM_DBUS_INTERFACE_DEVICE ".Wired"
 

NM_DBUS_INTERFACE_DEVICE_ADSL

-
#define NM_DBUS_INTERFACE_DEVICE_ADSL       NM_DBUS_INTERFACE_DEVICE ".Adsl"
+
#define NM_DBUS_INTERFACE_DEVICE_ADSL          NM_DBUS_INTERFACE_DEVICE ".Adsl"
 

NM_DBUS_INTERFACE_DEVICE_WIRELESS

-
#define NM_DBUS_INTERFACE_DEVICE_WIRELESS   NM_DBUS_INTERFACE_DEVICE ".Wireless"
+
#define NM_DBUS_INTERFACE_DEVICE_WIRELESS      NM_DBUS_INTERFACE_DEVICE ".Wireless"
 

NM_DBUS_INTERFACE_DEVICE_BLUETOOTH

-
#define NM_DBUS_INTERFACE_DEVICE_BLUETOOTH  NM_DBUS_INTERFACE_DEVICE ".Bluetooth"
+
#define NM_DBUS_INTERFACE_DEVICE_BLUETOOTH     NM_DBUS_INTERFACE_DEVICE ".Bluetooth"
 

NM_DBUS_INTERFACE_DEVICE_OLPC_MESH

-
#define NM_DBUS_INTERFACE_DEVICE_OLPC_MESH  NM_DBUS_INTERFACE_DEVICE ".OlpcMesh"
+
#define NM_DBUS_INTERFACE_DEVICE_OLPC_MESH     NM_DBUS_INTERFACE_DEVICE ".OlpcMesh"
+
+
+
+
+

NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE

+
#define NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE NM_DBUS_INTERFACE_DEVICE ".OvsInterface"
+
+
+
+
+

NM_DBUS_INTERFACE_DEVICE_OVS_PORT

+
#define NM_DBUS_INTERFACE_DEVICE_OVS_PORT      NM_DBUS_INTERFACE_DEVICE ".OvsPort"
+
+
+
+
+

NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE

+
#define NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE    NM_DBUS_INTERFACE_DEVICE ".OvsBridge"
 

NM_DBUS_PATH_ACCESS_POINT

-
#define NM_DBUS_PATH_ACCESS_POINT           NM_DBUS_PATH "/AccessPoint"
+
#define NM_DBUS_PATH_ACCESS_POINT              NM_DBUS_PATH "/AccessPoint"
 

NM_DBUS_INTERFACE_ACCESS_POINT

-
#define NM_DBUS_INTERFACE_ACCESS_POINT      NM_DBUS_INTERFACE ".AccessPoint"
+
#define NM_DBUS_INTERFACE_ACCESS_POINT         NM_DBUS_INTERFACE ".AccessPoint"
 

NM_DBUS_INTERFACE_DEVICE_MODEM

-
#define NM_DBUS_INTERFACE_DEVICE_MODEM      NM_DBUS_INTERFACE_DEVICE ".Modem"
+
#define NM_DBUS_INTERFACE_DEVICE_MODEM         NM_DBUS_INTERFACE_DEVICE ".Modem"
 

NM_DBUS_INTERFACE_DEVICE_WIMAX

-
#define NM_DBUS_INTERFACE_DEVICE_WIMAX      NM_DBUS_INTERFACE_DEVICE ".WiMax"
+
#define NM_DBUS_INTERFACE_DEVICE_WIMAX         NM_DBUS_INTERFACE_DEVICE ".WiMax"
 

NM_DBUS_INTERFACE_WIMAX_NSP

-
#define NM_DBUS_INTERFACE_WIMAX_NSP         NM_DBUS_INTERFACE ".WiMax.Nsp"
+
#define NM_DBUS_INTERFACE_WIMAX_NSP            NM_DBUS_INTERFACE ".WiMax.Nsp"
 

NM_DBUS_PATH_WIMAX_NSP

-
#define NM_DBUS_PATH_WIMAX_NSP              NM_DBUS_PATH "/Nsp"
+
#define NM_DBUS_PATH_WIMAX_NSP                 NM_DBUS_PATH "/Nsp"
 

NM_DBUS_INTERFACE_ACTIVE_CONNECTION

-
#define NM_DBUS_INTERFACE_ACTIVE_CONNECTION NM_DBUS_INTERFACE ".Connection.Active"
+
#define NM_DBUS_INTERFACE_ACTIVE_CONNECTION    NM_DBUS_INTERFACE ".Connection.Active"
 

NM_DBUS_INTERFACE_IP4_CONFIG

-
#define NM_DBUS_INTERFACE_IP4_CONFIG        NM_DBUS_INTERFACE ".IP4Config"
+
#define NM_DBUS_INTERFACE_IP4_CONFIG           NM_DBUS_INTERFACE ".IP4Config"
 

NM_DBUS_INTERFACE_DHCP4_CONFIG

-
#define NM_DBUS_INTERFACE_DHCP4_CONFIG      NM_DBUS_INTERFACE ".DHCP4Config"
+
#define NM_DBUS_INTERFACE_DHCP4_CONFIG         NM_DBUS_INTERFACE ".DHCP4Config"
 

NM_DBUS_INTERFACE_IP6_CONFIG

-
#define NM_DBUS_INTERFACE_IP6_CONFIG        NM_DBUS_INTERFACE ".IP6Config"
+
#define NM_DBUS_INTERFACE_IP6_CONFIG           NM_DBUS_INTERFACE ".IP6Config"
 

NM_DBUS_INTERFACE_DHCP6_CONFIG

-
#define NM_DBUS_INTERFACE_DHCP6_CONFIG      NM_DBUS_INTERFACE ".DHCP6Config"
+
#define NM_DBUS_INTERFACE_DHCP6_CONFIG         NM_DBUS_INTERFACE ".DHCP6Config"
 

NM_DBUS_INTERFACE_DEVICE_INFINIBAND

-
#define NM_DBUS_INTERFACE_DEVICE_INFINIBAND NM_DBUS_INTERFACE_DEVICE ".Infiniband"
+
#define NM_DBUS_INTERFACE_DEVICE_INFINIBAND    NM_DBUS_INTERFACE_DEVICE ".Infiniband"
 

NM_DBUS_INTERFACE_DEVICE_BOND

-
#define NM_DBUS_INTERFACE_DEVICE_BOND       NM_DBUS_INTERFACE_DEVICE ".Bond"
+
#define NM_DBUS_INTERFACE_DEVICE_BOND          NM_DBUS_INTERFACE_DEVICE ".Bond"
 

NM_DBUS_INTERFACE_DEVICE_DUMMY

-
#define NM_DBUS_INTERFACE_DEVICE_DUMMY      NM_DBUS_INTERFACE_DEVICE ".Dummy"
+
#define NM_DBUS_INTERFACE_DEVICE_DUMMY         NM_DBUS_INTERFACE_DEVICE ".Dummy"
 

NM_DBUS_INTERFACE_DEVICE_TEAM

-
#define NM_DBUS_INTERFACE_DEVICE_TEAM       NM_DBUS_INTERFACE_DEVICE ".Team"
+
#define NM_DBUS_INTERFACE_DEVICE_TEAM          NM_DBUS_INTERFACE_DEVICE ".Team"
 

NM_DBUS_INTERFACE_DEVICE_VLAN

-
#define NM_DBUS_INTERFACE_DEVICE_VLAN       NM_DBUS_INTERFACE_DEVICE ".Vlan"
+
#define NM_DBUS_INTERFACE_DEVICE_VLAN          NM_DBUS_INTERFACE_DEVICE ".Vlan"
 

NM_DBUS_INTERFACE_DEVICE_BRIDGE

-
#define NM_DBUS_INTERFACE_DEVICE_BRIDGE     NM_DBUS_INTERFACE_DEVICE ".Bridge"
+
#define NM_DBUS_INTERFACE_DEVICE_BRIDGE        NM_DBUS_INTERFACE_DEVICE ".Bridge"
 

NM_DBUS_INTERFACE_DEVICE_GENERIC

-
#define NM_DBUS_INTERFACE_DEVICE_GENERIC    NM_DBUS_INTERFACE_DEVICE ".Generic"
+
#define NM_DBUS_INTERFACE_DEVICE_GENERIC       NM_DBUS_INTERFACE_DEVICE ".Generic"
 

NM_DBUS_INTERFACE_DEVICE_VETH

-
#define NM_DBUS_INTERFACE_DEVICE_VETH       NM_DBUS_INTERFACE_DEVICE ".Veth"
+
#define NM_DBUS_INTERFACE_DEVICE_VETH          NM_DBUS_INTERFACE_DEVICE ".Veth"
 

NM_DBUS_INTERFACE_DEVICE_TUN

-
#define NM_DBUS_INTERFACE_DEVICE_TUN        NM_DBUS_INTERFACE_DEVICE ".Tun"
+
#define NM_DBUS_INTERFACE_DEVICE_TUN           NM_DBUS_INTERFACE_DEVICE ".Tun"
 

NM_DBUS_INTERFACE_DEVICE_MACSEC

-
#define NM_DBUS_INTERFACE_DEVICE_MACSEC     NM_DBUS_INTERFACE_DEVICE ".Macsec"
+
#define NM_DBUS_INTERFACE_DEVICE_MACSEC        NM_DBUS_INTERFACE_DEVICE ".Macsec"
 

NM_DBUS_INTERFACE_DEVICE_MACVLAN

-
#define NM_DBUS_INTERFACE_DEVICE_MACVLAN    NM_DBUS_INTERFACE_DEVICE ".Macvlan"
+
#define NM_DBUS_INTERFACE_DEVICE_MACVLAN       NM_DBUS_INTERFACE_DEVICE ".Macvlan"
+
+
+
+
+

NM_DBUS_INTERFACE_DEVICE_PPP

+
#define NM_DBUS_INTERFACE_DEVICE_PPP           NM_DBUS_INTERFACE_DEVICE ".Ppp"
 

NM_DBUS_INTERFACE_DEVICE_VXLAN

-
#define NM_DBUS_INTERFACE_DEVICE_VXLAN      NM_DBUS_INTERFACE_DEVICE ".Vxlan"
+
#define NM_DBUS_INTERFACE_DEVICE_VXLAN         NM_DBUS_INTERFACE_DEVICE ".Vxlan"
 

NM_DBUS_INTERFACE_DEVICE_GRE

-
#define NM_DBUS_INTERFACE_DEVICE_GRE        NM_DBUS_INTERFACE_DEVICE ".Gre"
+
#define NM_DBUS_INTERFACE_DEVICE_GRE           NM_DBUS_INTERFACE_DEVICE ".Gre"
 

NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL

-
#define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL  NM_DBUS_INTERFACE_DEVICE ".IPTunnel"
+
#define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL     NM_DBUS_INTERFACE_DEVICE ".IPTunnel"
 

NM_DBUS_INTERFACE_DEVICE_STATISTICS

-
#define NM_DBUS_INTERFACE_DEVICE_STATISTICS NM_DBUS_INTERFACE_DEVICE ".Statistics"
+
#define NM_DBUS_INTERFACE_DEVICE_STATISTICS    NM_DBUS_INTERFACE_DEVICE ".Statistics"
 

@@ -1070,6 +1115,34 @@ GSM/UMTS, or LTE network access protocols

  + +

NM_DEVICE_TYPE_PPP

+ +

a PPP interface

+ +  + + +

NM_DEVICE_TYPE_OVS_INTERFACE

+ +

a OpenVSwitch interface

+ +  + + +

NM_DEVICE_TYPE_OVS_PORT

+ +

a OpenVSwitch port

+ +  + + +

NM_DEVICE_TYPE_OVS_BRIDGE

+ +

a OpenVSwitch bridge

+ +  +
@@ -1255,6 +1328,27 @@ encryption (usually means WEP)

  + +

NM_802_11_AP_FLAGS_WPS

+ +

access point supports some WPS method

+ +  + + +

NM_802_11_AP_FLAGS_WPS_PBC

+ +

access point supports push-button WPS

+ +  + + +

NM_802_11_AP_FLAGS_WPS_PIN

+ +

access point supports PIN-based WPS

+ +  +
@@ -2138,6 +2232,13 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

  + +

NM_DEVICE_STATE_REASON_OVSDB_FAILED

+ +

problem communicating with OpenVSwitch database

+ +  +
@@ -2440,6 +2541,15 @@ network.

  +

NM_SECRET_AGENT_GET_SECRETS_FLAG_WPS_PBC_ACTIVE

+ +

indicates that WPS enrollment + is active with PBC method. The agent may suggest that the user pushes a button + on the router instead of supplying a PSK.

+ +  + +

NM_SECRET_AGENT_GET_SECRETS_FLAG_ONLY_SYSTEM

Internal flag, not part of @@ -2783,6 +2893,74 @@ VPN plugin authentication dialogs.

Since: 1.4

+
+
+

enum NMActivationStateFlags

+

Flags describing the current activation state.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

NM_ACTIVATION_STATE_FLAG_NONE

+

an alias for numeric zero, no flags set.

+
 

NM_ACTIVATION_STATE_FLAG_IS_MASTER

+

the device is a master.

+
 

NM_ACTIVATION_STATE_FLAG_IS_SLAVE

+

the device is a slave.

+
 

NM_ACTIVATION_STATE_FLAG_LAYER2_READY

+

layer2 is activated and ready.

+
 

NM_ACTIVATION_STATE_FLAG_IP4_READY

+

IPv4 setting is completed.

+
 

NM_ACTIVATION_STATE_FLAG_IP6_READY

+

IPv6 setting is completed.

+
 

NM_ACTIVATION_STATE_FLAG_MASTER_HAS_SLAVES

+

The master has any slave devices attached. + This only makes sense if the device is a master.

+
 
+
+

Since: 1.10

+

Object Hierarchy

-
    GEnum
+
    GEnum
     ├── NMAgentManagerError
     ├── NMConnectionError
     ├── NMCryptoError
@@ -202,49 +202,49 @@
 

Functions

nm_agent_manager_error_quark ()

-
GQuark
+
GQuark
 nm_agent_manager_error_quark (void);

nm_connection_error_quark ()

-
GQuark
+
GQuark
 nm_connection_error_quark (void);

nm_crypto_error_quark ()

-
GQuark
+
GQuark
 nm_crypto_error_quark (void);

nm_device_error_quark ()

-
GQuark
+
GQuark
 nm_device_error_quark (void);

nm_manager_error_quark ()

-
GQuark
+
GQuark
 nm_manager_error_quark (void);

nm_secret_agent_error_quark ()

-
GQuark
+
GQuark
 nm_secret_agent_error_quark (void);

nm_settings_error_quark ()

-
GQuark
+
GQuark
 nm_settings_error_quark (void);

nm_vpn_plugin_error_quark ()

-
GQuark
+
GQuark
 nm_vpn_plugin_error_quark (void);
@@ -574,6 +574,14 @@ returned from D-Bus operations (where they correspond to errors in the   + +

NM_DEVICE_ERROR_MISSING_DEPENDENCIES

+ +

the requested operation could not + be completed due to missing dependencies.

+ +  +
diff --git a/docs/libnm/html/libnm-nm-utils.html b/docs/libnm/html/libnm-nm-utils.html index 59bd902f..3b485c4a 100644 --- a/docs/libnm/html/libnm-nm-utils.html +++ b/docs/libnm/html/libnm-nm-utils.html @@ -42,7 +42,7 @@ -gboolean +gboolean nm_utils_is_empty_ssid () @@ -57,7 +57,7 @@ -gboolean +gboolean nm_utils_same_ssid () @@ -73,7 +73,7 @@ -gboolean +gboolean nm_utils_security_valid () @@ -81,7 +81,7 @@ -gboolean +gboolean nm_utils_ap_mode_security_valid () @@ -89,7 +89,7 @@ -gboolean +gboolean nm_utils_wep_key_valid () @@ -97,7 +97,7 @@ -gboolean +gboolean nm_utils_wpa_psk_valid () @@ -105,7 +105,7 @@ -gboolean +gboolean nm_utils_is_json_object () @@ -113,7 +113,7 @@ -GVariant * +GVariant * nm_utils_ip4_dns_to_variant () @@ -129,7 +129,7 @@ -GVariant * +GVariant * nm_utils_ip4_addresses_to_variant () @@ -137,7 +137,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip4_addresses_from_variant () @@ -145,7 +145,7 @@ -GVariant * +GVariant * nm_utils_ip4_routes_to_variant () @@ -153,7 +153,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip4_routes_from_variant () @@ -161,7 +161,7 @@ -guint32 +guint32 nm_utils_ip4_netmask_to_prefix () @@ -169,7 +169,7 @@ -guint32 +guint32 nm_utils_ip4_prefix_to_netmask () @@ -177,7 +177,7 @@ -guint32 +guint32 nm_utils_ip4_get_default_prefix () @@ -185,7 +185,7 @@ -GVariant * +GVariant * nm_utils_ip6_dns_to_variant () @@ -201,7 +201,7 @@ -GVariant * +GVariant * nm_utils_ip6_addresses_to_variant () @@ -209,7 +209,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip6_addresses_from_variant () @@ -217,7 +217,7 @@ -GVariant * +GVariant * nm_utils_ip6_routes_to_variant () @@ -225,7 +225,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip6_routes_from_variant () @@ -233,7 +233,7 @@ -GVariant * +GVariant * nm_utils_ip_addresses_to_variant () @@ -241,7 +241,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip_addresses_from_variant () @@ -249,7 +249,7 @@ -GVariant * +GVariant * nm_utils_ip_routes_to_variant () @@ -257,7 +257,7 @@ -GPtrArray * +GPtrArray * nm_utils_ip_routes_from_variant () @@ -273,7 +273,7 @@ -gboolean +gboolean nm_utils_file_is_certificate () @@ -281,7 +281,7 @@ -gboolean +gboolean nm_utils_file_is_private_key () @@ -289,7 +289,7 @@ -gboolean +gboolean nm_utils_file_is_pkcs12 () @@ -297,7 +297,7 @@ -gboolean +gboolean (*NMUtilsFileSearchInPathsPredicate) () @@ -305,7 +305,7 @@ -gboolean +gboolean (*NMUtilsCheckFilePredicate) () @@ -320,7 +320,7 @@ -guint32 +guint32 nm_utils_wifi_freq_to_channel () @@ -328,7 +328,7 @@ -guint32 +guint32 nm_utils_wifi_channel_to_freq () @@ -336,7 +336,7 @@ -guint32 +guint32 nm_utils_wifi_find_next_channel () @@ -344,21 +344,21 @@ -gboolean +gboolean nm_utils_wifi_is_channel_valid () -const guint * +const guint * nm_utils_wifi_2ghz_freqs () -const guint * +const guint * nm_utils_wifi_5ghz_freqs () @@ -373,7 +373,7 @@ -gsize +gsize nm_utils_hwaddr_len () @@ -389,7 +389,7 @@ -GByteArray * +GByteArray * nm_utils_hwaddr_atoba () @@ -397,7 +397,7 @@ -guint8 * +guint8 * nm_utils_hwaddr_aton () @@ -405,7 +405,7 @@ -gboolean +gboolean nm_utils_hwaddr_valid () @@ -421,7 +421,7 @@ -gboolean +gboolean nm_utils_hwaddr_matches () @@ -437,7 +437,7 @@ -GBytes * +GBytes * nm_utils_hexstr2bin () @@ -445,7 +445,7 @@ -gboolean +gboolean nm_utils_iface_valid_name () @@ -453,7 +453,7 @@ -gboolean +gboolean nm_utils_is_valid_iface_name () @@ -461,7 +461,7 @@ -gboolean +gboolean nm_utils_is_uuid () @@ -483,7 +483,7 @@ -gboolean +gboolean nm_utils_ipaddr_valid () @@ -491,7 +491,7 @@ -gboolean +gboolean nm_utils_check_virtual_device_compatibility () @@ -522,7 +522,7 @@ -gboolean +gboolean nm_utils_enum_from_str () @@ -537,7 +537,7 @@ -guint +guint nm_utils_version () @@ -545,7 +545,7 @@ -GHashTable * +GHashTable * nm_utils_parse_variant_attributes () @@ -595,7 +595,7 @@

Object Hierarchy

-
    GEnum
+
    GEnum
     ╰── NMUtilsSecurityType
 
@@ -608,9 +608,9 @@ access points and devices, among other things.

Functions

nm_utils_is_empty_ssid ()

-
gboolean
-nm_utils_is_empty_ssid (const guint8 *ssid,
-                        gsize len);
+
gboolean
+nm_utils_is_empty_ssid (const guint8 *ssid,
+                        gsize len);

Different manufacturers use different mechanisms for not broadcasting the AP's SSID. This function attempts to detect blank/empty SSIDs using a number of known SSID-cloaking methods.

@@ -639,15 +639,15 @@ number of known SSID-cloaking methods.

Returns

-

TRUE if the SSID is "empty", FALSE if it is not

+

TRUE if the SSID is "empty", FALSE if it is not


nm_utils_escape_ssid ()

const char *
-nm_utils_escape_ssid (const guint8 *ssid,
-                      gsize len);
+nm_utils_escape_ssid (const guint8 *ssid, + gsize len);

This function does a quick printable character conversion of the SSID, simply replacing embedded NULLs and non-printable characters with the hexadecimal representation of that character. Intended for debugging only, should not @@ -684,12 +684,12 @@ and will be overwritten by subsequent calls to this function


nm_utils_same_ssid ()

-
gboolean
-nm_utils_same_ssid (const guint8 *ssid1,
-                    gsize len1,
-                    const guint8 *ssid2,
-                    gsize len2,
-                    gboolean ignore_trailing_null);
+
gboolean
+nm_utils_same_ssid (const guint8 *ssid1,
+                    gsize len1,
+                    const guint8 *ssid2,
+                    gsize len2,
+                    gboolean ignore_trailing_null);

Earlier versions of the Linux kernel added a NULL byte to the end of the SSID to enable easy printing of the SSID on the console or in a terminal, but this behavior was problematic (SSIDs are simply byte arrays, not strings) @@ -729,7 +729,7 @@ NULLs, even though that is functionally pointless.

ignore_trailing_null

-

TRUE to ignore one trailing NULL byte

+

TRUE to ignore one trailing NULL byte

  @@ -737,15 +737,15 @@ NULLs, even though that is functionally pointless.

Returns

-

TRUE if the SSIDs are the same, FALSE if they are not

+

TRUE if the SSIDs are the same, FALSE if they are not


nm_utils_ssid_to_utf8 ()

char *
-nm_utils_ssid_to_utf8 (const guint8 *ssid,
-                       gsize len);
+nm_utils_ssid_to_utf8 (const guint8 *ssid, + gsize len);

Wi-Fi SSIDs are byte arrays, they are _not_ strings. Thus, an SSID may contain embedded NULLs and other unprintable characters. Often it is useful to print the SSID out for debugging purposes, but that should be the @@ -791,19 +791,19 @@ _only_.

Returns

an allocated string containing a UTF-8 -representation of the SSID, which must be freed by the caller using g_free(). -Returns NULL on errors.

+representation of the SSID, which must be freed by the caller using g_free(). +Returns NULL on errors.

[transfer full]


nm_utils_security_valid ()

-
gboolean
+
gboolean
 nm_utils_security_valid (NMUtilsSecurityType type,
                          NMDeviceWifiCapabilities wifi_caps,
-                         gboolean have_ap,
-                         gboolean adhoc,
+                         gboolean have_ap,
+                         gboolean adhoc,
                          NM80211ApFlags ap_flags,
                          NM80211ApSecurityFlags ap_wpa,
                          NM80211ApSecurityFlags ap_rsn);
@@ -868,15 +868,15 @@ e.g. (

Returns

-

TRUE if the device capabilities and AP capabilties intersect and are +

TRUE if the device capabilities and AP capabilties intersect and are compatible with the desired type -, FALSE if they are not

+, FALSE if they are not


nm_utils_ap_mode_security_valid ()

-
gboolean
+
gboolean
 nm_utils_ap_mode_security_valid (NMUtilsSecurityType type,
                                  NMDeviceWifiCapabilities wifi_caps);

Given a set of device capabilities, and a desired security type to check @@ -908,15 +908,15 @@ e.g.

Returns

-

TRUE if the device capabilities are compatible with the desired +

TRUE if the device capabilities are compatible with the desired type -, FALSE if they are not.

+, FALSE if they are not.


nm_utils_wep_key_valid ()

-
gboolean
+
gboolean
 nm_utils_wep_key_valid (const char *key,
                         NMWepKeyType wep_type);

Checks if key @@ -945,14 +945,14 @@ nm_utils_wep_key_valid (const cha

Returns

-

TRUE if key -is a WEP key, FALSE if not

+

TRUE if key +is a WEP key, FALSE if not


nm_utils_wpa_psk_valid ()

-
gboolean
+
gboolean
 nm_utils_wpa_psk_valid (const char *psk);

Checks if psk is a valid WPA PSK

@@ -973,16 +973,16 @@ nm_utils_wpa_psk_valid (const cha

Returns

-

TRUE if psk -is a WPA PSK, FALSE if not

+

TRUE if psk +is a WPA PSK, FALSE if not


nm_utils_is_json_object ()

-
gboolean
+
gboolean
 nm_utils_is_json_object (const char *str,
-                         GError **error);
+ GError **error);

Parameters

@@ -1009,7 +1009,7 @@ nm_utils_is_json_object (const ch

Returns

whether the passed string is valid JSON. If libnm is not compiled with libjansson support, this check will -also return TRUE for possibly invalid inputs. If that is a problem +also return TRUE for possibly invalid inputs. If that is a problem for you, you must validate the JSON yourself.

Since: 1.6

@@ -1017,9 +1017,9 @@ for you, you must validate the JSON yourself.


nm_utils_ip4_dns_to_variant ()

-
GVariant *
+
GVariant *
 nm_utils_ip4_dns_to_variant (char **dns);
-

Utility function to convert an array of IP address strings int a GVariant of +

Utility function to convert an array of IP address strings int a GVariant of type 'au' representing an array of IPv4 addresses.

Parameters

@@ -1038,7 +1038,7 @@ type 'au' representing an array of IPv4 addresses.

Returns

-

a new floating GVariant representing dns +

a new floating GVariant representing dns .

[transfer none]

@@ -1047,8 +1047,8 @@ type 'au' representing an array of IPv4 addresses.

nm_utils_ip4_dns_from_variant ()

char **
-nm_utils_ip4_dns_from_variant (GVariant *value);
-

Utility function to convert a GVariant of type 'au' representing a list of +nm_utils_ip4_dns_from_variant (GVariant *value);

+

Utility function to convert a GVariant of type 'au' representing a list of IPv4 addresses into an array of IP address strings.

Parameters

@@ -1060,29 +1060,29 @@ IPv4 addresses into an array of IP address strings.

- +

value

a GVariant of type 'au'

a GVariant of type 'au'

 

Returns

-

a NULL-terminated array of IP address strings.

+

a NULL-terminated array of IP address strings.

[transfer full][type utf8]


nm_utils_ip4_addresses_to_variant ()

-
GVariant *
-nm_utils_ip4_addresses_to_variant (GPtrArray *addresses,
+
GVariant *
+nm_utils_ip4_addresses_to_variant (GPtrArray *addresses,
                                    const char *gateway);
-

Utility function to convert a GPtrArray of NMIPAddress objects representing -IPv4 addresses into a GVariant of type 'aau' representing an array of +

Utility function to convert a GPtrArray of NMIPAddress objects representing +IPv4 addresses into a GVariant of type 'aau' representing an array of NetworkManager IPv4 addresses (which are tuples of address, prefix, and gateway). The "gateway" field of the first address will get the value of gateway - (if non-NULL). In all of the other addresses, that field will be 0.

+ (if non-NULL). In all of the other addresses, that field will be 0.

Parameters

@@ -1107,7 +1107,7 @@ gateway). The "gateway" field of the first address will get the value of

Returns

-

a new floating GVariant representing addresses +

a new floating GVariant representing addresses .

[transfer none]

@@ -1115,12 +1115,12 @@ gateway). The "gateway" field of the first address will get the value of

nm_utils_ip4_addresses_from_variant ()

-
GPtrArray *
-nm_utils_ip4_addresses_from_variant (GVariant *value,
+
GPtrArray *
+nm_utils_ip4_addresses_from_variant (GVariant *value,
                                      char **out_gateway);
-

Utility function to convert a GVariant of type 'aau' representing a list of +

Utility function to convert a GVariant of type 'aau' representing a list of NetworkManager IPv4 addresses (which are tuples of address, prefix, and -gateway) into a GPtrArray of NMIPAddress objects. The "gateway" field of +gateway) into a GPtrArray of NMIPAddress objects. The "gateway" field of the first address (if set) will be returned in out_gateway ; the "gateway" fields of the other addresses are ignored.

@@ -1135,7 +1135,7 @@ of the other addresses are ignored.

- + @@ -1149,17 +1149,17 @@ of the other addresses are ignored.

Returns

a newly allocated -GPtrArray of NMIPAddress objects.

+GPtrArray of NMIPAddress objects.

[transfer full][element-type NMIPAddress]


nm_utils_ip4_routes_to_variant ()

-
GVariant *
-nm_utils_ip4_routes_to_variant (GPtrArray *routes);
-

Utility function to convert a GPtrArray of NMIPRoute objects representing -IPv4 routes into a GVariant of type 'aau' representing an array of +

GVariant *
+nm_utils_ip4_routes_to_variant (GPtrArray *routes);
+

Utility function to convert a GPtrArray of NMIPRoute objects representing +IPv4 routes into a GVariant of type 'aau' representing an array of NetworkManager IPv4 routes (which are tuples of route, prefix, next hop, and metric).

@@ -1179,7 +1179,7 @@ metric).

Returns

-

a new floating GVariant representing routes +

a new floating GVariant representing routes .

[transfer none]

@@ -1187,11 +1187,11 @@ metric).


nm_utils_ip4_routes_from_variant ()

-
GPtrArray *
-nm_utils_ip4_routes_from_variant (GVariant *value);
-

Utility function to convert a GVariant of type 'aau' representing an array +

GPtrArray *
+nm_utils_ip4_routes_from_variant (GVariant *value);
+

Utility function to convert a GVariant of type 'aau' representing an array of NetworkManager IPv4 routes (which are tuples of route, prefix, next hop, -and metric) into a GPtrArray of NMIPRoute objects.

+and metric) into a GPtrArray of NMIPRoute objects.

Parameters

value

a GVariant of type 'aau'

a GVariant of type 'aau'

 
@@ -1202,7 +1202,7 @@ and metric) into a GPtrArray of

value

-
+

GVariant of type 'aau'

GVariant of type 'aau'

 
@@ -1210,15 +1210,15 @@ and metric) into a GPtrArray of

Returns

a newly allocated -GPtrArray of NMIPRoute objects.

+GPtrArray of NMIPRoute objects.

[transfer full][element-type NMIPRoute]


nm_utils_ip4_netmask_to_prefix ()

-
guint32
-nm_utils_ip4_netmask_to_prefix (guint32 netmask);
+
guint32
+nm_utils_ip4_netmask_to_prefix (guint32 netmask);

Parameters

@@ -1242,8 +1242,8 @@ nm_utils_ip4_netmask_to_prefix (g

nm_utils_ip4_prefix_to_netmask ()

-
guint32
-nm_utils_ip4_prefix_to_netmask (guint32 prefix);
+
guint32
+nm_utils_ip4_prefix_to_netmask (guint32 prefix);

Parameters

@@ -1267,8 +1267,8 @@ nm_utils_ip4_prefix_to_netmask (g

nm_utils_ip4_get_default_prefix ()

-
guint32
-nm_utils_ip4_get_default_prefix (guint32 ip);
+
guint32
+nm_utils_ip4_get_default_prefix (guint32 ip);

When the Internet was originally set up, various ranges of IP addresses were segmented into three network classes: A, B, and C. This function will return a prefix that is associated with the IP address specified defining where it @@ -1296,9 +1296,9 @@ falls in the predefined classes.


nm_utils_ip6_dns_to_variant ()

-
GVariant *
+
GVariant *
 nm_utils_ip6_dns_to_variant (char **dns);
-

Utility function to convert an array of IP address strings int a GVariant of +

Utility function to convert an array of IP address strings int a GVariant of type 'aay' representing an array of IPv6 addresses.

Parameters

@@ -1317,7 +1317,7 @@ type 'aay' representing an array of IPv6 addresses.

Returns

-

a new floating GVariant representing dns +

a new floating GVariant representing dns .

[transfer none]

@@ -1326,8 +1326,8 @@ type 'aay' representing an array of IPv6 addresses.

nm_utils_ip6_dns_from_variant ()

char **
-nm_utils_ip6_dns_from_variant (GVariant *value);
-

Utility function to convert a GVariant of type 'aay' representing a list of +nm_utils_ip6_dns_from_variant (GVariant *value);

+

Utility function to convert a GVariant of type 'aay' representing a list of IPv6 addresses into an array of IP address strings.

Parameters

@@ -1339,29 +1339,29 @@ IPv6 addresses into an array of IP address strings.

- +

value

a GVariant of type 'aay'

a GVariant of type 'aay'

 

Returns

-

a NULL-terminated array of IP address strings.

+

a NULL-terminated array of IP address strings.

[transfer full][type utf8]


nm_utils_ip6_addresses_to_variant ()

-
GVariant *
-nm_utils_ip6_addresses_to_variant (GPtrArray *addresses,
+
GVariant *
+nm_utils_ip6_addresses_to_variant (GPtrArray *addresses,
                                    const char *gateway);
-

Utility function to convert a GPtrArray of NMIPAddress objects representing -IPv6 addresses into a GVariant of type 'a(ayuay)' representing an array of +

Utility function to convert a GPtrArray of NMIPAddress objects representing +IPv6 addresses into a GVariant of type 'a(ayuay)' representing an array of NetworkManager IPv6 addresses (which are tuples of address, prefix, and gateway). The "gateway" field of the first address will get the value of gateway - (if non-NULL). In all of the other addresses, that field will be + (if non-NULL). In all of the other addresses, that field will be all 0s.

Parameters

@@ -1387,7 +1387,7 @@ all 0s.

Returns

-

a new floating GVariant representing addresses +

a new floating GVariant representing addresses .

[transfer none]

@@ -1395,12 +1395,12 @@ all 0s.


nm_utils_ip6_addresses_from_variant ()

-
GPtrArray *
-nm_utils_ip6_addresses_from_variant (GVariant *value,
+
GPtrArray *
+nm_utils_ip6_addresses_from_variant (GVariant *value,
                                      char **out_gateway);
-

Utility function to convert a GVariant of type 'a(ayuay)' representing a +

Utility function to convert a GVariant of type 'a(ayuay)' representing a list of NetworkManager IPv6 addresses (which are tuples of address, prefix, -and gateway) into a GPtrArray of NMIPAddress objects. The "gateway" field +and gateway) into a GPtrArray of NMIPAddress objects. The "gateway" field of the first address (if set) will be returned in out_gateway ; the "gateway" fields of the other addresses are ignored.

@@ -1415,7 +1415,7 @@ fields of the other addresses are ignored.

value

-

a GVariant of type 'a(ayuay)'

+

a GVariant of type 'a(ayuay)'

  @@ -1429,17 +1429,17 @@ fields of the other addresses are ignored.

Returns

a newly allocated -GPtrArray of NMIPAddress objects.

+GPtrArray of NMIPAddress objects.

[transfer full][element-type NMIPAddress]


nm_utils_ip6_routes_to_variant ()

-
GVariant *
-nm_utils_ip6_routes_to_variant (GPtrArray *routes);
-

Utility function to convert a GPtrArray of NMIPRoute objects representing -IPv6 routes into a GVariant of type 'a(ayuayu)' representing an array of +

GVariant *
+nm_utils_ip6_routes_to_variant (GPtrArray *routes);
+

Utility function to convert a GPtrArray of NMIPRoute objects representing +IPv6 routes into a GVariant of type 'a(ayuayu)' representing an array of NetworkManager IPv6 routes (which are tuples of route, prefix, next hop, and metric).

@@ -1459,7 +1459,7 @@ metric).

Returns

-

a new floating GVariant representing routes +

a new floating GVariant representing routes .

[transfer none]

@@ -1467,11 +1467,11 @@ metric).


nm_utils_ip6_routes_from_variant ()

-
GPtrArray *
-nm_utils_ip6_routes_from_variant (GVariant *value);
-

Utility function to convert a GVariant of type 'a(ayuayu)' representing an +

GPtrArray *
+nm_utils_ip6_routes_from_variant (GVariant *value);
+

Utility function to convert a GVariant of type 'a(ayuayu)' representing an array of NetworkManager IPv6 routes (which are tuples of route, prefix, next -hop, and metric) into a GPtrArray of NMIPRoute objects.

+hop, and metric) into a GPtrArray of NMIPRoute objects.

Parameters

@@ -1482,7 +1482,7 @@ hop, and metric) into a GPtrArray of - +

value

GVariant of type 'a(ayuayu)'

GVariant of type 'a(ayuayu)'

 
@@ -1490,17 +1490,17 @@ hop, and metric) into a GPtrArray of

Returns

a newly allocated -GPtrArray of NMIPRoute objects.

+GPtrArray of NMIPRoute objects.

[transfer full][element-type NMIPRoute]


nm_utils_ip_addresses_to_variant ()

-
GVariant *
-nm_utils_ip_addresses_to_variant (GPtrArray *addresses);
-

Utility function to convert a GPtrArray of NMIPAddress objects representing -IPv4 or IPv6 addresses into a GVariant of type 'aa{sv}' representing an +

GVariant *
+nm_utils_ip_addresses_to_variant (GPtrArray *addresses);
+

Utility function to convert a GPtrArray of NMIPAddress objects representing +IPv4 or IPv6 addresses into a GVariant of type 'aa{sv}' representing an array of new-style NetworkManager IP addresses. All addresses will include "address" (an IP address string), and "prefix" (a uint). Some addresses may include additional attributes.

@@ -1521,7 +1521,7 @@ include additional attributes.

Returns

-

a new floating GVariant representing addresses +

a new floating GVariant representing addresses .

[transfer none]

@@ -1529,12 +1529,12 @@ include additional attributes.


nm_utils_ip_addresses_from_variant ()

-
GPtrArray *
-nm_utils_ip_addresses_from_variant (GVariant *value,
+
GPtrArray *
+nm_utils_ip_addresses_from_variant (GVariant *value,
                                     int family);
-

Utility function to convert a GVariant representing a list of new-style +

Utility function to convert a GVariant representing a list of new-style NetworkManager IPv4 or IPv6 addresses (as described in the documentation for -nm_utils_ip_addresses_to_variant()) into a GPtrArray of NMIPAddress +nm_utils_ip_addresses_to_variant()) into a GPtrArray of NMIPAddress objects.

Parameters

@@ -1547,7 +1547,7 @@ objects.

value

-

a GVariant of type 'aa{sv}'

+

a GVariant of type 'aa{sv}'

  @@ -1561,17 +1561,17 @@ objects.

Returns

a newly allocated -GPtrArray of NMIPAddress objects.

+GPtrArray of NMIPAddress objects.

[transfer full][element-type NMIPAddress]


nm_utils_ip_routes_to_variant ()

-
GVariant *
-nm_utils_ip_routes_to_variant (GPtrArray *routes);
-

Utility function to convert a GPtrArray of NMIPRoute objects representing -IPv4 or IPv6 routes into a GVariant of type 'aa{sv}' representing an array +

GVariant *
+nm_utils_ip_routes_to_variant (GPtrArray *routes);
+

Utility function to convert a GPtrArray of NMIPRoute objects representing +IPv4 or IPv6 routes into a GVariant of type 'aa{sv}' representing an array of new-style NetworkManager IP routes (which are tuples of destination, prefix, next hop, metric, and additional attributes).

@@ -1591,7 +1591,7 @@ prefix, next hop, metric, and additional attributes).

Returns

-

a new floating GVariant representing routes +

a new floating GVariant representing routes .

[transfer none]

@@ -1599,12 +1599,12 @@ prefix, next hop, metric, and additional attributes).


nm_utils_ip_routes_from_variant ()

-
GPtrArray *
-nm_utils_ip_routes_from_variant (GVariant *value,
+
GPtrArray *
+nm_utils_ip_routes_from_variant (GVariant *value,
                                  int family);
-

Utility function to convert a GVariant representing a list of new-style +

Utility function to convert a GVariant representing a list of new-style NetworkManager IPv4 or IPv6 addresses (which are tuples of destination, -prefix, next hop, metric, and additional attributes) into a GPtrArray of +prefix, next hop, metric, and additional attributes) into a GPtrArray of NMIPRoute objects.

Parameters

@@ -1617,7 +1617,7 @@ prefix, next hop, metric, and additional attributes) into a G

value

-

a GVariant of type 'aa{sv}'

+

a GVariant of type 'aa{sv}'

  @@ -1631,7 +1631,7 @@ prefix, next hop, metric, and additional attributes) into a G

Returns

a newly allocated -GPtrArray of NMIPRoute objects.

+GPtrArray of NMIPRoute objects.

[transfer full][element-type NMIPRoute]

@@ -1643,13 +1643,13 @@ nm_utils_uuid_generate (void

Returns

a newly allocated UUID suitable for use as the NMSettingConnection -object's “id”: property. Should be freed with g_free()

+object's “id”: property. Should be freed with g_free()


nm_utils_file_is_certificate ()

-
gboolean
+
gboolean
 nm_utils_file_is_certificate (const char *filename);

Tests if filename has a valid extension for an X.509 certificate file @@ -1672,15 +1672,15 @@ recognized by NetworkManager.

Returns

-

TRUE if the file is a certificate, FALSE if it is not

+

TRUE if the file is a certificate, FALSE if it is not


nm_utils_file_is_private_key ()

-
gboolean
+
gboolean
 nm_utils_file_is_private_key (const char *filename,
-                              gboolean *out_encrypted);
+ gboolean *out_encrypted);

Tests if filename has a valid extension for an X.509 private key file (".der", ".key", ".pem", or ".p12"), and contains a private key in a format @@ -1709,13 +1709,13 @@ recognized by NetworkManager.

Returns

-

TRUE if the file is a private key, FALSE if it is not

+

TRUE if the file is a private key, FALSE if it is not


nm_utils_file_is_pkcs12 ()

-
gboolean
+
gboolean
 nm_utils_file_is_pkcs12 (const char *filename);

Tests if filename is a PKCS#12 file.

@@ -1736,24 +1736,24 @@ nm_utils_file_is_pkcs12 (const ch

Returns

-

TRUE if the file is PKCS#12, FALSE if it is not

+

TRUE if the file is PKCS#12, FALSE if it is not


NMUtilsFileSearchInPathsPredicate ()

-
gboolean
+
gboolean
 (*NMUtilsFileSearchInPathsPredicate) (const char *filename,
-                                      gpointer user_data);
+ gpointer user_data);

NMUtilsCheckFilePredicate ()

-
gboolean
+
gboolean
 (*NMUtilsCheckFilePredicate) (const char *filename,
                               const struct stat *stat,
-                              gpointer user_data,
-                              GError **error);
+ gpointer user_data, + GError **error);

@@ -1762,10 +1762,10 @@ nm_utils_file_is_pkcs12 (const ch nm_utils_file_search_in_paths (const char *progname, const char *try_first, const char *const *paths, - GFileTest file_test_flags, + GFileTest file_test_flags, NMUtilsFileSearchInPathsPredicate predicate, - gpointer user_data, - GError **error);
+ gpointer user_data, + GError **error);

Searches for a progname file in a list of search paths .

@@ -1792,16 +1792,16 @@ It is silently ignored if it is empty or not an absolute path.

paths

-

a NULL terminated list of search paths. -Can be empty or NULL, in which case only try_first +

a NULL terminated list of search paths. +Can be empty or NULL, in which case only try_first is checked.

[allow-none]

file_test_flags

-

the flags passed to g_file_test() when searching +

the flags passed to g_file_test() when searching for progname -. Set it to 0 to skip the g_file_test().

+. Set it to 0 to skip the g_file_test().

  @@ -1822,7 +1822,7 @@ function.

error

-

on failure, set a "not found" error G_IO_ERROR G_IO_ERROR_NOT_FOUND.

+

on failure, set a "not found" error G_IO_ERROR G_IO_ERROR_NOT_FOUND.

[allow-none] @@ -1830,7 +1830,7 @@ function.

Returns

-

the full path to the helper, if found, or NULL if not found. +

the full path to the helper, if found, or NULL if not found. The returned string is not owned by the caller, but later invocations of the function might overwrite it.

[transfer none]

@@ -1839,8 +1839,8 @@ invocations of the function might overwrite it.


nm_utils_wifi_freq_to_channel ()

-
guint32
-nm_utils_wifi_freq_to_channel (guint32 freq);
+
guint32
+nm_utils_wifi_freq_to_channel (guint32 freq);

Utility function to translate a Wi-Fi frequency to its corresponding channel.

Parameters

@@ -1865,8 +1865,8 @@ nm_utils_wifi_freq_to_channel (gu

nm_utils_wifi_channel_to_freq ()

-
guint32
-nm_utils_wifi_channel_to_freq (guint32 channel,
+
guint32
+nm_utils_wifi_channel_to_freq (guint32 channel,
                                const char *band);

Utility function to translate a Wi-Fi channel to its corresponding frequency.

@@ -1901,8 +1901,8 @@ is invalid


nm_utils_wifi_find_next_channel ()

-
guint32
-nm_utils_wifi_find_next_channel (guint32 channel,
+
guint32
+nm_utils_wifi_find_next_channel (guint32 channel,
                                  int direction,
                                  char *band);

Utility function to find out next/previous Wi-Fi channel for a channel.

@@ -1941,8 +1941,8 @@ nm_utils_wifi_find_next_channel (

nm_utils_wifi_is_channel_valid ()

-
gboolean
-nm_utils_wifi_is_channel_valid (guint32 channel,
+
gboolean
+nm_utils_wifi_is_channel_valid (guint32 channel,
                                 const char *band);

Utility function to verify Wi-Fi channel validity.

@@ -1969,13 +1969,13 @@ nm_utils_wifi_is_channel_valid (g

Returns

-

TRUE or FALSE

+

TRUE or FALSE


nm_utils_wifi_2ghz_freqs ()

-
const guint *
+
const guint *
 nm_utils_wifi_2ghz_freqs (void);

Utility function to return 2.4 GHz Wi-Fi frequencies (802.11bg band).

@@ -1987,7 +1987,7 @@ nm_utils_wifi_2ghz_freqs (void

nm_utils_wifi_5ghz_freqs ()

-
const guint *
+
const guint *
 nm_utils_wifi_5ghz_freqs (void);

Utility function to return 5 GHz Wi-Fi frequencies (802.11a band).

@@ -2000,7 +2000,7 @@ nm_utils_wifi_5ghz_freqs (void

nm_utils_wifi_strength_bars ()

const char *
-nm_utils_wifi_strength_bars (guint8 strength);
+nm_utils_wifi_strength_bars (guint8 strength);

Converts strength into a 4-character-wide graphical representation of strength suitable for printing to stdout. If the current locale and terminal @@ -2029,7 +2029,7 @@ support it, this will use unicode graphics characters to represent


nm_utils_hwaddr_len ()

-
gsize
+
gsize
 nm_utils_hwaddr_len (int type);

Returns the length in octets of a hardware address of type type .

@@ -2060,8 +2060,8 @@ nm_utils_hwaddr_len (int t

nm_utils_hwaddr_ntoa ()

char *
-nm_utils_hwaddr_ntoa (gconstpointer addr,
-                      gsize length);
+nm_utils_hwaddr_ntoa (gconstpointer addr, + gsize length);

Converts addr to textual form.

@@ -2097,12 +2097,12 @@ nm_utils_hwaddr_ntoa (gconstpoint

nm_utils_hwaddr_atoba ()

-
GByteArray *
+
GByteArray *
 nm_utils_hwaddr_atoba (const char *asc,
-                       gsize length);
+ gsize length);

Parses asc - and converts it to binary form in a GByteArray. See -nm_utils_hwaddr_aton() if you don't want a GByteArray.

+ and converts it to binary form in a GByteArray. See +nm_utils_hwaddr_aton() if you don't want a GByteArray.

Parameters

@@ -2127,7 +2127,7 @@ nm_utils_hwaddr_atoba (const char

Returns

-

a new GByteArray, or NULL if asc +

a new GByteArray, or NULL if asc couldn't be parsed.

[transfer full]

@@ -2136,10 +2136,10 @@ be parsed.


nm_utils_hwaddr_aton ()

-
guint8 *
+
guint8 *
 nm_utils_hwaddr_aton (const char *asc,
-                      gpointer buffer,
-                      gsize length);
+ gpointer buffer, + gsize length);

Parses asc and converts it to binary form in buffer . @@ -2176,7 +2176,7 @@ the size of the buffer in bytes.

Returns

buffer -, or NULL if asc +, or NULL if asc couldn't be parsed or would be shorter or longer than length .

@@ -2185,9 +2185,9 @@ or would be shorter or longer than length

nm_utils_hwaddr_valid ()

-
gboolean
+
gboolean
 nm_utils_hwaddr_valid (const char *asc,
-                       gssize length);
+ gssize length);

Parses asc to see if it is a valid hardware address of the given length.

@@ -2217,9 +2217,9 @@ is expected to convert to

Returns

-

TRUE if asc +

TRUE if asc appears to be a valid hardware address -of the indicated length, FALSE if not.

+of the indicated length, FALSE if not.


@@ -2227,7 +2227,7 @@ of the indicated length, FALSE if not.

nm_utils_hwaddr_canonical ()

char *
 nm_utils_hwaddr_canonical (const char *asc,
-                           gssize length);
+ gssize length);

Parses asc to see if it is a valid hardware address of the given length, and if so, returns it in canonical form (uppercase, with @@ -2260,18 +2260,18 @@ is expected to convert to

Returns

the canonicalized address if asc appears to -be a valid hardware address of the indicated length, NULL if not.

+be a valid hardware address of the indicated length, NULL if not.

[transfer full]


nm_utils_hwaddr_matches ()

-
gboolean
-nm_utils_hwaddr_matches (gconstpointer hwaddr1,
-                         gssize hwaddr1_len,
-                         gconstpointer hwaddr2,
-                         gssize hwaddr2_len);
+
gboolean
+nm_utils_hwaddr_matches (gconstpointer hwaddr1,
+                         gssize hwaddr1_len,
+                         gconstpointer hwaddr2,
+                         gssize hwaddr2_len);

Generalized hardware address comparison function. Tests if hwaddr1 and hwaddr2 @@ -2285,7 +2285,7 @@ over a simple memcmp():

before being compared.

  • If hwaddr1 or hwaddr2 - is NULL, it is treated instead as though it was + is NULL, it is treated instead as though it was a zero-filled buffer hwaddr1_len or hwaddr2_len bytes long.

  • @@ -2314,7 +2314,7 @@ guaranteed to not match if they are invalid.)

    - + @@ -2326,7 +2326,7 @@ is ASCII

    - + @@ -2341,9 +2341,9 @@ is ASCII

    Returns

    -

    TRUE if hwaddr1 +

    TRUE if hwaddr1 and hwaddr2 -are equivalent, FALSE if they are +are equivalent, FALSE if they are different (or either of them is invalid).

    @@ -2351,8 +2351,8 @@ different (or either of them is invalid).

    nm_utils_bin2hexstr ()

    char *
    -nm_utils_bin2hexstr (gconstpointer src,
    -                     gsize len,
    +nm_utils_bin2hexstr (gconstpointer src,
    +                     gsize len,
                          int final_len);

    Converts the byte array src into a hexadecimal string. If final_len @@ -2397,7 +2397,7 @@ array


    nm_utils_hexstr2bin ()

    -
    GBytes *
    +
    GBytes *
     nm_utils_hexstr2bin (const char *hex);

    Converts a hexadecimal string hex into an array of bytes. The optional @@ -2423,14 +2423,14 @@ may not start or end with ':'.

    Returns

    -

    the converted bytes, or NULL on error.

    +

    the converted bytes, or NULL on error.

    [transfer full]


    nm_utils_iface_valid_name ()

    -
    gboolean
    +
    gboolean
     nm_utils_iface_valid_name (const char *name);

    nm_utils_iface_valid_name has been deprecated since version 1.6 and should not be used in newly-written code.

    @@ -2454,15 +2454,15 @@ nm_utils_iface_valid_name (const

    Returns

    -

    TRUE if interface name is valid, otherwise FALSE is returned.

    +

    TRUE if interface name is valid, otherwise FALSE is returned.


    nm_utils_is_valid_iface_name ()

    -
    gboolean
    +
    gboolean
     nm_utils_is_valid_iface_name (const char *name,
    -                              GError **error);
    + GError **error);

    Validate the network interface name.

    This function is a 1:1 copy of the kernel's interface validation function in net/core/dev.c.

    @@ -2482,7 +2482,7 @@ function in net/core/dev.c.

    - + @@ -2490,13 +2490,13 @@ function in net/core/dev.c.

    Returns

    -

    TRUE if interface name is valid, otherwise FALSE is returned.

    +

    TRUE if interface name is valid, otherwise FALSE is returned.


    nm_utils_is_uuid ()

    -
    gboolean
    +
    gboolean
     nm_utils_is_uuid (const char *str);

    Checks if str is a UUID

    @@ -2517,8 +2517,8 @@ nm_utils_is_uuid (const char

    Returns

    -

    TRUE if str -is a UUID, FALSE if not

    +

    TRUE if str +is a UUID, FALSE if not


    @@ -2547,7 +2547,7 @@ nm_utils_inet4_ntop (in_addr_t

    dst

    Returns

    the input buffer dst , or a pointer to an -internal, static buffer. NULL is not allowed as in6addr +internal, static buffer. NULL is not allowed as in6addr , otherwise, this function cannot fail.

    @@ -2618,7 +2618,7 @@ otherwise, this function cannot fail.


    nm_utils_ipaddr_valid ()

    -
    gboolean
    +
    gboolean
     nm_utils_ipaddr_valid (int family,
                            const char *ip);

    Checks if ip @@ -2648,16 +2648,16 @@ nm_utils_ipaddr_valid (int

    Returns

    -

    TRUE or FALSE

    +

    TRUE or FALSE


    nm_utils_check_virtual_device_compatibility ()

    -
    gboolean
    +
    gboolean
     nm_utils_check_virtual_device_compatibility
    -                               (GType virtual_type,
    -                                GType other_type);
    + (GType virtual_type, + GType other_type);

    Determines if a connection of type virtual_type can (in the general case) work with connections of type other_type @@ -2671,7 +2671,7 @@ general case) work with connections of type other_ty then this checks if other_type is a valid type for a slave of that master.

    -

    Note that even if this returns TRUE it is not guaranteed that +

    Note that even if this returns TRUE it is not guaranteed that every connection of type other_type is compatible with virtual_type @@ -2703,7 +2703,7 @@ underlying device driver.

    Returns

    -

    TRUE or FALSE

    +

    TRUE or FALSE


    @@ -2770,12 +2770,13 @@ available modes.

    nm_utils_enum_to_str ()

    char *
    -nm_utils_enum_to_str (GType type,
    +nm_utils_enum_to_str (GType type,
                           int value);

    Converts an enum value to its string representation. If the enum is a -G_TYPE_FLAGS the function returns a comma-separated list of matching values. -If the enum is a G_TYPE_ENUM and the given value is not valid the -function returns NULL.

    +G_TYPE_FLAGS the function returns a comma-separated list of matching values. +If the value has no corresponding string representation, it is converted +to a number. For enums it is converted to a decimal number, for flags +to an (unsigned) hex number.

    Parameters

    hwaddr1

    pointer to a binary or ASCII hardware address, or NULL

    pointer to a binary or ASCII hardware address, or NULL

     

    hwaddr2

    pointer to a binary or ASCII hardware address, or NULL

    pointer to a binary or ASCII hardware address, or NULL

     

    error

    location to store the error occurring, or NULL to ignore

    location to store the error occurring, or NULL to ignore

     

    the destination buffer, it must contain at least INET_ADDRSTRLEN or NM_UTILS_INET_ADDRSTRLEN -characters. If set to NULL, it will return a pointer to an internal, static +characters. If set to NULL, it will return a pointer to an internal, static buffer (shared with nm_utils_inet6_ntop()). Beware, that the internal buffer will be overwritten with ever new call of nm_utils_inet4_ntop() or nm_utils_inet6_ntop() that does not provied it's own dst @@ -2593,7 +2593,7 @@ nm_utils_inet6_ntop (const struct

    dst

    the destination buffer, it must contain at least INET6_ADDRSTRLEN or NM_UTILS_INET_ADDRSTRLEN -characters. If set to NULL, it will return a pointer to an internal, static +characters. If set to NULL, it will return a pointer to an internal, static buffer (shared with nm_utils_inet4_ntop()). Beware, that the internal buffer will be overwritten with ever new call of nm_utils_inet4_ntop() or nm_utils_inet6_ntop() that does not provied it's own dst @@ -2610,7 +2610,7 @@ buffer to avoid these issues.

    @@ -2787,7 +2788,7 @@ function returns NULL.

    - + @@ -2800,22 +2801,22 @@ function returns NULL.

    Returns

    -

    a newly allocated string or NULL

    +

    a newly allocated string or NULL

    Since: 1.2


    nm_utils_enum_from_str ()

    -
    gboolean
    -nm_utils_enum_from_str (GType type,
    +
    gboolean
    +nm_utils_enum_from_str (GType type,
                             const char *str,
                             int *out_value,
                             char **err_token);

    Converts a string to the matching enum value.

    -

    If the enum is a G_TYPE_FLAGS the function returns the logical OR of values +

    If the enum is a G_TYPE_FLAGS the function returns the logical OR of values matching the comma-separated tokens in the string; if an unknown token is found -the function returns FALSE and stores a pointer to a newly allocated string +the function returns FALSE and stores a pointer to a newly allocated string containing the unrecognized token in err_token .

    @@ -2829,7 +2830,7 @@ containing the unrecognized token in err_token
    - + @@ -2852,7 +2853,7 @@ containing the unrecognized token in err_token

    Returns

    -

    TRUE if the conversion was successful, FALSE otherwise

    +

    TRUE if the conversion was successful, FALSE otherwise

    Since: 1.2

    @@ -2860,9 +2861,9 @@ containing the unrecognized token in err_token

    nm_utils_enum_get_values ()

    const char **
    -nm_utils_enum_get_values (GType type,
    -                          gint from,
    -                          gint to);
    +nm_utils_enum_get_values (GType type, + gint from, + gint to);

    Returns the list of possible values for a given enum.

    Parameters

    @@ -2875,7 +2876,7 @@ nm_utils_enum_get_values (GType
    - + @@ -2894,7 +2895,7 @@ nm_utils_enum_get_values (GType

    Returns

    a NULL-terminated dynamically-allocated array of static strings -or NULL on error.

    +or NULL on error.

    [transfer container]

    Since: 1.2

    @@ -2902,7 +2903,7 @@ or NULL on error.


    nm_utils_version ()

    -
    guint
    +
    guint
     nm_utils_version (void);

    Returns

    @@ -2914,13 +2915,13 @@ at runtime.


    nm_utils_parse_variant_attributes ()

    -
    GHashTable *
    +
    GHashTable *
     nm_utils_parse_variant_attributes (const char *string,
                                        char attr_separator,
                                        char key_value_separator,
    -                                   gboolean ignore_unknown,
    +                                   gboolean ignore_unknown,
                                        const NMVariantAttributeSpec *const *spec,
    -                                   GError **error);
    + GError **error);

    Parse attributes from a string.

    Parameters

    @@ -2966,7 +2967,7 @@ nm_utils_parse_variant_attributes (const

    Returns

    -

    a GHashTable mapping attribute names to GVariant values.

    +

    a GHashTable mapping attribute names to GVariant values.

    [transfer full]

    Since: 1.8

    @@ -2975,7 +2976,7 @@ nm_utils_parse_variant_attributes (const

    nm_utils_format_variant_attributes ()

    char *
    -nm_utils_format_variant_attributes (GHashTable *attributes,
    +nm_utils_format_variant_attributes (GHashTable *attributes,
                                         char attr_separator,
                                         char key_value_separator);
    diff --git a/docs/libnm/html/libnm-nm-version.html b/docs/libnm/html/libnm-nm-version.html index 78bd0fca..dc57a3d9 100644 --- a/docs/libnm/html/libnm-nm-version.html +++ b/docs/libnm/html/libnm-nm-version.html @@ -75,6 +75,12 @@ NM_DEPRECATED_IN_1_8_FOR()
    + + + +

    type

    the GType of the enum

    the GType of the enum

     

    type

    the GType of the enum

    the GType of the enum

     

    type

    the GType of the enum

    the GType of the enum

     
    #define +NM_DEPRECATED_IN_1_10_FOR() +
    @@ -142,6 +148,14 @@ #define NM_AVAILABLE_IN_1_8 + +#define +NM_DEPRECATED_IN_1_10 + + +#define +NM_AVAILABLE_IN_1_10 +
    @@ -184,6 +198,12 @@

    NM_DEPRECATED_IN_1_8_FOR()

    #define             NM_DEPRECATED_IN_1_8_FOR(f)
    +
    +
    +

    NM_DEPRECATED_IN_1_10_FOR()

    +
    # define NM_DEPRECATED_IN_1_10_FOR(f)    G_DEPRECATED_FOR(f)
    +
    +

    Types and Values

    @@ -268,6 +288,18 @@

    NM_AVAILABLE_IN_1_8

    #define             NM_AVAILABLE_IN_1_8
    +
    +
    +

    NM_DEPRECATED_IN_1_10

    +
    # define NM_DEPRECATED_IN_1_10           G_DEPRECATED
    +
    +
    +
    +
    +

    NM_AVAILABLE_IN_1_10

    +
    # define NM_AVAILABLE_IN_1_10            G_UNAVAILABLE(1,10)
    +
    +

    Object Hierarchy

    -
        GEnum
    +
        GEnum
         ├── NMVpnConnectionState
         ├── NMVpnConnectionStateReason
         ├── NMVpnPluginFailure
    diff --git a/docs/libnm/html/libnm.devhelp2 b/docs/libnm/html/libnm.devhelp2
    index 4d0ee48d..60807b9e 100644
    --- a/docs/libnm/html/libnm.devhelp2
    +++ b/docs/libnm/html/libnm.devhelp2
    @@ -117,6 +117,9 @@
         
         
         
    +    
    +    
    +    
         
         
         
    @@ -169,6 +172,8 @@
         
         
         
    +    
    +    
         
         
         
    @@ -200,6 +205,8 @@
         
         
         
    +    
    +    
         
         
         
    @@ -293,6 +300,9 @@
         
         
         
    +    
    +    
    +    
         
         
         
    @@ -315,6 +325,7 @@
         
         
         
    +    
         
         
         
    @@ -369,6 +380,7 @@
         
         
         
    +    
         
         
         
    @@ -391,6 +403,7 @@
         
         
         
    +    
         
         
         
    @@ -417,6 +430,10 @@
         
         
         
    +    
    +    
    +    
    +    
         
         
         
    @@ -495,6 +512,7 @@
         
         
         
    +    
         
         
         
    @@ -518,9 +536,11 @@
         
         
         
    +    
         
         
         
    +    
         
         
         
    @@ -759,6 +779,7 @@
         
         
         
    +    
         
         
         
    @@ -810,6 +831,7 @@
         
         
         
    +    
         
         
         
    @@ -819,10 +841,12 @@
         
         
         
    +    
         
         
         
         
    +    
         
         
         
    @@ -1038,6 +1062,7 @@
         
         
         
    +    
         
         
         
    @@ -1093,6 +1118,7 @@
         
         
         
    +    
         
         
         
    @@ -1101,6 +1127,7 @@
         
         
         
    +    
         
         
         
    @@ -1124,6 +1151,7 @@
         
         
         
    +    
         
         
         
    @@ -1164,6 +1192,7 @@
         
         
         
    +    
         
         
         
    @@ -1321,16 +1350,19 @@
         
         
         
    +    
         
         
         
         
         
    +    
         
         
         
         
         
    +    
         
         
         
    @@ -1646,6 +1678,7 @@
         
         
         
    +    
         
         
         
    @@ -1657,14 +1690,18 @@
         
         
         
    +    
         
         
    +    
    +    
         
         
         
         
         
         
    +    
         
         
         
    @@ -1676,6 +1713,7 @@
         
         
         
    +    
         
         
         
    @@ -1684,6 +1722,7 @@
         
         
         
    +    
         
         
         
    @@ -1694,6 +1733,7 @@
         
         
         
    +    
         
         
         
    @@ -1841,7 +1881,10 @@
         
         
         
    +    
    +    
         
    +    
         
         
         
    @@ -2149,6 +2192,7 @@
         
         
         
    +    
         
         
         
    @@ -2165,6 +2209,7 @@
         
         
         
    +    
         
         
         
    @@ -2186,6 +2231,7 @@
         
         
         
    +    
         
         
         
    @@ -2376,6 +2422,7 @@
         
         
         
    +    
         
         
         
    @@ -2390,6 +2437,8 @@
         
         
         
    +    
    +    
         
         
         
    @@ -2495,6 +2544,7 @@
         
         
         
    +    
         
         
         
    @@ -2532,6 +2582,7 @@
         
         
         
    +    
         
         
         
    @@ -2606,6 +2657,10 @@
         
         
         
    +    
    +    
    +    
    +    
         
         
         
    @@ -2625,6 +2680,9 @@
         
         
         
    +    
    +    
    +    
         
         
         
    @@ -2728,6 +2786,7 @@
         
         
         
    +    
         
         
         
    @@ -2757,6 +2816,7 @@
         
         
         
    +    
         
         
         
    @@ -2780,6 +2840,13 @@
         
         
         
    +    
    +    
    +    
    +    
    +    
    +    
    +    
         
         
         
    @@ -2881,6 +2948,17 @@
         
         
         
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
         
         
         
    diff --git a/docs/libnm/html/object-tree.html b/docs/libnm/html/object-tree.html
    index 057a734b..9343dcee 100644
    --- a/docs/libnm/html/object-tree.html
    +++ b/docs/libnm/html/object-tree.html
    @@ -23,7 +23,7 @@
     

    Object Hierarchy

    -    GObject
    +    GObject
         ├── NMSetting
            ├── NMSetting8021x
            ├── NMSettingAdsl
    @@ -45,6 +45,10 @@
            ├── NMSettingMacsec
            ├── NMSettingMacvlan
            ├── NMSettingOlpcMesh
    +       ├── NMSettingOvsBridge
    +       ├── NMSettingOvsInterface
    +       ├── NMSettingOvsPatch
    +       ├── NMSettingOvsPort
            ├── NMSettingPpp
            ├── NMSettingPppoe
            ├── NMSettingProxy
    @@ -78,6 +82,10 @@
               ├── NMDeviceMacvlan
               ├── NMDeviceModem
               ├── NMDeviceOlpcMesh
    +          ├── NMDeviceOvsBridge
    +          ├── NMDeviceOvsInterface
    +          ├── NMDeviceOvsPort
    +          ├── NMDevicePpp
               ├── NMDeviceTeam
               ├── NMDeviceTun
               ├── NMDeviceVlan
    @@ -91,13 +99,14 @@
         ├── NMClient
         ├── NMSecretAgentOld
         ╰── NMSimpleConnection
    -    GInterface
    +    GInterface
         ├── NMConnection
         ├── NMVpnEditor
         ╰── NMVpnEditorPlugin
    -    GFlags
    +    GFlags
         ├── NM80211ApFlags
         ├── NM80211ApSecurityFlags
    +    ├── NMActivationStateFlags
         ├── NMBluetoothCapabilities
         ├── NMConnectionSerializationFlags
         ├── NMDeviceCapabilities
    @@ -111,7 +120,7 @@
         ├── NMSettingWiredWakeOnLan
         ├── NMVlanFlags
         ╰── NMVpnEditorPluginCapability
    -    GEnum
    +    GEnum
         ├── NMAgentManagerError
         ├── NMConnectionError
         ├── NMDeviceError
    @@ -149,6 +158,8 @@
         ├── NMSettingSerialParity
         ├── NMSettingTunMode
         ├── NMSettingWirelessPowersave
    +    ├── NMSettingWirelessSecurityPmf
    +    ├── NMSettingWirelessSecurityWpsMethod
         ├── NMState
         ├── NMUtilsSecurityType
         ├── NMVlanPriorityMap
    @@ -158,7 +169,7 @@
         ├── NMVpnServiceState
         ├── NMWepKeyType
         ╰── NMWimaxNspNetworkType
    -    GBoxed
    +    GBoxed
         ├── NMDnsEntry
         ├── NMIPAddress
         ├── NMIPRoute
    diff --git a/docs/libnm/html/usage.html b/docs/libnm/html/usage.html
    index d45e8f18..55669399 100644
    --- a/docs/libnm/html/usage.html
    +++ b/docs/libnm/html/usage.html
    @@ -81,9 +81,9 @@
     {
         NMClient *client;
     
    -    client = nm_client_new (NULL, NULL);
    +    client = nm_client_new (NULL, NULL);
         if (client)
    -        g_print ("NetworkManager version: %s\n", nm_client_get_version (client));
    +        g_print ("NetworkManager version: %s\n", nm_client_get_version (client));
     }
    @@ -96,7 +96,7 @@

    $ cc $(pkg-config --libs --cflags libnm) -o hello-nm hello-nm.c
       $ ./hello-nm
    -  NetworkManager version: 1.8.4
    +  NetworkManager version: 1.9.90
     
       $ 

    diff --git a/docs/libnm/libnm-sections.txt b/docs/libnm/libnm-sections.txt index ccaee14d..dbd86d91 100644 --- a/docs/libnm/libnm-sections.txt +++ b/docs/libnm/libnm-sections.txt @@ -46,6 +46,7 @@ NM_ACTIVE_CONNECTION_TYPE NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT_PATH NM_ACTIVE_CONNECTION_DEVICES NM_ACTIVE_CONNECTION_STATE +NM_ACTIVE_CONNECTION_STATE_FLAGS NM_ACTIVE_CONNECTION_DEFAULT NM_ACTIVE_CONNECTION_IP4_CONFIG NM_ACTIVE_CONNECTION_DHCP4_CONFIG @@ -62,6 +63,7 @@ nm_active_connection_get_connection_type nm_active_connection_get_specific_object_path nm_active_connection_get_devices nm_active_connection_get_state +nm_active_connection_get_state_flags nm_active_connection_get_state_reason nm_active_connection_get_master nm_active_connection_get_default @@ -98,6 +100,8 @@ NM_CLIENT_WIMAX_ENABLED NM_CLIENT_WIMAX_HARDWARE_ENABLED NM_CLIENT_ACTIVE_CONNECTIONS NM_CLIENT_CONNECTIVITY +NM_CLIENT_CONNECTIVITY_CHECK_AVAILABLE +NM_CLIENT_CONNECTIVITY_CHECK_ENABLED NM_CLIENT_PRIMARY_CONNECTION NM_CLIENT_ACTIVATING_CONNECTION NM_CLIENT_DEVICES @@ -148,6 +152,9 @@ nm_client_wwan_hardware_get_enabled nm_client_wimax_get_enabled nm_client_wimax_set_enabled nm_client_wimax_hardware_get_enabled +nm_client_connectivity_check_get_available +nm_client_connectivity_check_get_enabled +nm_client_connectivity_check_set_enabled nm_client_get_logging nm_client_set_logging nm_client_get_permission_result @@ -232,6 +239,7 @@ nm_connection_get_path nm_connection_get_interface_name nm_connection_is_type nm_connection_for_each_setting_value +nm_connection_get_settings nm_connection_dump nm_connection_get_uuid nm_connection_get_id @@ -258,6 +266,10 @@ nm_connection_get_setting_ip6_config nm_connection_get_setting_macsec nm_connection_get_setting_macvlan nm_connection_get_setting_olpc_mesh +nm_connection_get_setting_ovs_bridge +nm_connection_get_setting_ovs_interface +nm_connection_get_setting_ovs_patch +nm_connection_get_setting_ovs_port nm_connection_get_setting_ppp nm_connection_get_setting_pppoe nm_connection_get_setting_proxy @@ -286,6 +298,7 @@ nm_connection_get_type NM_TYPE_802_11_AP_FLAGS NM_TYPE_802_11_AP_SECURITY_FLAGS NM_TYPE_802_11_MODE +NM_TYPE_ACTIVATION_STATE_FLAGS NM_TYPE_ACTIVE_CONNECTION_STATE NM_TYPE_ACTIVE_CONNECTION_STATE_REASON NM_TYPE_AGENT_MANAGER_ERROR @@ -329,6 +342,8 @@ NM_TYPE_SETTING_SERIAL_PARITY NM_TYPE_SETTING_TUN_MODE NM_TYPE_SETTING_WIRED_WAKE_ON_LAN NM_TYPE_SETTING_WIRELESS_POWERSAVE +NM_TYPE_SETTING_WIRELESS_SECURITY_PMF +NM_TYPE_SETTING_WIRELESS_SECURITY_WPS_METHOD NM_TYPE_STATE NM_TYPE_UTILS_SECURITY_TYPE NM_TYPE_VLAN_FLAGS @@ -344,6 +359,7 @@ NM_TYPE_WIMAX_NSP_NETWORK_TYPE nm_802_11_ap_flags_get_type nm_802_11_ap_security_flags_get_type nm_802_11_mode_get_type +nm_activation_state_flags_get_type nm_active_connection_state_get_type nm_active_connection_state_reason_get_type nm_agent_manager_error_get_type @@ -386,6 +402,8 @@ nm_setting_serial_parity_get_type nm_setting_tun_mode_get_type nm_setting_wired_wake_on_lan_get_type nm_setting_wireless_powersave_get_type +nm_setting_wireless_security_pmf_get_type +nm_setting_wireless_security_wps_method_get_type nm_settings_error_get_type nm_state_get_type nm_utils_security_type_get_type @@ -425,6 +443,10 @@ NMSettingInfiniband NMSettingMacsec NMSettingMacvlan NMSettingOlpcMesh +NMSettingOvsBridge +NMSettingOvsInterface +NMSettingOvsPatch +NMSettingOvsPort NMSettingPpp NMSettingPppoe NMSettingProxy @@ -456,6 +478,9 @@ NM_DBUS_INTERFACE_DEVICE_ADSL NM_DBUS_INTERFACE_DEVICE_WIRELESS NM_DBUS_INTERFACE_DEVICE_BLUETOOTH NM_DBUS_INTERFACE_DEVICE_OLPC_MESH +NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE +NM_DBUS_INTERFACE_DEVICE_OVS_PORT +NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE NM_DBUS_PATH_ACCESS_POINT NM_DBUS_INTERFACE_ACCESS_POINT NM_DBUS_INTERFACE_DEVICE_MODEM @@ -478,6 +503,7 @@ NM_DBUS_INTERFACE_DEVICE_VETH NM_DBUS_INTERFACE_DEVICE_TUN NM_DBUS_INTERFACE_DEVICE_MACSEC NM_DBUS_INTERFACE_DEVICE_MACVLAN +NM_DBUS_INTERFACE_DEVICE_PPP NM_DBUS_INTERFACE_DEVICE_VXLAN NM_DBUS_INTERFACE_DEVICE_GRE NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL @@ -532,6 +558,7 @@ NM_LLDP_DEST_NEAREST_CUSTOMER_BRIDGE NMIPTunnelMode NMCheckpointCreateFlags NMRollbackResult +NMActivationStateFlags

    @@ -718,7 +745,9 @@ nm_device_bt_get_type
    nm-device-dummy NMDeviceDummy +NM_DEVICE_DUMMY_HW_ADDRESS NMDeviceDummy +nm_device_dummy_get_hw_address NMDeviceDummyClass NM_DEVICE_DUMMY @@ -937,6 +966,58 @@ NM_TYPE_DEVICE_OLPC_MESH nm_device_olpc_mesh_get_type
    +
    +nm-device-ovs-bridge + +NMDeviceOvsBridgeClass +NM_DEVICE_OVS_BRIDGE +NM_DEVICE_OVS_BRIDGE_CLASS +NM_DEVICE_OVS_BRIDGE_GET_CLASS +NM_IS_DEVICE_OVS_BRIDGE +NM_IS_DEVICE_OVS_BRIDGE_CLASS +NM_TYPE_DEVICE_OVS_BRIDGE +nm_device_ovs_bridge_get_type +
    + +
    +nm-device-ovs-interface + +NMDeviceOvsInterfaceClass +NM_DEVICE_OVS_INTERFACE +NM_DEVICE_OVS_INTERFACE_CLASS +NM_DEVICE_OVS_INTERFACE_GET_CLASS +NM_IS_DEVICE_OVS_INTERFACE +NM_IS_DEVICE_OVS_INTERFACE_CLASS +NM_TYPE_DEVICE_OVS_INTERFACE +nm_device_ovs_interface_get_type +
    + +
    +nm-device-ovs-port + +NMDeviceOvsPortClass +NM_DEVICE_OVS_PORT +NM_DEVICE_OVS_PORT_CLASS +NM_DEVICE_OVS_PORT_GET_CLASS +NM_IS_DEVICE_OVS_PORT +NM_IS_DEVICE_OVS_PORT_CLASS +NM_TYPE_DEVICE_OVS_PORT +nm_device_ovs_port_get_type +
    + +
    +nm-device-ppp + +NMDevicePppClass +NM_DEVICE_PPP +NM_DEVICE_PPP_CLASS +NM_DEVICE_PPP_GET_CLASS +NM_IS_DEVICE_PPP +NM_IS_DEVICE_PPP_CLASS +NM_TYPE_DEVICE_PPP +nm_device_ppp_get_type +
    +
    nm-device-team NMDeviceTeam @@ -1542,6 +1623,7 @@ NM_SETTING_BLUETOOTH_BDADDR NM_SETTING_BLUETOOTH_TYPE NM_SETTING_BLUETOOTH_TYPE_DUN NM_SETTING_BLUETOOTH_TYPE_PANU +NM_SETTING_BLUETOOTH_TYPE_NAP NMSettingBluetooth nm_setting_bluetooth_new nm_setting_bluetooth_get_bdaddr @@ -1621,6 +1703,7 @@ NM_SETTING_BRIDGE_FORWARD_DELAY NM_SETTING_BRIDGE_HELLO_TIME NM_SETTING_BRIDGE_MAX_AGE NM_SETTING_BRIDGE_AGEING_TIME +NM_SETTING_BRIDGE_GROUP_FORWARD_MASK NM_SETTING_BRIDGE_MULTICAST_SNOOPING NMSettingBridge nm_setting_bridge_new @@ -1631,6 +1714,7 @@ nm_setting_bridge_get_forward_delay nm_setting_bridge_get_hello_time nm_setting_bridge_get_max_age nm_setting_bridge_get_ageing_time +nm_setting_bridge_get_group_forward_mask nm_setting_bridge_get_multicast_snooping NMSettingBridgeClass @@ -1719,6 +1803,7 @@ NM_SETTING_CONNECTION_SECONDARIES NM_SETTING_CONNECTION_GATEWAY_PING_TIMEOUT NM_SETTING_CONNECTION_METERED NM_SETTING_CONNECTION_LLDP +NM_SETTING_CONNECTION_AUTH_RETRIES NMSettingConnectionAutoconnectSlaves NMSettingConnectionLldp NMSettingConnection @@ -1752,6 +1837,7 @@ nm_setting_connection_remove_secondary_by_value nm_setting_connection_get_gateway_ping_timeout nm_setting_connection_get_metered nm_setting_connection_get_lldp +nm_setting_connection_get_auth_retries NMSettingConnectionClass NM_IS_SETTING_CONNECTION @@ -1948,6 +2034,7 @@ nm_ip_route_new_binary nm_ip_route_ref nm_ip_route_unref nm_ip_route_equal +nm_ip_route_equal_full nm_ip_route_dup nm_ip_route_get_family nm_ip_route_get_dest @@ -1967,6 +2054,7 @@ nm_ip_route_get_attribute nm_ip_route_set_attribute nm_ip_route_get_variant_attribute_spec nm_ip_route_attribute_validate +NM_IP_ROUTE_ATTRIBUTE_TABLE NM_IP_ROUTE_ATTRIBUTE_SRC NM_IP_ROUTE_ATTRIBUTE_FROM NM_IP_ROUTE_ATTRIBUTE_TOS @@ -1990,6 +2078,7 @@ NM_SETTING_IP_CONFIG_ADDRESSES NM_SETTING_IP_CONFIG_GATEWAY NM_SETTING_IP_CONFIG_ROUTES NM_SETTING_IP_CONFIG_ROUTE_METRIC +NM_SETTING_IP_CONFIG_ROUTE_TABLE NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS NM_SETTING_IP_CONFIG_DHCP_HOSTNAME @@ -2050,6 +2139,7 @@ nm_setting_ip_config_remove_route nm_setting_ip_config_remove_route_by_value nm_setting_ip_config_clear_routes nm_setting_ip_config_get_route_metric +nm_setting_ip_config_get_route_table nm_setting_ip_config_get_ignore_auto_routes nm_setting_ip_config_get_ignore_auto_dns nm_setting_ip_config_get_dhcp_hostname @@ -2257,6 +2347,90 @@ NM_TYPE_SETTING_OLPC_MESH nm_setting_olpc_mesh_get_type
    +
    +nm-setting-ovs-bridge +NM_SETTING_OVS_BRIDGE_SETTING_NAME +NM_SETTING_OVS_BRIDGE_FAIL_MODE +NM_SETTING_OVS_BRIDGE_MCAST_SNOOPING_ENABLE +NM_SETTING_OVS_BRIDGE_RSTP_ENABLE +NM_SETTING_OVS_BRIDGE_STP_ENABLE +nm_setting_ovs_bridge_new +nm_setting_ovs_bridge_get_fail_mode +nm_setting_ovs_bridge_get_mcast_snooping_enable +nm_setting_ovs_bridge_get_rstp_enable +nm_setting_ovs_bridge_get_stp_enable + +NMSettingOvsBridgeClass +NM_IS_SETTING_OVS_BRIDGE +NM_IS_SETTING_OVS_BRIDGE_CLASS +NM_SETTING_OVS_BRIDGE +NM_SETTING_OVS_BRIDGE_CLASS +NM_SETTING_OVS_BRIDGE_GET_CLASS +NM_TYPE_SETTING_OVS_BRIDGE +nm_setting_ovs_bridge_get_type +
    + +
    +nm-setting-ovs-interface +NM_SETTING_OVS_INTERFACE_SETTING_NAME +NM_SETTING_OVS_INTERFACE_TYPE +nm_setting_ovs_interface_new +nm_setting_ovs_interface_get_interface_type + +NMSettingOvsInterfaceClass +NM_IS_SETTING_OVS_INTERFACE +NM_IS_SETTING_OVS_INTERFACE_CLASS +NM_SETTING_OVS_INTERFACE +NM_SETTING_OVS_INTERFACE_CLASS +NM_SETTING_OVS_INTERFACE_GET_CLASS +NM_TYPE_SETTING_OVS_INTERFACE +nm_setting_ovs_interface_get_type +
    + +
    +nm-setting-ovs-patch +NM_SETTING_OVS_PATCH_SETTING_NAME +NM_SETTING_OVS_PATCH_PEER +nm_setting_ovs_patch_new +nm_setting_ovs_patch_get_peer + +NMSettingOvsPatchClass +NM_IS_SETTING_OVS_PATCH +NM_IS_SETTING_OVS_PATCH_CLASS +NM_SETTING_OVS_PATCH +NM_SETTING_OVS_PATCH_CLASS +NM_SETTING_OVS_PATCH_GET_CLASS +NM_TYPE_SETTING_OVS_PATCH +nm_setting_ovs_patch_get_type +
    + +
    +nm-setting-ovs-port +NM_SETTING_OVS_PORT_SETTING_NAME +NM_SETTING_OVS_PORT_VLAN_MODE +NM_SETTING_OVS_PORT_TAG +NM_SETTING_OVS_PORT_LACP +NM_SETTING_OVS_PORT_BOND_MODE +NM_SETTING_OVS_PORT_BOND_UPDELAY +NM_SETTING_OVS_PORT_BOND_DOWNDELAY +nm_setting_ovs_port_new +nm_setting_ovs_port_get_vlan_mode +nm_setting_ovs_port_get_tag +nm_setting_ovs_port_get_lacp +nm_setting_ovs_port_get_bond_mode +nm_setting_ovs_port_get_bond_updelay +nm_setting_ovs_port_get_bond_downdelay + +NMSettingOvsPortClass +NM_IS_SETTING_OVS_PORT +NM_IS_SETTING_OVS_PORT_CLASS +NM_SETTING_OVS_PORT +NM_SETTING_OVS_PORT_CLASS +NM_SETTING_OVS_PORT_GET_CLASS +NM_TYPE_SETTING_OVS_PORT +nm_setting_ovs_port_get_type +
    +
    nm-setting-ppp NMSettingPpp @@ -2314,12 +2488,14 @@ nm_setting_ppp_get_type nm-setting-pppoe NMSettingPppoe NM_SETTING_PPPOE_SETTING_NAME +NM_SETTING_PPPOE_PARENT NM_SETTING_PPPOE_SERVICE NM_SETTING_PPPOE_USERNAME NM_SETTING_PPPOE_PASSWORD NM_SETTING_PPPOE_PASSWORD_FLAGS NMSettingPppoe nm_setting_pppoe_new +nm_setting_pppoe_get_parent nm_setting_pppoe_get_service nm_setting_pppoe_get_username nm_setting_pppoe_get_password @@ -2746,12 +2922,15 @@ nm_setting_wireless_get_type NMSettingWirelessSecurity NM_SETTING_WIRELESS_SECURITY_SETTING_NAME NMWepKeyType +NMSettingWirelessSecurityPmf +NMSettingWirelessSecurityWpsMethod NM_SETTING_WIRELESS_SECURITY_KEY_MGMT NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX NM_SETTING_WIRELESS_SECURITY_AUTH_ALG NM_SETTING_WIRELESS_SECURITY_PROTO NM_SETTING_WIRELESS_SECURITY_PAIRWISE NM_SETTING_WIRELESS_SECURITY_GROUP +NM_SETTING_WIRELESS_SECURITY_PMF NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME NM_SETTING_WIRELESS_SECURITY_WEP_KEY0 NM_SETTING_WIRELESS_SECURITY_WEP_KEY1 @@ -2763,6 +2942,7 @@ NM_SETTING_WIRELESS_SECURITY_PSK NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS +NM_SETTING_WIRELESS_SECURITY_WPS_METHOD NMSettingWirelessSecurity nm_setting_wireless_security_new nm_setting_wireless_security_get_key_mgmt @@ -2784,6 +2964,7 @@ nm_setting_wireless_security_add_group nm_setting_wireless_security_remove_group nm_setting_wireless_security_remove_group_by_value nm_setting_wireless_security_clear_groups +nm_setting_wireless_security_get_pmf nm_setting_wireless_security_get_psk nm_setting_wireless_security_get_psk_flags nm_setting_wireless_security_get_leap_username @@ -2795,6 +2976,7 @@ nm_setting_wireless_security_get_wep_tx_keyidx nm_setting_wireless_security_get_auth_alg nm_setting_wireless_security_get_wep_key_flags nm_setting_wireless_security_get_wep_key_type +nm_setting_wireless_security_get_wps_method NMSettingWirelessSecurityClass NM_IS_SETTING_WIRELESS_SECURITY @@ -2843,6 +3025,10 @@ NMDeviceMacsec NMDeviceMacvlan NMDeviceModem NMDeviceOlpcMesh +NMDeviceOvsBridge +NMDeviceOvsInterface +NMDeviceOvsPort +NMDevicePpp NMDeviceTeam NMDeviceTun NMDeviceVlan @@ -2954,6 +3140,9 @@ NM_AVAILABLE_IN_1_6 NM_DEPRECATED_IN_1_8 NM_DEPRECATED_IN_1_8_FOR NM_AVAILABLE_IN_1_8 +NM_DEPRECATED_IN_1_10 +NM_DEPRECATED_IN_1_10_FOR +NM_AVAILABLE_IN_1_10
    diff --git a/docs/libnm/libnm.types b/docs/libnm/libnm.types index 2d96d430..3eac5481 100644 --- a/docs/libnm/libnm.types +++ b/docs/libnm/libnm.types @@ -2,6 +2,7 @@ nm_802_11_ap_flags_get_type nm_802_11_ap_security_flags_get_type nm_802_11_mode_get_type nm_access_point_get_type +nm_activation_state_flags_get_type nm_active_connection_get_type nm_active_connection_state_get_type nm_active_connection_state_reason_get_type @@ -34,6 +35,10 @@ nm_device_macvlan_get_type nm_device_modem_capabilities_get_type nm_device_modem_get_type nm_device_olpc_mesh_get_type +nm_device_ovs_bridge_get_type +nm_device_ovs_interface_get_type +nm_device_ovs_port_get_type +nm_device_ppp_get_type nm_device_state_get_type nm_device_state_reason_get_type nm_device_team_get_type @@ -94,6 +99,10 @@ nm_setting_macsec_validation_get_type nm_setting_macvlan_get_type nm_setting_macvlan_mode_get_type nm_setting_olpc_mesh_get_type +nm_setting_ovs_bridge_get_type +nm_setting_ovs_interface_get_type +nm_setting_ovs_patch_get_type +nm_setting_ovs_port_get_type nm_setting_ppp_get_type nm_setting_pppoe_get_type nm_setting_proxy_get_type @@ -115,6 +124,8 @@ nm_setting_wired_wake_on_lan_get_type nm_setting_wireless_get_type nm_setting_wireless_powersave_get_type nm_setting_wireless_security_get_type +nm_setting_wireless_security_pmf_get_type +nm_setting_wireless_security_wps_method_get_type nm_settings_error_get_type nm_simple_connection_get_type nm_state_get_type diff --git a/docs/libnm/version.xml b/docs/libnm/version.xml index bfa363e7..1f707060 100644 --- a/docs/libnm/version.xml +++ b/docs/libnm/version.xml @@ -1 +1 @@ -1.8.4 +1.9.90 -- cgit 1.3.0-6-gf8a5