NetworkManager/src/devices
Thomas Haller c03a534963 core: implement setting MDNS setting for systemd
The connection.mdns setting is a per-connection setting,
so one might expect that one activated device can only have
one MDNS setting at a time.

However, with certain VPN plugins (those that don't have their
own IP interface, like libreswan), the VPN configuration is merged
into the configuration of the device. So, in this case, there
might be multiple settings for one device that must be merged.

We already have a mechanism for that. It's NMIP4Config. Let NMIP4Config
track this piece of information. Although, stricitly speaking this
is not tied to IPv4, the alternative would be to introduce a new
object to track such data, which would be a tremendous effort
and more complicated then this.

Luckily, NMDnsManager and NMDnsPlugin are already equipped to
handle multiple NMIPConfig instances per device (IPv4 vs. IPv6,
and Device vs. VPN).

Also make "connection.mdns" configurable via global defaults in
NetworkManager.conf.
2018-01-09 14:24:54 +01:00
..
adsl build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
bluetooth build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
ovs build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
team build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
tests devices/test: reapply commit 5c6a382d4d 2017-12-14 12:32:18 +01:00
wifi wifi/iwd: fix type-description for NMDeviceIwd 2017-12-27 10:55:09 +01:00
wwan all: add more meaningful error code for unsupported IP method 2017-12-21 10:02:07 +01:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-arping-manager.c all: use nm_direct_hash() instead of g_direct_hash() 2017-11-16 11:49:52 +01:00
nm-arping-manager.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bond.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-bond.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bridge.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-bridge.h bridge: move the Bluetooth NAP logic to bridge device 2017-06-01 11:57:42 +02:00
nm-device-dummy.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-dummy.h core: add support for dummy devices 2017-02-22 21:05:04 +01:00
nm-device-ethernet-utils.c device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet-utils.h device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
nm-device-ethernet.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-factory.c all: use nm_direct_hash() instead of g_direct_hash() 2017-11-16 11:49:52 +01:00
nm-device-factory.h core: device-factory: implement match_connection() 2017-08-05 08:03:16 +02:00
nm-device-generic.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-generic.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-infiniband.c manager: downgrade error message for missing dependencies 2017-09-20 08:01:02 +02:00
nm-device-infiniband.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-ip-tunnel.c ip-tunnel: add support for tunnel flags 2018-01-05 18:25:08 +01:00
nm-device-ip-tunnel.h ip-tunnel: add support for tunnel flags 2018-01-05 18:25:08 +01:00
nm-device-logging.h Revert "device: log device type too" 2017-10-31 18:48:41 +01:00
nm-device-macsec.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
nm-device-macsec.h core,libnm: introduce NMDeviceMacsec 2017-01-16 17:37:14 +01:00
nm-device-macvlan.c device: deduplicate match_hwaddr() 2017-09-28 10:54:01 +02:00
nm-device-macvlan.h device: move tracking of parent device from NMDeviceMacvlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-ppp.c manager: add a method to get a particular device of given type 2017-10-30 17:38:37 +01:00
nm-device-ppp.h device: add NMDevicePPP 2017-08-05 08:03:15 +02:00
nm-device-private.h device: reset MTU when VLAN's parent device changes MTU 2017-10-23 17:53:22 +02:00
nm-device-tun.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-tun.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-veth.c device: remove unused private data for NMDeviceVeth 2017-05-27 23:16:56 +02:00
nm-device-veth.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-device-vlan.c device: remove 'force_restart' argument from reactivate functions 2017-12-06 09:53:18 +01:00
nm-device-vlan.h device: move tracking of parent device from NMDeviceVlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-vxlan.c device: deduplicate match_parent() 2017-09-28 10:54:01 +02:00
nm-device-vxlan.h device: move tracking of parent device from NMDeviceVxlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device.c core: implement setting MDNS setting for systemd 2018-01-09 14:24:54 +01:00
nm-device.h core: implement setting MDNS setting for systemd 2018-01-09 14:24:54 +01:00
nm-lldp-listener.c all: add helper functions for nm_hash_update*() 2017-10-18 13:29:22 +02:00
nm-lldp-listener.h core: refactor private data for NMExportedObject and others 2016-10-03 12:04:14 +02:00