NetworkManager/src/core
Thomas Haller aeb2426e88
libnm: change default value for "dcb.app-fcoe-mode" property
String properties in libnm's NMSetting really should have NULL as a
default value. The only property that didn't, was "dcb.app-fcoe-mode".

Change the default so that it is also NULL.

Changing a default value is an API change, but in this case probably no
issue. For one, DCB is little used. But also, it's not clear who would
care and notice the change. Also, because previously verify() would reject
a NULL value as invalid. That means, there are no existing, valid profiles
that have this value set to NULL.  We just make NULL the default, and
define that it means the same as "fabric".

Note that when we convert integer properties to D-Bus/GVariant, we often
omit the default value. For string properties, they are serialized as
"s" variant type. As such, NULL cannot be expressed as "s" type, so we
represent NULL by omitting the property. That makes especially sense if
the default value is also NULL. Otherwise, it's rather odd. We change
that, and we will now always express non-NULL value on D-Bus and let
NULL be encoded by omitting the property.
2021-11-04 20:25:18 +01:00
..
devices glib-aux/trivial: rename GBytes helper API 2021-11-04 20:25:18 +01:00
dhcp glib-aux/trivial: rename GBytes helper API 2021-11-04 20:25:18 +01:00
dns core: Save whether SetLinkDNSOverTLS is supported 2021-10-15 10:01:13 +02:00
dnsmasq core: cleanup #include of "nm-dnsmasq-utils.c" 2021-04-20 17:25:21 +02:00
ndisc trivial: fix code style 2021-11-04 20:23:07 +01:00
platform platform/tests: fix assertion failure in NMTstpAcdDefender 2021-09-25 10:10:17 +02:00
ppp clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
settings libnm: change default value for "dcb.app-fcoe-mode" property 2021-11-04 20:25:18 +01:00
supplicant glib-aux/trivial: rename GBytes helper API 2021-11-04 20:25:18 +01:00
tests l3cfg: various fixes and improvments (e.g. add pre-commit hook) 2021-10-12 09:37:02 +02:00
vpn core: add support for connection.dns-over-tls 2021-10-15 10:00:31 +02:00
main-utils.c all: don't explicitly include <glib-unix.h> 2021-06-28 13:31:34 +02:00
main-utils.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
main.c core: free config_cli before exit() from main 2021-08-11 16:23:09 +02:00
meson.build core: add NML3IPv6LL helper 2021-09-10 13:26:52 +02:00
NetworkManagerUtils.c core: disable tc cache by default 2021-09-20 13:27:16 +02:00
NetworkManagerUtils.h core: disable tc cache by default 2021-09-20 13:27:16 +02:00
nm-act-request.c firewall: rename NMUtilsShareRules to NMFirewallConfig 2021-05-07 11:42:51 +02:00
nm-act-request.h firewall: rename NMUtilsShareRules to NMFirewallConfig 2021-05-07 11:42:51 +02:00
nm-active-connection.c Revert "core: make ActiveConnection emit StateChanged a bit later" 2021-11-02 12:42:51 +01:00
nm-active-connection.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-audit-manager.c clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-audit-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-auth-manager.c build: move "shared/nm-{glib-aux,log-null,log-core}" to "src/libnm-{glib-aux,log-null,log-core}" 2021-02-24 12:48:20 +01:00
nm-auth-manager.h build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-auth-utils.c all: use nm_{idle,timeout}_add_source() instead of g_source_attach() 2021-06-28 13:31:35 +02:00
nm-auth-utils.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-checkpoint-manager.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-checkpoint-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-checkpoint.c core: drop deprecated PropertiesChanged D-Bus signal (API BREAK) 2021-05-14 10:57:34 +02:00
nm-checkpoint.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-config-data.c all: rename nm_utils_strdict_*() to nm_strdict_*() 2021-08-02 09:26:48 +02:00
nm-config-data.h core: support linking with LLD 13 2021-11-02 12:42:51 +01:00
nm-config.c all: rename nm_utils_strsplit_set*() to nm_strsplit_set*() 2021-08-02 09:26:47 +02:00
nm-config.h core: persist the bootfile from DHCP 2021-07-27 09:36:33 +02:00
nm-connectivity.c clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-connectivity.h core: move NMPObjectType to "libnm-platform/nmp-base.h" 2021-03-05 11:27:15 +01:00
nm-core-utils.c core/tests: add nmtst_utils_host_id_{push,pop}() helpers to stub the host-id 2021-09-08 18:33:43 +02:00
nm-core-utils.h core: add NML3IPv6LL helper 2021-09-10 13:26:52 +02:00
nm-dbus-manager.c all: use nm_g_idle_add() instead of g_idle_add() 2021-07-26 15:30:09 +02:00
nm-dbus-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-dbus-object.c all: use nm_g_idle_add() instead of g_idle_add() 2021-07-26 15:30:09 +02:00
nm-dbus-object.h core: drop deprecated PropertiesChanged D-Bus signal (API BREAK) 2021-05-14 10:57:34 +02:00
nm-dbus-utils.c core: simplify nm_dbus_utils_g_value_set_object_path() 2021-10-07 08:10:05 +02:00
nm-dbus-utils.h core: drop deprecated PropertiesChanged D-Bus signal (API BREAK) 2021-05-14 10:57:34 +02:00
nm-dcb.c libnm: change default value for "dcb.app-fcoe-mode" property 2021-11-04 20:25:18 +01:00
nm-dcb.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-default-daemon.h build: move "shared/nm-{glib-aux,log-null,log-core}" to "src/libnm-{glib-aux,log-null,log-core}" 2021-02-24 12:48:20 +01:00
nm-dhcp-config.c all: rename nm_utils_strdict_*() to nm_strdict_*() 2021-08-02 09:26:48 +02:00
nm-dhcp-config.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-dispatcher.c dispatcher: rename NM_DISPATCHER_ACTION_DHCP_CHANGE_X enums 2021-08-05 14:59:17 +02:00
nm-dispatcher.h dispatcher: rename NM_DISPATCHER_ACTION_DHCP_CHANGE_X enums 2021-08-05 14:59:17 +02:00
nm-firewall-utils.c firewall/nftables: only configure "ip" address familiar for masquerading 2021-07-15 15:14:58 +02:00
nm-firewall-utils.h firewall: add special firewall-backend "none" 2021-05-14 11:41:33 +02:00
nm-firewalld-manager.c firewalld: listen to Reloaded signal and reconfigure firewall zones 2021-08-06 14:35:35 +02:00
nm-firewalld-manager.h firewalld: listen to Reloaded signal and reconfigure firewall zones 2021-08-06 14:35:35 +02:00
nm-hostname-manager.c clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-hostname-manager.h core,glib-aux: move nm_hostname_manager_validate_hostname() to shared-utils 2021-06-28 14:32:05 +02:00
nm-iface-helper.c core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00
nm-ip-config.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-ip-config.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-ip4-config.c core: add support for connection.dns-over-tls 2021-10-15 10:00:31 +02:00
nm-ip4-config.h core: add support for connection.dns-over-tls 2021-10-15 10:00:31 +02:00
nm-ip6-config.c platform: require RTA_PREF support in kernel 2021-08-31 16:41:57 +02:00
nm-ip6-config.h platform: require RTA_PREF support in kernel 2021-08-31 16:41:57 +02:00
nm-keep-alive.c build: move "shared/nm-{glib-aux,log-null,log-core}" to "src/libnm-{glib-aux,log-null,log-core}" 2021-02-24 12:48:20 +01:00
nm-keep-alive.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-l3-config-data.c l3cfg: set IPv6 sysctls during NML3Cfg commit 2021-10-17 10:41:32 +02:00
nm-l3-config-data.h l3cfg: accept NULL NML3ConfigData for several getters 2021-09-30 15:10:18 +02:00
nm-l3-ipv4ll.c l3cfg: fix nm_l3cfg_commit_type_register() to set commit_type and add debug logging 2021-09-28 22:18:13 +02:00
nm-l3-ipv4ll.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-l3-ipv6ll.c l3cfg: fix nm_l3cfg_commit_type_register() to set commit_type and add debug logging 2021-09-28 22:18:13 +02:00
nm-l3-ipv6ll.h l3cfg/ipv6ll: add NM_L3_IPV6LL_STATE_DEFUNCT enum 2021-09-15 22:08:42 +02:00
nm-l3cfg.c l3cfg: fix "maybe-uninitialized" warning in _l3_commit_ndisc_params() 2021-10-17 14:59:31 +02:00
nm-l3cfg.h l3cfg: add addr_family parameter to nm_l3cfg_check_ready() 2021-10-17 10:41:31 +02:00
nm-manager.c core: use nm-sudo symbols in NetworkManager binary for plugin 2021-08-31 13:30:36 +02:00
nm-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-netns.c core: in NMNetns use GSource for idle dispatch of platform signal 2021-10-07 08:10:05 +02:00
nm-netns.h platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
nm-pacrunner-manager.c l3cfg: add proxy properties to NML3ConfigData 2021-05-27 09:56:44 +02:00
nm-pacrunner-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-policy.c policy: send ip configs to the DNS manager earlier 2021-11-02 12:42:51 +01:00
nm-policy.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-proxy-config.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-proxy-config.h l3cfg: add proxy properties to NML3ConfigData 2021-05-27 09:56:44 +02:00
nm-rfkill-manager.c build: move "shared/nm-{base,udev-aux}" to "src/libnm-{base,udev-aux}" 2021-02-24 12:48:19 +01:00
nm-rfkill-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-session-monitor.c clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-session-monitor.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-sleep-monitor.c clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-sleep-monitor.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-sudo-call.c core: get file descriptor to ovsdb unix socket from nm-sudo 2021-07-26 15:31:46 +02:00
nm-sudo-call.h core: get file descriptor to ovsdb unix socket from nm-sudo 2021-07-26 15:31:46 +02:00
nm-test-utils-core.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-types.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
org.freedesktop.NetworkManager.conf all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

core

The source code of the NetworkManager daemon.

NetworkManager is a daemon that provides a D-Bus API and a file-based API for configuring the network on a Linux host.

This is the daemon source code.