From bba2e4b4de668db525cbfdfc35292e5a0b51671a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Feb 2024 17:21:11 +0100 Subject: New upstream version 1.46.0 --- docs/libnm/html/NMSetting.html | 49 +++++ docs/libnm/html/NMSettingGeneric.html | 56 ++++- docs/libnm/html/NMSettingMacsec.html | 95 +++++++++ docs/libnm/html/NMSettingSriov.html | 298 ++++++++++++++++++++++++++- docs/libnm/html/api-index-full.html | 92 +++++++++ docs/libnm/html/index.html | 2 +- docs/libnm/html/libnm-nm-dbus-interface.html | 38 ++++ docs/libnm/html/libnm-nm-version-macros.html | 4 +- docs/libnm/html/libnm.devhelp2 | 37 ++++ docs/libnm/html/object-tree.html | 4 + docs/libnm/html/usage.html | 2 +- 11 files changed, 666 insertions(+), 11 deletions(-) (limited to 'docs/libnm/html') diff --git a/docs/libnm/html/NMSetting.html b/docs/libnm/html/NMSetting.html index a921dc81..b35c6b74 100644 --- a/docs/libnm/html/NMSetting.html +++ b/docs/libnm/html/NMSetting.html @@ -215,6 +215,14 @@ +GType + + +nm_setting_get_enum_property_type () + + + + NMRange * @@ -1218,6 +1226,47 @@ on setting
+

nm_setting_get_enum_property_type ()

+
GType
+nm_setting_get_enum_property_type (GType setting_type,
+                                   const char *property_name);
+

Get the type of the enum that defines the values that the property accepts. It is only +useful for properties configured to accept values from certain enum type, otherwise +it will return G_TYPE_INVALID. Note that flags (children of G_TYPE_FLAGS) are also +considered enums.

+

Note that the GObject property might be implemented as an integer, actually, and not +as enum. Find out what underlying type is used, checking the GParamSpec, before +setting the GObject property.

+
+

Parameters

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

setting_type

the GType of the NMSetting instance

 

property_name

the name of the property

 
+
+
+

Returns

+

the enum's GType, or G_TYPE_INVALID if the property is not of enum type

+
+

Since: 1.46

+
+
+

nm_range_new ()

NMRange *
 nm_range_new (guint64 start,
diff --git a/docs/libnm/html/NMSettingGeneric.html b/docs/libnm/html/NMSettingGeneric.html
index 4a10561c..fae31e4e 100644
--- a/docs/libnm/html/NMSettingGeneric.html
+++ b/docs/libnm/html/NMSettingGeneric.html
@@ -38,14 +38,23 @@
 
 
 
-
+
+
 
 NMSetting *
 
 
 nm_setting_generic_new ()
 
-
+
+
+const char *
+
+
+nm_setting_generic_get_device_handler ()
+
+
+
 
@@ -55,10 +64,16 @@ - + + #define NM_SETTING_GENERIC_SETTING_NAME - + + +#define +NM_SETTING_GENERIC_DEVICE_HANDLER + +
@@ -82,6 +97,33 @@ nm_setting_generic_new (void[transfer full]

+
+
+

nm_setting_generic_get_device_handler ()

+
const char *
+nm_setting_generic_get_device_handler (NMSettingGeneric *setting);
+

Returns the “device-handler” property of the connection.

+
+

Parameters

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

setting

the NMSettingGeneric

 
+
+
+

Returns

+

the device handler name, or NULL if no device handler is set

+
+

Since: 1.46

+

Types and Values

@@ -90,6 +132,12 @@ nm_setting_generic_new (void#define NM_SETTING_GENERIC_SETTING_NAME "generic"
+
+
+

NM_SETTING_GENERIC_DEVICE_HANDLER

+
#define NM_SETTING_GENERIC_DEVICE_HANDLER "device-handler"
+
+
@@ -169,6 +177,10 @@ NM_SETTING_MACSEC_SEND_SCI +#define +NM_SETTING_MACSEC_OFFLOAD + + enum NMSettingMacsecMode @@ -184,6 +196,10 @@ #define NM_SETTING_MACSEC_MKA_CKN_LENGTH + +enum +NMSettingMacsecOffload + @@ -191,6 +207,7 @@

Object Hierarchy

    GEnum
     ├── NMSettingMacsecMode
+    ├── NMSettingMacsecOffload
     ╰── NMSettingMacsecValidation
 
@@ -447,6 +464,32 @@ nm_setting_macsec_get_send_sci (

Since: 1.12

+
+
+

nm_setting_macsec_get_offload ()

+
NMSettingMacsecOffload
+nm_setting_macsec_get_offload (NMSettingMacsec *setting);
+
+

Parameters

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

setting

the NMSettingMacsec

 
+
+
+

Returns

+

the “offload” property of the setting

+
+

Since: 1.46

+

Types and Values

@@ -511,6 +554,12 @@ nm_setting_macsec_get_send_sci (
+

NM_SETTING_MACSEC_OFFLOAD

+
#define NM_SETTING_MACSEC_OFFLOAD       "offload"
+
+
+
+

enum NMSettingMacsecMode

NMSettingMacsecMode controls how the CAK (Connectivity Association Key) used in MKA (MACsec Key Agreement) is obtained.

@@ -596,6 +645,52 @@ verify frames are dropped

#define NM_SETTING_MACSEC_MKA_CKN_LENGTH 64
 
+
+
+

enum NMSettingMacsecOffload

+

These flags control the MACsec offload mode.

+
+

Members

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

NM_SETTING_MACSEC_OFFLOAD_DEFAULT

+

use the global default; disable if not defined

+
 

NM_SETTING_MACSEC_OFFLOAD_OFF

+

disable offload

+
 

NM_SETTING_MACSEC_OFFLOAD_PHY

+

request offload to the PHY

+
 

NM_SETTING_MACSEC_OFFLOAD_MAC

+

request offload to the MAC

+
 
+
+

Since: 1.46

+
@@ -305,6 +353,9 @@
    GBoxed
     ╰── NMSriovVF
     GEnum
+    ├── NMSriovEswitchEncapMode
+    ├── NMSriovEswitchInlineMode
+    ├── NMSriovEswitchMode
     ╰── NMSriovVFVlanProtocol
 
@@ -574,6 +625,86 @@ property.


+

nm_setting_sriov_get_eswitch_mode ()

+
NMSriovEswitchMode
+nm_setting_sriov_get_eswitch_mode (NMSettingSriov *setting);
+
+

Parameters

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

setting

the NMSettingSriov

 
+
+
+

Returns

+

the value contained in the “eswitch-mode” property.

+
+

Since: 1.46

+
+
+
+

nm_setting_sriov_get_eswitch_inline_mode ()

+
NMSriovEswitchInlineMode
+nm_setting_sriov_get_eswitch_inline_mode
+                               (NMSettingSriov *setting);
+
+

Parameters

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

setting

the NMSettingSriov

 
+
+
+

Returns

+

the value contained in the “eswitch-inline-mode” property.

+
+

Since: 1.46

+
+
+
+

nm_setting_sriov_get_eswitch_encap_mode ()

+
NMSriovEswitchEncapMode
+nm_setting_sriov_get_eswitch_encap_mode
+                               (NMSettingSriov *setting);
+
+

Parameters

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

setting

the NMSettingSriov

 
+
+
+

Returns

+

the value contained in the “eswitch-encap-mode” property.

+
+

Since: 1.46

+
+
+

nm_sriov_vf_add_vlan ()

gboolean
 nm_sriov_vf_add_vlan (NMSriovVF *vf,
@@ -1162,19 +1293,37 @@ the value is of the correct type and well-formed.


NM_SETTING_SRIOV_TOTAL_VFS

-
#define NM_SETTING_SRIOV_TOTAL_VFS         "total-vfs"
+
#define NM_SETTING_SRIOV_TOTAL_VFS           "total-vfs"
 

NM_SETTING_SRIOV_VFS

-
#define NM_SETTING_SRIOV_VFS               "vfs"
+
#define NM_SETTING_SRIOV_VFS                 "vfs"
 

NM_SETTING_SRIOV_AUTOPROBE_DRIVERS

-
#define NM_SETTING_SRIOV_AUTOPROBE_DRIVERS "autoprobe-drivers"
+
#define NM_SETTING_SRIOV_AUTOPROBE_DRIVERS   "autoprobe-drivers"
+
+
+
+
+

NM_SETTING_SRIOV_ESWITCH_MODE

+
#define NM_SETTING_SRIOV_ESWITCH_MODE        "eswitch-mode"
+
+
+
+
+

NM_SETTING_SRIOV_ESWITCH_INLINE_MODE

+
#define NM_SETTING_SRIOV_ESWITCH_INLINE_MODE "eswitch-inline-mode"
+
+
+
+
+

NM_SETTING_SRIOV_ESWITCH_ENCAP_MODE

+
#define NM_SETTING_SRIOV_ESWITCH_ENCAP_MODE  "eswitch-encap-mode"
 

@@ -1239,6 +1388,149 @@ the value is of the correct type and well-formed.

Since: 1.14

+
+
+

enum NMSriovEswitchMode

+
+

Members

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

NM_SRIOV_ESWITCH_MODE_PRESERVE

+

don't modify current eswitch mode

+
 

NM_SRIOV_ESWITCH_MODE_UNKNOWN

  

NM_SRIOV_ESWITCH_MODE_LEGACY

+

use legacy SRIOV

+
 

NM_SRIOV_ESWITCH_MODE_SWITCHDEV

+

use switchdev mode

+
 
+
+

Since: 1.46

+
+
+
+

enum NMSriovEswitchInlineMode

+
+

Members

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

NM_SRIOV_ESWITCH_INLINE_MODE_PRESERVE

+

don't modify current inline-mode

+
 

NM_SRIOV_ESWITCH_INLINE_MODE_UNKNOWN

  

NM_SRIOV_ESWITCH_INLINE_MODE_NONE

+

don't use inline mode

+
 

NM_SRIOV_ESWITCH_INLINE_MODE_LINK

+

L2 mode

+
 

NM_SRIOV_ESWITCH_INLINE_MODE_NETWORK

+

L3 mode

+
 

NM_SRIOV_ESWITCH_INLINE_MODE_TRANSPORT

+

L4 mode

+
 
+
+

Since: 1.46

+
+
+
+

enum NMSriovEswitchEncapMode

+
+

Members

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

NM_SRIOV_ESWITCH_ENCAP_MODE_PRESERVE

+

don't modify current encap-mode

+
 

NM_SRIOV_ESWITCH_ENCAP_MODE_UNKNOWN

  

NM_SRIOV_ESWITCH_ENCAP_MODE_NONE

+

disable encapsulation mode

+
 

NM_SRIOV_ESWITCH_ENCAP_MODE_BASIC

+

enable encapsulation mode

+
 
+
+

Since: 1.46

+
@@ -4308,6 +4328,24 @@ sub-option will trigger creation of an additional subflow to generate a full mes

Since: 1.40

+
+
+

NM_SECRET_TAG_VPN_MSG

+
#define NM_SECRET_TAG_VPN_MSG "x-vpn-message:"
+
+
+
+
+

NM_SECRET_TAG_DYNAMIC_CHALLENGE

+
#define NM_SECRET_TAG_DYNAMIC_CHALLENGE      "x-dynamic-challenge:"
+
+
+
+
+

NM_SECRET_TAG_DYNAMIC_CHALLENGE_ECHO

+
#define NM_SECRET_TAG_DYNAMIC_CHALLENGE_ECHO "x-dynamic-challenge-echo:"
+
+