NetworkManager/src/dns
Thomas Haller 22edeb5b69 core: track addresses for NMIP4Config/NMIP6Config via NMDedupMultiIndex
Reasons:

 - it adds an O(1) lookup index for accessing NMIPxConfig's addresses.
   Hence, operations like merge/intersect have now runtime O(n) instead
   of O(n^2).
   Arguably, we expect low numbers of addresses in general. For low
   numbers, the O(n^2) doesn't matter and quite likely in those cases
   the previous implementation was just fine -- maybe even faster.
   But the simple case works fine either way. It's important to scale
   well in the exceptional case.
 - the tracked objects can be shared between the various NMPI4Config,
   NMIP6Config instances with NMPlatform and everybody else.
 - the NMPObject can be treated generically, meaning it enables code to
   handle both IPv4 and IPv6, or addresses and routes. See for example
   _nm_ip_config_add_obj().
 - I want core to evolve to somewhere where we don't keep copies of
   NMPlatformIP4Address, et al. instances. Instead they shall all be
   shared. I hope this will reduce memory consumption (although tracking a
   reference consumes some memory too). Also, it shortcuts nmp_object_equal()
   when comparing the same object. Calling nmp_object_equal() on the
   identical objects would be a common case after the hash function
   pre-evaluates equality.
2017-07-25 06:44:12 +02:00
..
nm-dns-dnsmasq.c core: track addresses for NMIP4Config/NMIP6Config via NMDedupMultiIndex 2017-07-25 06:44:12 +02:00
nm-dns-dnsmasq.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-manager.c dns: perform the public-suffix check only for the hostname-derived domain 2017-07-17 17:01:51 +02:00
nm-dns-manager.h dns: add helper method to get DNS priority from NMDnsIPConfigData 2017-06-19 15:12:49 +02:00
nm-dns-plugin.c dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-plugin.h dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-systemd-resolved.c dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-systemd-resolved.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-unbound.c dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00