From 9c202e3e860b3be9e1f8882630b69affbb130102 Mon Sep 17 00:00:00 2001
From: Michael Biebl
+A shortcut to return any NMSettingBridge the connection might contain.
+ Returns :
+A shortcut to return any NMSettingBridgePort the connection might contain.
+ Returns :
+The NMSettingBridge object is a NMSetting subclass that describes properties
+necessary for bridging connections.
+
+
+
+Registers an error quark for NMSettingBridge if necessary.
+ Returns : Returns : Returns : Returns : Returns : Returns : Returns : Returns :
+Creates a new NMSettingBridge object with default values.
+ Returns :
+The ethernet MAC address aging time, in seconds.
+ Allowed values: <= 1000000 Default value: 300
+The Spanning Tree Protocol (STP) forwarding delay, in seconds.
+ Allowed values: <= 30 Default value: 15
+The Spanning Tree Protocol (STP) hello time, in seconds.
+ Allowed values: <= 10 Default value: 2
+The name of the virtual in-kernel briding network interface
+ Default value: NULL
+The Spanning Tree Protocol (STP) maximum message age, in seconds.
+ Allowed values: <= 40 Default value: 20
+Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower
+values are "better"; the lowest priority bridge will be elected the root
+bridge.
+ Allowed values: <= 65535 Default value: 128
+Controls whether Spanning Tree Protocol (STP) is enabled for this bridge.
+ Default value: TRUE NMSettingBridgePort — Describes connection properties for bridge ports
+The NMSettingBridgePort object is a NMSetting subclass that describes
+optional properties that apply to bridge ports.
+
+
+
+
+
+Registers an error quark for NMSettingBridgePort if necessary.
+ Returns : Returns : Returns : Returns :
+Creates a new NMSettingBridgePort object with default values.
+ Returns :
+Enables or disabled 'hairpin mode' for the port, which allows frames to
+be sent back out through the port the frame was received on.
+ Default value: FALSE
+The Spanning Tree Protocol (STP) port cost for destinations via this port.
+ Allowed values: <= 65535 Default value: 100
+The Spanning Tree Protocol (STP) priority of this bridge port.
+ Allowed values: <= 63 Default value: 32
+Adds a new secondary connetion UUID to the setting.
+ Returns :
@@ -481,6 +529,26 @@ property of this setting.
Returns : Returns :
+Removes the secondary coonnection UUID at index
+List of connection UUIDs that should be activated when the base connection
+itself is activated.
+
diff --git a/docs/libnm-util/html/NMSettingGsm.html b/docs/libnm-util/html/NMSettingGsm.html
index f2522cdc..d10521ac 100644
--- a/docs/libnm-util/html/NMSettingGsm.html
+++ b/docs/libnm-util/html/NMSettingGsm.html
@@ -297,7 +297,9 @@ the device may use when connecting to this network.
NM_SETTING_GSM_NETWORK_TYPE_UMTS_HSPA = 0,
NM_SETTING_GSM_NETWORK_TYPE_GPRS_EDGE = 1,
NM_SETTING_GSM_NETWORK_TYPE_PREFER_UMTS_HSPA = 2,
- NM_SETTING_GSM_NETWORK_TYPE_PREFER_GPRS_EDGE = 3
+ NM_SETTING_GSM_NETWORK_TYPE_PREFER_GPRS_EDGE = 3,
+ NM_SETTING_GSM_NETWORK_TYPE_PREFER_4G = 4,
+ NM_SETTING_GSM_NETWORK_TYPE_4G = 5
} NMSettingGsmNetworkType;
@@ -336,6 +338,18 @@ preferred but 2G-type technologies may be used as a fallback
preferred but 3G-type technologies may be used as a fallback
NMConnection *connection);
NMSettingBond * nm_connection_get_setting_bond (NMConnection *connection);
+NMSettingBridge * nm_connection_get_setting_bridge (NMConnection *connection);
+NMSettingBridgePort * nm_connection_get_setting_bridge_port
+ (NMConnection *connection);
NMSetting * nm_connection_get_setting_by_name (NMConnection *connection,
const char *name);
NMSettingCdma * nm_connection_get_setting_cdma (NMConnection *connection);
@@ -700,6 +703,53 @@ A shortcut to return any
+nm_connection_get_setting_bridge ()
+NMSettingBridge * nm_connection_get_setting_bridge (
+NMConnection *connection);
+
+
+
+connection :the NMConnection
+
+
+
+
+
+an NMSettingBridge if the connection contains one, otherwise NULL. [transfer none]
+
+
+nm_connection_get_setting_bridge_port ()
+NMSettingBridgePort * nm_connection_get_setting_bridge_port
+ (
+NMConnection *connection);
+
+
+
+connection :the NMConnection
+
+
+
+
+
+an NMSettingBridgePort if the connection contains one, otherwise NULL. [transfer none]
+
+
+nm_connection_get_setting_by_name ()
NMSetting * nm_connection_get_setting_by_name (
diff --git a/docs/libnm-util/html/NMSetting.html b/docs/libnm-util/html/NMSetting.html
index 8a8b2b8c..12b826b1 100644
--- a/docs/libnm-util/html/NMSetting.html
+++ b/docs/libnm-util/html/NMSetting.html
@@ -116,22 +116,24 @@ const char * NMSettingAdsl
+----NMSettingBluetooth
+----NMSettingBond
- +----NMSettingCdma
+ +----NMSettingBridge
+ +----NMSettingBridgePort
+----NMSettingConnection
- +----NMSettingGsm
+----NMSettingInfiniband
+----NMSettingIP4Config
+ +----NMSettingVlan
+----NMSettingIP6Config
- +----NMSettingOlpcMesh
+----NMSettingPPP
+----NMSettingPPPOE
+----NMSettingSerial
- +----NMSettingVlan
- +----NMSettingVPN
+ +----NMSettingGsm
+ +----NMSettingCdma
+ +----NMSettingOlpcMesh
+----NMSettingWimax
+----NMSettingWired
+----NMSettingWireless
+----NMSettingWirelessSecurity
+ +----NMSettingVPN
NMConnection *connection,
const char *name);
GEnum
diff --git a/docs/libnm-util/html/NMSettingBond.html b/docs/libnm-util/html/NMSettingBond.html
index e29bca05..ff77e102 100644
--- a/docs/libnm-util/html/NMSettingBond.html
+++ b/docs/libnm-util/html/NMSettingBond.html
@@ -7,7 +7,7 @@
-
+
@@ -18,7 +18,7 @@
![]()
![]()
libnm-util Reference Manual
-
+![]()
![]()
+
Top
diff --git a/docs/libnm-util/html/NMSettingBridge.html b/docs/libnm-util/html/NMSettingBridge.html
new file mode 100644
index 00000000..4e52f8ed
--- /dev/null
+++ b/docs/libnm-util/html/NMSettingBridge.html
@@ -0,0 +1,472 @@
+
+
+
+
+
+
+
+
+
+![]()
+![]()
+![]()
libnm-util Reference Manual
+
+![]()
+
+Top
+ |
+ Description
+ |
+ Object Hierarchy
+ |
+ Properties
+ Synopsis
+
+#include <nm-setting-bridge.h>
+
+ NMSettingBridge;
+ NMSettingBridgeClass;
+enum NMSettingBridgeError;
+#define NM_SETTING_BRIDGE_AGEING_TIME
+#define NM_SETTING_BRIDGE_ERROR
+#define NM_SETTING_BRIDGE_FORWARD_DELAY
+#define NM_SETTING_BRIDGE_HELLO_TIME
+#define NM_SETTING_BRIDGE_INTERFACE_NAME
+#define NM_SETTING_BRIDGE_MAX_AGE
+#define NM_SETTING_BRIDGE_PRIORITY
+#define NM_SETTING_BRIDGE_SETTING_NAME
+#define NM_SETTING_BRIDGE_STP
+GQuark nm_setting_bridge_error_quark (
+void);
+guint32 nm_setting_bridge_get_ageing_time (NMSettingBridge *setting);
+guint16 nm_setting_bridge_get_forward_delay (NMSettingBridge *setting);
+guint16 nm_setting_bridge_get_hello_time (NMSettingBridge *setting);
+const char * nm_setting_bridge_get_interface_name
+ (NMSettingBridge *setting);
+guint16 nm_setting_bridge_get_max_age (NMSettingBridge *setting);
+guint16 nm_setting_bridge_get_priority (NMSettingBridge *setting);
+gboolean nm_setting_bridge_get_stp (NMSettingBridge *setting);
+NMSetting * nm_setting_bridge_new (void);
+Object Hierarchy
+
+ GObject
+ +----NMSetting
+ +----NMSettingBridge
+
+
+ GEnum
+ +----NMSettingBridgeError
+
+Properties
+
+ "ageing-time" guint : Read / Write / Construct
+ "forward-delay" guint : Read / Write / Construct
+ "hello-time" guint : Read / Write / Construct
+ "interface-name" gchar* : Read / Write
+ "max-age" guint : Read / Write / Construct
+ "priority" guint : Read / Write / Construct
+ "stp" gboolean : Read / Write / Construct
+
+Description
+Details
+
+
+NMSettingBridgeClass
+typedef struct {
+ NMSettingClass parent;
+
+ /* Padding for future expansion */
+ void (*_reserved1) (void);
+ void (*_reserved2) (void);
+ void (*_reserved3) (void);
+ void (*_reserved4) (void);
+} NMSettingBridgeClass;
+
+
+enum NMSettingBridgeError
+typedef enum {
+ NM_SETTING_BRIDGE_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
+ NM_SETTING_BRIDGE_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
+ NM_SETTING_BRIDGE_ERROR_MISSING_PROPERTY, /*< nick=MissingProperty >*/
+} NMSettingBridgeError;
+
+
+
+
+
+
+
+
+
+
+
+NM_SETTING_BRIDGE_INTERFACE_NAME
+#define NM_SETTING_BRIDGE_INTERFACE_NAME "interface-name"
+
+
+
+
+
+
+
+
+
+
+nm_setting_bridge_error_quark ()
+GQuark nm_setting_bridge_error_quark (
+void);
+
+
+
+the error quark used for NMSettingBridge errors.
+
+nm_setting_bridge_get_ageing_time ()
+guint32 nm_setting_bridge_get_ageing_time (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "ageing-time" property of the setting
+
+nm_setting_bridge_get_forward_delay ()
+guint16 nm_setting_bridge_get_forward_delay (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "forward-delay" property of the setting
+
+nm_setting_bridge_get_hello_time ()
+guint16 nm_setting_bridge_get_hello_time (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "hello-time" property of the setting
+
+nm_setting_bridge_get_interface_name ()
+const char * nm_setting_bridge_get_interface_name
+ (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "interface-name" property of the setting
+
+nm_setting_bridge_get_max_age ()
+guint16 nm_setting_bridge_get_max_age (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "max-age" property of the setting
+
+nm_setting_bridge_get_priority ()
+guint16 nm_setting_bridge_get_priority (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "priority" property of the setting
+
+nm_setting_bridge_get_stp ()
+gboolean nm_setting_bridge_get_stp (
+NMSettingBridge *setting);
+
+
+
+setting :the NMSettingBridge
+
+
+
+
+
+the "stp" property of the setting
+
+nm_setting_bridge_new ()
+NMSetting * nm_setting_bridge_new (
+void);
+
+
+
+the new empty NMSettingBridge object. [transfer full]
+
+Property Details
+The
+"ageing-time" property "ageing-time" guint : Read / Write / Construct
+
+The
+"forward-delay" property "forward-delay" guint : Read / Write / Construct
+
+The
+"hello-time" property "hello-time" guint : Read / Write / Construct
+
+The
+"interface-name" property "interface-name" gchar* : Read / Write
+
+The
+"max-age" property "max-age" guint : Read / Write / Construct
+
+The
+"priority" property "priority" guint : Read / Write / Construct
+
+The
+"stp" property "stp" gboolean : Read / Write / Construct
+
+
+
+
+
+![]()
+![]()
+![]()
libnm-util Reference Manual
+
+![]()
+
+Top
+ |
+ Description
+ |
+ Object Hierarchy
+ |
+ Properties
+
+
+
+NMSettingBridgePort
+
+ Synopsis
+
+#include <nm-setting-bridge-port.h>
+
+ NMSettingBridgePort;
+ NMSettingBridgePortClass;
+enum NMSettingBridgePortError;
+#define NM_SETTING_BRIDGE_PORT_ERROR
+#define NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE
+#define NM_SETTING_BRIDGE_PORT_PATH_COST
+#define NM_SETTING_BRIDGE_PORT_PRIORITY
+#define NM_SETTING_BRIDGE_PORT_SETTING_NAME
+GQuark nm_setting_bridge_port_error_quark (
+void);
+gboolean nm_setting_bridge_port_get_hairpin_mode
+ (NMSettingBridgePort *setting);
+guint16 nm_setting_bridge_port_get_path_cost
+ (NMSettingBridgePort *setting);
+guint16 nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting);
+NMSetting * nm_setting_bridge_port_new (void);
+Object Hierarchy
+
+ GObject
+ +----NMSetting
+ +----NMSettingBridgePort
+
+
+ GEnum
+ +----NMSettingBridgePortError
+
+Properties
+
+ "hairpin-mode" gboolean : Read / Write
+ "path-cost" guint : Read / Write / Construct
+ "priority" guint : Read / Write / Construct
+
+Description
+Details
+
+
+NMSettingBridgePortClass
+typedef struct {
+ NMSettingClass parent;
+
+ /* Padding for future expansion */
+ void (*_reserved1) (void);
+ void (*_reserved2) (void);
+ void (*_reserved3) (void);
+ void (*_reserved4) (void);
+} NMSettingBridgePortClass;
+
+
+enum NMSettingBridgePortError
+typedef enum {
+ NM_SETTING_BRIDGE_PORT_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
+ NM_SETTING_BRIDGE_PORT_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
+ NM_SETTING_BRIDGE_PORT_ERROR_MISSING_PROPERTY, /*< nick=MissingProperty >*/
+} NMSettingBridgePortError;
+
+
+
+NM_SETTING_BRIDGE_PORT_ERROR
+#define NM_SETTING_BRIDGE_PORT_ERROR nm_setting_bridge_port_error_quark ()
+
+
+NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE
+#define NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE "hairpin-mode"
+
+
+
+
+
+
+NM_SETTING_BRIDGE_PORT_SETTING_NAME
+#define NM_SETTING_BRIDGE_PORT_SETTING_NAME "bridge-port"
+
+
+nm_setting_bridge_port_error_quark ()
+GQuark nm_setting_bridge_port_error_quark (
+void);
+
+
+
+the error quark used for NMSettingBridgePort errors.
+
+nm_setting_bridge_port_get_hairpin_mode ()
+gboolean nm_setting_bridge_port_get_hairpin_mode
+ (
+NMSettingBridgePort *setting);
+
+
+
+setting :the NMSettingBridgePort
+
+
+
+
+
+the "hairpin-mode" property of the setting
+
+nm_setting_bridge_port_get_path_cost ()
+guint16 nm_setting_bridge_port_get_path_cost
+ (
+NMSettingBridgePort *setting);
+
+
+
+setting :the NMSettingBridgePort
+
+
+
+
+
+the "path-cost" property of the setting
+
+nm_setting_bridge_port_get_priority ()
+guint16 nm_setting_bridge_port_get_priority (
+NMSettingBridgePort *setting);
+
+
+
+setting :the NMSettingBridgePort
+
+
+
+
+
+the "priority" property of the setting
+
+nm_setting_bridge_port_new ()
+NMSetting * nm_setting_bridge_port_new (
+void);
+
+
+
+the new empty NMSettingBridgePort object. [transfer full]
+
+Property Details
+The
+"hairpin-mode" property "hairpin-mode" gboolean : Read / Write
+
+The
+"path-cost" property "path-cost" guint : Read / Write / Construct
+
+The
+"priority" property "priority" guint : Read / Write / Construct
+const char *ptype,
const char *pitem,
const char *detail);
+gboolean nm_setting_connection_add_secondary (NMSettingConnection *setting,
+ const char *sec_uuid);
GQuark nm_setting_connection_error_quark (void);
gboolean nm_setting_connection_get_autoconnect
(NMSettingConnection *setting);
@@ -73,6 +76,8 @@ const char * char * nm_setting_connection_get_master (NMSettingConnection *setting);
guint32 nm_setting_connection_get_num_permissions
(NMSettingConnection *setting);
+guint32 nm_setting_connection_get_num_secondaries
+ (NMSettingConnection *setting);
gboolean nm_setting_connection_get_permission
(NMSettingConnection *setting,
guint32 idx,
@@ -80,6 +85,8 @@ const char * const char **out_pitem,
const char **out_detail);
gboolean nm_setting_connection_get_read_only (NMSettingConnection *setting);
+const char * nm_setting_connection_get_secondary (NMSettingConnection *setting,
+ guint32 idx);
const char * nm_setting_connection_get_slave_type
(NMSettingConnection *setting);
guint64 nm_setting_connection_get_timestamp (NMSettingConnection *setting);
@@ -94,6 +101,9 @@ const char * void nm_setting_connection_remove_permission
(NMSettingConnection *setting,
guint32 idx);
+void nm_setting_connection_remove_secondary
+ (NMSettingConnection *setting,
+ guint32 idx);
+
+
nm_setting_connection_add_secondary ()
+gboolean nm_setting_connection_add_secondary (
+NMSettingConnection *setting,
+ const char *sec_uuid);
+
+
+
+setting :the NMSettingConnection
+
+
+
+
+sec_uuid :the secondary connection UUID to add
+
+
+
+
+
+
+TRUE if the secondary connection UUID was added; FALSE if the UUID
+was already present
+nm_setting_connection_error_quark ()
GQuark nm_setting_connection_error_quark (
void);
nm_setting_connection_get_num_secondaries ()
+guint32 nm_setting_connection_get_num_secondaries
+ (
+NMSettingConnection *setting);
+
+
+
+setting :the NMSettingConnection
+
+
+
+
+
+the number of configured secondary connection UUIDs
+
+nm_setting_connection_get_permission ()
gboolean nm_setting_connection_get_permission
(
NMSettingConnection *setting,
@@ -550,6 +618,31 @@ Returns the
+nm_setting_connection_get_secondary ()
+const char * nm_setting_connection_get_secondary (
+NMSettingConnection *setting,
+ guint32 idx);
+
+
+
+setting :the NMSettingConnection
+
+
+
+
+idx :the zero-based index of the secondary connection UUID entry
+
+
+
+
+the secondary connection UUID at index
+idx
+
+nm_setting_connection_get_slave_type ()
const char * nm_setting_connection_get_slave_type
(
@@ -732,6 +825,30 @@ Removes the permission at index NMSettingConnection *setting);idx from
+nm_setting_connection_remove_secondary ()
+void nm_setting_connection_remove_secondary
+ (
+NMSettingConnection *setting,
+ guint32 idx);idx.
+
+
+
+
+setting :the NMSettingConnection
+
+
+
+
+
+idx :index number of the secondary connection UUID
+
The
+"secondaries" property "secondaries" GSList_gchararray_* : Read / Write
+
+The
"slave-type" property "slave-type" gchar* : Read / Write
+
+
+ 4G/LTE-type technologies are
+preferred but 3G/2/-type technologies may be used as a fallback
+
+
+
+ only 4G/LTE type
+technologies may be used
+
+
Allowed values: [G_MAXULONG,3]
+Allowed values: [G_MAXULONG,5]
Default value: -1
"dhcp-client-id" gchar* : Read / Write
A string sent to the DHCP server to identify the local machine which the -DHCP server may use to cusomize the DHCP lease and options. +DHCP server may use to customize the DHCP lease and options.
Default value: NULL
@@ -1710,7 +1710,7 @@ the current persistent hostname of the computer is sent. List of DNS servers (network byte order). For the 'auto' method, these DNS servers are appended to those (if any) returned by automatic configuration. DNS servers cannot be used with the 'shared', 'link-local', -or 'disabled' methods as there is no usptream network. In all other +or 'disabled' methods as there is no upstream network. In all other methods, these DNS servers are used as the only DNS servers for this connection. diff --git a/docs/libnm-util/html/NMSettingIP6Config.html b/docs/libnm-util/html/NMSettingIP6Config.html index b053bd27..b467336f 100644 --- a/docs/libnm-util/html/NMSettingIP6Config.html +++ b/docs/libnm-util/html/NMSettingIP6Config.html @@ -51,6 +51,7 @@ typedef NM enum NMSettingIP6ConfigError; enum NMSettingIP6ConfigPrivacy; #define NM_SETTING_IP6_CONFIG_ADDRESSES +#define NM_SETTING_IP6_CONFIG_DHCP_HOSTNAME #define NM_SETTING_IP6_CONFIG_DNS #define NM_SETTING_IP6_CONFIG_DNS_SEARCH #define NM_SETTING_IP6_CONFIG_ERROR @@ -119,6 +120,8 @@ const struct in6_addr * GQuark nm_setting_ip6_config_error_quark (void);
NMIP6Address * nm_setting_ip6_config_get_address (NMSettingIP6Config *setting,
guint32 i);
+const char * nm_setting_ip6_config_get_dhcp_hostname
+ (NMSettingIP6Config *setting);
const struct in6_addr * nm_setting_ip6_config_get_dns (NMSettingIP6Config *setting,
guint32 i);
const char * nm_setting_ip6_config_get_dns_search
@@ -184,6 +187,7 @@ const char * "addresses" GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar___* : Read / Write + "dhcp-hostname" gchar* : Read / Write "dns" GPtrArray_GArray_guchar__* : Read / Write "dns-search" GSList_gchararray_* : Read / Write "ignore-auto-dns" gboolean : Read / Write / Construct @@ -332,6 +336,14 @@ are enabled and temporary addresses are preferred over public addresses
++NM_SETTING_IP6_CONFIG_DHCP_HOSTNAME
+#define NM_SETTING_IP6_CONFIG_DHCP_HOSTNAME "dhcp-hostname" +++
+
+NM_SETTING_IP6_CONFIG_DNS
#define NM_SETTING_IP6_CONFIG_DNS "dns"@@ -1227,6 +1239,30 @@ Registers an error quark for
++nm_setting_ip6_config_get_dhcp_hostname ()
+const char * nm_setting_ip6_config_get_dhcp_hostname + (+NMSettingIP6Config *setting);+Returns the value contained in the "dhcp-hostname" +property. +
+++
+ + + ++
setting:the NMSettingIP6Config + ++ + ++ Returns :
the configured hostname to send to the DHCP server +
+nm_setting_ip6_config_get_dns ()
const struct in6_addr * nm_setting_ip6_config_get_dns (@@ -1657,6 +1693,15 @@ assigned an address with these methods.NMSettingIP6Config *setting,guint32 i);
++The
+"dhcp-hostname"property"dhcp-hostname" gchar* : Read / Write++The specified name will be sent to the DHCP server when acquiring a lease. +
+Default value: NULL
+
+The
"dns"property"dns" GPtrArray_GArray_guchar__* : Read / Writediff --git a/docs/libnm-util/html/NMSettingInfiniband.html b/docs/libnm-util/html/NMSettingInfiniband.html index a208bff1..03755208 100644 --- a/docs/libnm-util/html/NMSettingInfiniband.html +++ b/docs/libnm-util/html/NMSettingInfiniband.html @@ -6,7 +6,7 @@ - + @@ -14,7 +14,7 @@
- + libnm-util Reference Manual diff --git a/docs/libnm-util/html/NMSettingVlan.html b/docs/libnm-util/html/NMSettingVlan.html index 013c31f1..b1edb3ad 100644 --- a/docs/libnm-util/html/NMSettingVlan.html +++ b/docs/libnm-util/html/NMSettingVlan.html @@ -152,7 +152,8 @@ necessary for connection to VLAN interfaces.typedef enum { NM_SETTING_VLAN_ERROR_UNKNOWN = 0, /*< nick=Unknown >*/ NM_SETTING_VLAN_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/ - NM_SETTING_VLAN_ERROR_MISSING_PROPERTY /*< nick=MissingProperty >*/ + NM_SETTING_VLAN_ERROR_MISSING_PROPERTY, /*< nick=MissingProperty >*/ + NM_SETTING_VLAN_ERROR_INVALID_PARENT /*< nick=InvalidParent >*/ } NMSettingVlanError;@@ -171,7 +172,13 @@ necessary for connection to VLAN interfaces.
+ the property was missing and is -required + required + ++ diff --git a/docs/libnm-util/html/NMSettingWireless.html b/docs/libnm-util/html/NMSettingWireless.html index 85e17c1d..e3d964a4 100644 --- a/docs/libnm-util/html/NMSettingWireless.html +++ b/docs/libnm-util/html/NMSettingWireless.html @@ -57,6 +57,7 @@ enum NM_SETTING_WIRELESS_MAC_ADDRESS_BLACKLIST #define NM_SETTING_WIRELESS_MODE #define NM_SETTING_WIRELESS_MODE_ADHOC +#define NM_SETTING_WIRELESS_MODE_AP #define NM_SETTING_WIRELESS_MODE_INFRA #define NM_SETTING_WIRELESS_MTU #define NM_SETTING_WIRELESS_RATE @@ -287,6 +288,16 @@ Indicates Ad-Hoc mode where no access point is expected to be present.+ the VLAN parent was specified + inconsistently
++NM_SETTING_WIRELESS_MODE_AP
+#define NM_SETTING_WIRELESS_MODE_AP "ap" +++Indicates AP/master mode where the wireless device is started as an access +point/hotspot. +
+
+NM_SETTING_WIRELESS_MODE_INFRA
#define NM_SETTING_WIRELESS_MODE_INFRA "infrastructure"@@ -357,9 +368,10 @@ for this connection.gboolean nm_setting_wireless_add_seen_bssid (NMSettingWireless *setting,const char *bssid);-Adds a new WiFi AP's BSSID to the previously seen BSSID list of the setting. -NetworkManager tracks previously seen BSSIDs internally so this function -no longer has much use. +Adds a new Wi-Fi AP's BSSID to the previously seen BSSID list of the setting. +NetworkManager now tracks previously seen BSSIDs internally so this function +no longer has much use. Actually, changes you make using this function will +not be preserved.
@@ -853,7 +865,7 @@ MAC address is in the standard hex-digits-and-colons notation. The
"mode"property"mode" gchar* : Read / Write-WiFi network mode; one of 'infrastructure' or 'adhoc'. If blank, +WiFi network mode; one of 'infrastructure', 'adhoc' or 'ap'. If blank, infrastructure is assumed.
Default value: NULL
@@ -897,9 +909,10 @@ the connection contains a valid 802-11-wireless-security setting."seen-bssids" GSList_gchararray_* : Read / WriteA 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 WiFI network. -NetworkManager internally tracks previously seen BSSIDs so this property -is no longer of much use. +'00:11:22:33:44:55') that have been detected as part of the Wi-FI network. +NetworkManager internally tracks previously seen BSSIDs. The property is only +meant for reading and reflects the BBSID list of NetworkManager. The changes you +make to this property will not be preserved.
diff --git a/docs/libnm-util/html/api-index-full.html b/docs/libnm-util/html/api-index-full.html index 2e5d124d..807aea99 100644 --- a/docs/libnm-util/html/api-index-full.html +++ b/docs/libnm-util/html/api-index-full.html @@ -135,6 +135,14 @@+nm_connection_get_setting_bridge, function in NMConnection + + ++nm_connection_get_setting_bridge_port, function in NMConnection + + +nm_connection_get_setting_by_name, function in NMConnection @@ -701,6 +709,70 @@+NMSettingBridge, struct in NMSettingBridge + + ++NMSettingBridge:ageing-time, object property in NMSettingBridge + + ++NMSettingBridge:forward-delay, object property in NMSettingBridge + + ++NMSettingBridge:hello-time, object property in NMSettingBridge + + ++NMSettingBridge:interface-name, object property in NMSettingBridge + + ++NMSettingBridge:max-age, object property in NMSettingBridge + + ++NMSettingBridge:priority, object property in NMSettingBridge + + ++NMSettingBridge:stp, object property in NMSettingBridge + + ++NMSettingBridgeClass, struct in NMSettingBridge + + ++NMSettingBridgeError, enum in NMSettingBridge + + ++NMSettingBridgePort, struct in NMSettingBridgePort + + ++NMSettingBridgePort:hairpin-mode, object property in NMSettingBridgePort + + ++NMSettingBridgePort:path-cost, object property in NMSettingBridgePort + + ++NMSettingBridgePort:priority, object property in NMSettingBridgePort + + ++NMSettingBridgePortClass, struct in NMSettingBridgePort + + ++NMSettingBridgePortError, enum in NMSettingBridgePort + + +NMSettingCdma, struct in NMSettingCdma @@ -765,6 +837,10 @@+NMSettingConnection:secondaries, object property in NMSettingConnection + + +NMSettingConnection:slave-type, object property in NMSettingConnection @@ -961,6 +1037,10 @@+NMSettingIP6Config:dhcp-hostname, object property in NMSettingIP6Config + + +NMSettingIP6Config:dns, object property in NMSettingIP6Config @@ -2085,6 +2165,118 @@+NM_SETTING_BRIDGE_AGEING_TIME, macro in NMSettingBridge + + ++NM_SETTING_BRIDGE_ERROR, macro in NMSettingBridge + + ++nm_setting_bridge_error_quark, function in NMSettingBridge + + ++NM_SETTING_BRIDGE_FORWARD_DELAY, macro in NMSettingBridge + + ++nm_setting_bridge_get_ageing_time, function in NMSettingBridge + + ++nm_setting_bridge_get_forward_delay, function in NMSettingBridge + + ++nm_setting_bridge_get_hello_time, function in NMSettingBridge + + ++nm_setting_bridge_get_interface_name, function in NMSettingBridge + + ++nm_setting_bridge_get_max_age, function in NMSettingBridge + + ++nm_setting_bridge_get_priority, function in NMSettingBridge + + ++nm_setting_bridge_get_stp, function in NMSettingBridge + + ++NM_SETTING_BRIDGE_HELLO_TIME, macro in NMSettingBridge + + ++NM_SETTING_BRIDGE_INTERFACE_NAME, macro in NMSettingBridge + + ++NM_SETTING_BRIDGE_MAX_AGE, macro in NMSettingBridge + + ++nm_setting_bridge_new, function in NMSettingBridge + + ++NM_SETTING_BRIDGE_PORT_ERROR, macro in NMSettingBridgePort + + ++nm_setting_bridge_port_error_quark, function in NMSettingBridgePort + + ++nm_setting_bridge_port_get_hairpin_mode, function in NMSettingBridgePort + + ++nm_setting_bridge_port_get_path_cost, function in NMSettingBridgePort + + ++nm_setting_bridge_port_get_priority, function in NMSettingBridgePort + + ++NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE, macro in NMSettingBridgePort + + ++nm_setting_bridge_port_new, function in NMSettingBridgePort + + ++NM_SETTING_BRIDGE_PORT_PATH_COST, macro in NMSettingBridgePort + + ++NM_SETTING_BRIDGE_PORT_PRIORITY, macro in NMSettingBridgePort + + ++NM_SETTING_BRIDGE_PORT_SETTING_NAME, macro in NMSettingBridgePort + + ++NM_SETTING_BRIDGE_PRIORITY, macro in NMSettingBridge + + ++NM_SETTING_BRIDGE_SETTING_NAME, macro in NMSettingBridge + + ++NM_SETTING_BRIDGE_STP, macro in NMSettingBridge + + +NM_SETTING_CDMA_ERROR, macro in NMSettingCdma @@ -2149,6 +2341,10 @@+nm_setting_connection_add_secondary, function in NMSettingConnection + + +NM_SETTING_CONNECTION_AUTOCONNECT, macro in NMSettingConnection @@ -2181,6 +2377,10 @@+nm_setting_connection_get_num_secondaries, function in NMSettingConnection + + +nm_setting_connection_get_permission, function in NMSettingConnection @@ -2189,6 +2389,10 @@+nm_setting_connection_get_secondary, function in NMSettingConnection + + +nm_setting_connection_get_slave_type, function in NMSettingConnection @@ -2237,6 +2441,14 @@+nm_setting_connection_remove_secondary, function in NMSettingConnection + + ++NM_SETTING_CONNECTION_SECONDARIES, macro in NMSettingConnection + + +NM_SETTING_CONNECTION_SETTING_NAME, macro in NMSettingConnection @@ -2669,6 +2881,10 @@+NM_SETTING_IP6_CONFIG_DHCP_HOSTNAME, macro in NMSettingIP6Config + + +NM_SETTING_IP6_CONFIG_DNS, macro in NMSettingIP6Config @@ -2689,6 +2905,10 @@+nm_setting_ip6_config_get_dhcp_hostname, function in NMSettingIP6Config + + +nm_setting_ip6_config_get_dns, function in NMSettingIP6Config @@ -3093,6 +3313,10 @@+NM_SETTING_REGISTER_TYPE, macro in nm-setting-private + + +NM_SETTING_SECRET_FLAGS_ALL, macro in nm-setting-private @@ -3597,6 +3821,10 @@ NM_SETTING_SECRET_FLAGS_ALL, macro in nm-setting-private+NM_SETTING_WIRELESS_MODE_AP, macro in NMSettingWireless + + +NM_SETTING_WIRELESS_MODE_INFRA, macro in NMSettingWireless @@ -3830,6 +4058,10 @@ NM_SETTING_SECRET_FLAGS_ALL, macro in nm-setting-private+nm_utils_ap_mode_security_valid, function in nm-utils + + +nm_utils_deinit, function in nm-utils @@ -3870,6 +4102,10 @@ NM_SETTING_SECRET_FLAGS_ALL, macro in nm-setting-private+nm_utils_iface_valid_name, function in nm-utils + + +nm_utils_init, function in nm-utils @@ -3930,6 +4166,10 @@ NM_SETTING_SECRET_FLAGS_ALL, macro in nm-setting-private+nm_utils_is_uuid, function in nm-utils + + +nm_utils_rsa_key_encrypt, function in nm-utils diff --git a/docs/libnm-util/html/ch01.html b/docs/libnm-util/html/ch01.html index c3f6cd8e..cba034e1 100644 --- a/docs/libnm-util/html/ch01.html +++ b/docs/libnm-util/html/ch01.html @@ -21,7 +21,7 @@
- NMConnection — Describes a connection to specific network or provider @@ -62,6 +62,12 @@ serial communications NMSettingBond — Describes connection properties for bonds
- +NMSettingBridge — Describes connection properties for bridges +
+- +NMSettingBridgePort — Describes connection properties for bridge ports +
+- NMSettingInfiniband — Describes connection properties for IP-over-InfiniBand networks
- diff --git a/docs/libnm-util/html/index.html b/docs/libnm-util/html/index.html index 9273a726..1da1ad01 100644 --- a/docs/libnm-util/html/index.html +++ b/docs/libnm-util/html/index.html @@ -15,14 +15,14 @@
libnm-util Reference Manual
- for libnm-util 0.9.6.4 + for libnm-util 0.9.7.995 The latest version of this documentation can be found on-line at http://projects.gnome.org/NetworkManager/developers/libnm-util/09/.
Copyright © 2012 The NetworkManager Authors
-+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later @@ -88,6 +88,12 @@ serial communications NMSettingBond — Describes connection properties for bonds
- +NMSettingBridge — Describes connection properties for bridges +
+- +NMSettingBridgePort — Describes connection properties for bridge ports +
+- NMSettingInfiniband — Describes connection properties for IP-over-InfiniBand networks
- diff --git a/docs/libnm-util/html/index.sgml b/docs/libnm-util/html/index.sgml index 2fa04eaf..330e08a9 100644 --- a/docs/libnm-util/html/index.sgml +++ b/docs/libnm-util/html/index.sgml @@ -33,6 +33,8 @@
+ + @@ -155,6 +157,7 @@ + @@ -162,14 +165,17 @@ + + + @@ -178,12 +184,14 @@ + + @@ -269,6 +277,7 @@ + @@ -530,6 +539,8 @@ + + @@ -630,6 +641,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -672,6 +749,7 @@ + @@ -1061,6 +1139,7 @@ + @@ -1112,6 +1191,7 @@ + @@ -1132,6 +1212,7 @@ + @@ -1301,6 +1382,7 @@ + @@ -1310,6 +1392,7 @@ + @@ -1325,6 +1408,7 @@ + diff --git a/docs/libnm-util/html/libnm-util-nm-utils.html b/docs/libnm-util/html/libnm-util-nm-utils.html index 694287db..eaa3def1 100644 --- a/docs/libnm-util/html/libnm-util-nm-utils.html +++ b/docs/libnm-util/html/libnm-util-nm-utils.html @@ -44,6 +44,8 @@ enum NMUtilsSecurityType; #define NM_UTILS_HWADDR_LEN_MAX +gboolean nm_utils_ap_mode_security_valid ( NMUtilsSecurityType type, +NMDeviceWifiCapabilities wifi_caps); void nm_utils_deinit (void); const char * nm_utils_escape_ssid (const guint8 *ssid,guint32 len); @@ -58,6 +60,7 @@ const char * char * nm_utils_hwaddr_ntoa (gconstpointer addr,int type); int nm_utils_hwaddr_type (int len); +gboolean nm_utils_iface_valid_name (const char *name); gboolean nm_utils_init (GError **error); GSList * nm_utils_ip4_addresses_from_gvalue (const GValue *value); void nm_utils_ip4_addresses_to_gvalue (GSList *list, @@ -79,6 +82,7 @@ const char *GValue *value); gboolean nm_utils_is_empty_ssid (const guint8 *ssid,int len); +gboolean nm_utils_is_uuid (const char *str); GByteArray * nm_utils_rsa_key_encrypt (const GByteArray *data,const char *in_password,char **out_password, @@ -209,6 +213,39 @@ as the size of the buffer passed to +nm_utils_ap_mode_security_valid ()
+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 +against, determines whether the combination of device capabilities and +desired security type are valid for AP/Hotspot connections. +
+++
+ + + ++
type:the security type to check device capabilties against, +e.g. NMU_SEC_STATIC_WEP + ++ ++
wifi_caps:bitfield of the capabilities of the specific WiFi device, e.g. +NM_WIFI_DEVICE_CAP_CIPHER_WEP40 + ++ + ++ Returns :
TRUE if the device capabilities are compatible with the desired + +type, FALSE if they are not.
+nm_utils_deinit ()
void nm_utils_deinit (void);@@ -433,6 +470,29 @@ the address length was not recognized
++nm_utils_iface_valid_name ()
+gboolean nm_utils_iface_valid_name (+const char *name);+This function is a 1:1 copy of the kernel's interface validation +function in net/core/dev.c. +
+ +
+nm_utils_init ()
gboolean nm_utils_init (GError **error);@@ -820,6 +880,28 @@ number of known SSID-cloaking methods.
+
+nm_utils_rsa_key_encrypt ()
GByteArray * nm_utils_rsa_key_encrypt (const GByteArray *data,const char *in_password, @@ -912,6 +994,10 @@ Given a set of device capabilities, and a desired security type to check against, determines whether the combination of device, desired security type, and AP capabilities intersect. ++NOTE: this function cannot handle checking security for AP/Hotspot mode; +use
nm_utils_ap_mode_security_valid()instead. +
diff --git a/docs/libnm-util/html/libnm-util.devhelp2 b/docs/libnm-util/html/libnm-util.devhelp2 index 5b50abff..468cd5ea 100644 --- a/docs/libnm-util/html/libnm-util.devhelp2 +++ b/docs/libnm-util/html/libnm-util.devhelp2 @@ -15,6 +15,8 @@ + + @@ -54,6 +56,8 @@ + + @@ -130,6 +134,7 @@ + @@ -137,14 +142,17 @@ + + + @@ -153,11 +161,13 @@ + + @@ -220,6 +230,7 @@ + @@ -466,6 +477,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -794,6 +849,7 @@ + @@ -845,6 +901,7 @@ + @@ -864,6 +921,7 @@ + @@ -983,6 +1041,7 @@ + @@ -992,6 +1051,7 @@ + @@ -1007,6 +1067,7 @@ + @@ -1102,6 +1163,8 @@ + + @@ -1110,12 +1173,19 @@ + + + + + + + diff --git a/docs/libnm-util/html/object-tree.html b/docs/libnm-util/html/object-tree.html index ea1caff3..e6ea328c 100644 --- a/docs/libnm-util/html/object-tree.html +++ b/docs/libnm-util/html/object-tree.html @@ -24,28 +24,30 @@ Object Hierarchy GObject - NMConnection NMSetting NMSetting8021x NMSettingAdsl NMSettingBluetooth NMSettingBond - NMSettingCdma + NMSettingBridge + NMSettingBridgePort NMSettingConnection - NMSettingGsm NMSettingInfiniband NMSettingIP4Config + NMSettingVlan NMSettingIP6Config - NMSettingOlpcMesh NMSettingPPP NMSettingPPPOE NMSettingSerial - NMSettingVlan - NMSettingVPN + NMSettingGsm + NMSettingCdma + NMSettingOlpcMesh NMSettingWimax NMSettingWired NMSettingWireless NMSettingWirelessSecurity + NMSettingVPN + NMConnection GEnum NMConnectionError NMSetting8021xCKFormat @@ -54,6 +56,8 @@ NMSettingAdslError NMSettingBluetoothError NMSettingBondError + NMSettingBridgeError + NMSettingBridgePortError NMSettingCdmaError NMSettingCompareFlags NMSettingConnectionError -- cgit 1.3.0-6-gf8a5