From 28028b26b3371756811e95d894f709f4b1207c00 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 18 Dec 2019 18:29:24 +0100 Subject: New upstream version 1.22.0 --- docs/libnm/html/NMSettingIPConfig.html | 461 ++++++++++++++++++++++++++++----- 1 file changed, 394 insertions(+), 67 deletions(-) (limited to 'docs/libnm/html/NMSettingIPConfig.html') diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index 31ce0105..c7f19f28 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -8,7 +8,7 @@ - + @@ -30,7 +30,7 @@

NMSettingIPConfig

NMSettingIPConfig — Abstract base class for IPv4 and IPv6 -addressing, routing, and name service properties

+ addressing, routing, and name service properties

@@ -84,6 +84,14 @@ addressing, routing, and name service properties

+int + + +nm_ip_address_cmp_full () + + + + NMIPAddress * @@ -1108,6 +1116,21 @@ addressing, routing, and name service properties

nm_setting_ip_config_get_dhcp_timeout () + +const char * + + +nm_setting_ip_config_get_dhcp_iaid () + + + + +NMDhcpHostnameFlags + + +nm_setting_ip_config_get_dhcp_hostname_flags () + + @@ -1138,6 +1161,17 @@ addressing, routing, and name service properties

Read / Write +guint +dhcp-hostname-flags +Read / Write + + + +gchar * +dhcp-iaid +Read / Write + + gboolean dhcp-send-hostname Read / Write / Construct @@ -1231,12 +1265,12 @@ addressing, routing, and name service properties

NM_IP_ADDRESS_ATTRIBUTE_LABEL -#define -NM_IP_ROUTE_ATTRIBUTE_TABLE +enum +NMIPAddressCmpFlags #define -NM_IP_ROUTE_ATTRIBUTE_SRC +NM_IP_ROUTE_ATTRIBUTE_CWND #define @@ -1244,27 +1278,31 @@ addressing, routing, and name service properties

#define -NM_IP_ROUTE_ATTRIBUTE_TOS +NM_IP_ROUTE_ATTRIBUTE_INITCWND #define -NM_IP_ROUTE_ATTRIBUTE_ONLINK +NM_IP_ROUTE_ATTRIBUTE_INITRWND #define -NM_IP_ROUTE_ATTRIBUTE_WINDOW +NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND #define -NM_IP_ROUTE_ATTRIBUTE_CWND +NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND #define -NM_IP_ROUTE_ATTRIBUTE_INITCWND +NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND #define -NM_IP_ROUTE_ATTRIBUTE_INITRWND +NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU + + +#define +NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW #define @@ -1272,23 +1310,27 @@ addressing, routing, and name service properties

#define -NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW +NM_IP_ROUTE_ATTRIBUTE_ONLINK #define -NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND +NM_IP_ROUTE_ATTRIBUTE_SCOPE #define -NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND +NM_IP_ROUTE_ATTRIBUTE_SRC #define -NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND +NM_IP_ROUTE_ATTRIBUTE_TABLE #define -NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU +NM_IP_ROUTE_ATTRIBUTE_TOS + + +#define +NM_IP_ROUTE_ATTRIBUTE_WINDOW enum @@ -1356,6 +1398,10 @@ addressing, routing, and name service properties

#define +NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS + + +#define NM_SETTING_IP_CONFIG_NEVER_DEFAULT @@ -1372,6 +1418,10 @@ addressing, routing, and name service properties

#define +NM_SETTING_IP_CONFIG_DHCP_IAID + + +#define NM_SETTING_IP_CONFIG_ROUTING_RULES @@ -1438,6 +1488,10 @@ addressing, routing, and name service properties

  NMSettingIPConfig + +enum +NMDhcpHostnameFlags + @@ -1448,6 +1502,8 @@ addressing, routing, and name service properties

├── NMIPRoute ╰── NMIPRoutingRule GFlags + ├── NMDhcpHostnameFlags + ├── NMIPAddressCmpFlags ╰── NMIPRoutingRuleAsStringFlags GObject ╰── NMSetting @@ -1650,6 +1706,52 @@ to.


+

nm_ip_address_cmp_full ()

+
int
+nm_ip_address_cmp_full (const NMIPAddress *a,
+                        const NMIPAddress *b,
+                        NMIPAddressCmpFlags cmp_flags);
+

Note that with cmp_flags + NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS, there +is no total order for comparing GVariant. That means, if the two addresses +only differ by their attributes, the sort order is undefined and the return +value only indicates equality.

+
+

Parameters

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

a

the NMIPAddress

 

b

the NMIPAddress to compare address +to.

 

cmp_flags

the NMIPAddressCmpFlags that indicate what to compare.

 
+
+
+

Returns

+

0 if the two objects have the same values (according to their flags) +or a integer indicating the compare order.

+
+
+
+

nm_ip_address_dup ()

NMIPAddress *
 nm_ip_address_dup (NMIPAddress *address);
@@ -5727,6 +5829,63 @@ the particular kind of device.

Since: 1.2

+
+
+

nm_setting_ip_config_get_dhcp_iaid ()

+
const char *
+nm_setting_ip_config_get_dhcp_iaid (NMSettingIPConfig *setting);
+

Returns the value contained in the “dhcp-iaid” +property.

+
+

Parameters

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

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the configured DHCP IAID (Identity Association Identifier)

+
+

Since: 1.22

+
+
+
+

nm_setting_ip_config_get_dhcp_hostname_flags ()

+
NMDhcpHostnameFlags
+nm_setting_ip_config_get_dhcp_hostname_flags
+                               (NMSettingIPConfig *setting);
+

Returns the value contained in the “dhcp-hostname-flags” +property.

+
+

Parameters

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

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

flags for the DHCP hostname and FQDN

+
+

Since: 1.22

+

Types and Values

@@ -5737,14 +5896,44 @@ the particular kind of device.


-

NM_IP_ROUTE_ATTRIBUTE_TABLE

-
#define NM_IP_ROUTE_ATTRIBUTE_TABLE          "table"
-
+

enum NMIPAddressCmpFlags

+

Compare flags for nm_ip_address_cmp_full().

+
+

Members

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

NM_IP_ADDRESS_CMP_FLAGS_NONE

+

no flags.

+
 

NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS

+

when comparing two addresses, + also consider their attributes. Warning: note that attributes are GVariants + and they don't have a total order. In other words, if the address differs only + by their attributes, the returned compare order is not total. In that case, + the return value merely indicates equality (zero) or inequality.

+
 
+
+

Since: 1.22


-

NM_IP_ROUTE_ATTRIBUTE_SRC

-
#define NM_IP_ROUTE_ATTRIBUTE_SRC            "src"
+

NM_IP_ROUTE_ATTRIBUTE_CWND

+
#define NM_IP_ROUTE_ATTRIBUTE_CWND           "cwnd"
 

@@ -5755,38 +5944,44 @@ the particular kind of device.


-

NM_IP_ROUTE_ATTRIBUTE_TOS

-
#define NM_IP_ROUTE_ATTRIBUTE_TOS            "tos"
+

NM_IP_ROUTE_ATTRIBUTE_INITCWND

+
#define NM_IP_ROUTE_ATTRIBUTE_INITCWND       "initcwnd"
 

-

NM_IP_ROUTE_ATTRIBUTE_ONLINK

-
#define NM_IP_ROUTE_ATTRIBUTE_ONLINK         "onlink"
+

NM_IP_ROUTE_ATTRIBUTE_INITRWND

+
#define NM_IP_ROUTE_ATTRIBUTE_INITRWND       "initrwnd"
 

-

NM_IP_ROUTE_ATTRIBUTE_WINDOW

-
#define NM_IP_ROUTE_ATTRIBUTE_WINDOW         "window"
+

NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND

+
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND      "lock-cwnd"
 

-

NM_IP_ROUTE_ATTRIBUTE_CWND

-
#define NM_IP_ROUTE_ATTRIBUTE_CWND           "cwnd"
+

NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND

+
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND  "lock-initcwnd"
 

-

NM_IP_ROUTE_ATTRIBUTE_INITCWND

-
#define NM_IP_ROUTE_ATTRIBUTE_INITCWND       "initcwnd"
+

NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND

+
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND  "lock-initrwnd"
 

-

NM_IP_ROUTE_ATTRIBUTE_INITRWND

-
#define NM_IP_ROUTE_ATTRIBUTE_INITRWND       "initrwnd"
+

NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU

+
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU       "lock-mtu"
+
+
+
+
+

NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW

+
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW    "lock-window"
 

@@ -5797,32 +5992,38 @@ the particular kind of device.


-

NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW

-
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW    "lock-window"
+

NM_IP_ROUTE_ATTRIBUTE_ONLINK

+
#define NM_IP_ROUTE_ATTRIBUTE_ONLINK         "onlink"
 

-

NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND

-
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND      "lock-cwnd"
+

NM_IP_ROUTE_ATTRIBUTE_SCOPE

+
#define NM_IP_ROUTE_ATTRIBUTE_SCOPE          "scope"
 

-

NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND

-
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND  "lock-initcwnd"
+

NM_IP_ROUTE_ATTRIBUTE_SRC

+
#define NM_IP_ROUTE_ATTRIBUTE_SRC            "src"
 

-

NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND

-
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND  "lock-initrwnd"
+

NM_IP_ROUTE_ATTRIBUTE_TABLE

+
#define NM_IP_ROUTE_ATTRIBUTE_TABLE          "table"
 

-

NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU

-
#define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU       "lock-mtu"
+

NM_IP_ROUTE_ATTRIBUTE_TOS

+
#define NM_IP_ROUTE_ATTRIBUTE_TOS            "tos"
+
+
+
+
+

NM_IP_ROUTE_ATTRIBUTE_WINDOW

+
#define NM_IP_ROUTE_ATTRIBUTE_WINDOW         "window"
 

@@ -5848,7 +6049,7 @@ the particular kind of device.

NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET

whether to allow parsing -IPv4 addresses.

+ IPv4 addresses.

  @@ -5856,11 +6057,11 @@ IPv4 addresses.

NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6

whether to allow parsing -IPv6 addresses. If both NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET + IPv6 addresses. If both NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET and -NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6 + NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6 are unset, it's the same -as setting them both.

+ as setting them both.

  @@ -5868,7 +6069,7 @@ as setting them both.

NM_IP_ROUTING_RULE_AS_STRING_FLAGS_VALIDATE

if set, ensure that the -rule verfies or fail.

+ rule verfies or fail.

  @@ -5886,109 +6087,121 @@ rule verfies or fail.


NM_SETTING_IP_CONFIG_METHOD

-
#define NM_SETTING_IP_CONFIG_METHOD             "method"
+
#define NM_SETTING_IP_CONFIG_METHOD              "method"
 

NM_SETTING_IP_CONFIG_DNS

-
#define NM_SETTING_IP_CONFIG_DNS                "dns"
+
#define NM_SETTING_IP_CONFIG_DNS                 "dns"
 

NM_SETTING_IP_CONFIG_DNS_SEARCH

-
#define NM_SETTING_IP_CONFIG_DNS_SEARCH         "dns-search"
+
#define NM_SETTING_IP_CONFIG_DNS_SEARCH          "dns-search"
 

NM_SETTING_IP_CONFIG_DNS_OPTIONS

-
#define NM_SETTING_IP_CONFIG_DNS_OPTIONS        "dns-options"
+
#define NM_SETTING_IP_CONFIG_DNS_OPTIONS         "dns-options"
 

NM_SETTING_IP_CONFIG_DNS_PRIORITY

-
#define NM_SETTING_IP_CONFIG_DNS_PRIORITY       "dns-priority"
+
#define NM_SETTING_IP_CONFIG_DNS_PRIORITY        "dns-priority"
 

NM_SETTING_IP_CONFIG_ADDRESSES

-
#define NM_SETTING_IP_CONFIG_ADDRESSES          "addresses"
+
#define NM_SETTING_IP_CONFIG_ADDRESSES           "addresses"
 

NM_SETTING_IP_CONFIG_GATEWAY

-
#define NM_SETTING_IP_CONFIG_GATEWAY            "gateway"
+
#define NM_SETTING_IP_CONFIG_GATEWAY             "gateway"
 

NM_SETTING_IP_CONFIG_ROUTES

-
#define NM_SETTING_IP_CONFIG_ROUTES             "routes"
+
#define NM_SETTING_IP_CONFIG_ROUTES              "routes"
 

NM_SETTING_IP_CONFIG_ROUTE_METRIC

-
#define NM_SETTING_IP_CONFIG_ROUTE_METRIC       "route-metric"
+
#define NM_SETTING_IP_CONFIG_ROUTE_METRIC        "route-metric"
 

NM_SETTING_IP_CONFIG_ROUTE_TABLE

-
#define NM_SETTING_IP_CONFIG_ROUTE_TABLE        "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"
+
#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES  "ignore-auto-routes"
 

NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS

-
#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS    "ignore-auto-dns"
+
#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS     "ignore-auto-dns"
 

NM_SETTING_IP_CONFIG_DHCP_HOSTNAME

-
#define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME      "dhcp-hostname"
+
#define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME       "dhcp-hostname"
 

NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME

-
#define NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME "dhcp-send-hostname"
+
#define NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME  "dhcp-send-hostname"
+
+
+
+
+

NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS

+
#define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS "dhcp-hostname-flags"
 

NM_SETTING_IP_CONFIG_NEVER_DEFAULT

-
#define NM_SETTING_IP_CONFIG_NEVER_DEFAULT      "never-default"
+
#define NM_SETTING_IP_CONFIG_NEVER_DEFAULT       "never-default"
 

NM_SETTING_IP_CONFIG_MAY_FAIL

-
#define NM_SETTING_IP_CONFIG_MAY_FAIL           "may-fail"
+
#define NM_SETTING_IP_CONFIG_MAY_FAIL            "may-fail"
 

NM_SETTING_IP_CONFIG_DAD_TIMEOUT

-
#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT        "dad-timeout"
+
#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT         "dad-timeout"
 

NM_SETTING_IP_CONFIG_DHCP_TIMEOUT

-
#define NM_SETTING_IP_CONFIG_DHCP_TIMEOUT       "dhcp-timeout"
+
#define NM_SETTING_IP_CONFIG_DHCP_TIMEOUT        "dhcp-timeout"
+
+
+
+
+

NM_SETTING_IP_CONFIG_DHCP_IAID

+
#define NM_SETTING_IP_CONFIG_DHCP_IAID           "dhcp-iaid"
 

@@ -6092,6 +6305,75 @@ rule verfies or fail.

NMSettingIPConfig

typedef struct _NMSettingIPConfig NMSettingIPConfig;
+
+
+

enum NMDhcpHostnameFlags

+

NMDhcpHostnameFlags describe flags related to the DHCP hostname and +FQDN.

+
+

Members

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

NM_DHCP_HOSTNAME_FLAG_NONE

+

no flag set. The default value from + Networkmanager global configuration is used. If such value is unset + or still zero, the DHCP request will use standard FQDN flags, i.e. + NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE and + NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED for IPv4 and + NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE for IPv6.

+
 

NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE

+

whether the server should + do the A RR (FQDN-to-address) DNS updates.

+
 

NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED

+

if set, the FQDN is encoded + using canonical wire format. Otherwise it uses the deprecated + ASCII encoding. This flag is allowed only for DHCPv4.

+
 

NM_DHCP_HOSTNAME_FLAG_FQDN_NO_UPDATE

+

when not set, request the + server to perform updates (the PTR RR and possibly the A RR + based on the NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE flag). If + this is set, the NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE flag + should be cleared.

+
 

NM_DHCP_HOSTNAME_FLAG_FQDN_CLEAR_FLAGS

+

when set, no FQDN flags are + sent in the DHCP FQDN option. When cleared and all other FQDN + flags are zero, standard FQDN flags are sent. This flag is + incompatible with any other FQDN flag.

+
 
+
+

Since: 1.22

+

Property Details

@@ -6131,6 +6413,51 @@ cannot be set at the same time.


+

The “dhcp-hostname-flags” property

+
  “dhcp-hostname-flags”      guint
+

Flags for the DHCP hostname and FQDN.

+

Currently this property only includes flags to control the FQDN flags +set in the DHCP FQDN option. Supported FQDN flags are +NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE, +NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED and +NM_DHCP_HOSTNAME_FLAG_FQDN_NO_UPDATE. When no FQDN flag is set and +NM_DHCP_HOSTNAME_FLAG_FQDN_CLEAR_FLAGS is set, the DHCP FQDN option will +contain no flag. Otherwise, if no FQDN flag is set and +NM_DHCP_HOSTNAME_FLAG_FQDN_CLEAR_FLAGS is not set, the standard FQDN flags +are set in the request: +NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE, +NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED for IPv4 and +NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE for IPv6.

+

When this property is set to the default value NM_DHCP_HOSTNAME_FLAG_NONE, +a global default is looked up in NetworkManager configuration. If that value +is unset or also NM_DHCP_HOSTNAME_FLAG_NONE, then the standard FQDN flags +described above are sent in the DHCP requests.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.22

+
+
+
+

The “dhcp-iaid” property

+
  “dhcp-iaid”                gchar *
+

A string containing the "Identity Association Identifier" (IAID) used +by the DHCP client. The property is a 32-bit decimal value or a +special value among "mac", "perm-mac", "ifname" and "stable". When +set to "mac" (or "perm-mac"), the last 4 bytes of the current (or +permanent) MAC address are used as IAID. When set to "ifname", the +IAID is computed by hashing the interface name. The special value +"stable" can be used to generate an IAID based on the stable-id (see +connection.stable-id), a per-host key and the interface name. When +the property is unset, the value from global configuration is used; +if no global default is set then the IAID is assumed to be +"ifname". Note that at the moment this property is ignored for IPv6 +by dhclient, which always derives the IAID from the MAC address.

+

Flags: Read / Write

+

Default value: NULL

+

Since: 1.22

+
+
+

The “dhcp-send-hostname” property

  “dhcp-send-hostname”       gboolean

If TRUE, a hostname is sent to the DHCP server when acquiring a lease. @@ -6341,6 +6668,6 @@ of NetworkManager.

+
Generated by GTK-Doc V1.29 \ No newline at end of file -- cgit 1.3.0-6-gf8a5