Remove src/resolve
remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
resolved: simplify detection of packets from the loopback device We can simplify our code quite a bit if we explicitly check for the ifindex being 1 on Linux as a loopback check. Apparently, this is hardcoded on Linux on the kernel, and effectively exported to userspace via rtnl and such, hence we should be able to rely on it.
resolved: unify logic how we flush out DNS servers we learnt
resolved: verify all RRs when we come back from suspend
resolved: implement full LLMNR conflict detection logic
resolved: read the per-interface LLMNR setting from networkd and act on it
resolved: when there's already somebody listening on the LLMNR ports, simple disable LLMNR and warn, but continue This allows us to run resolved inside an nspawn container that shares the network namespace with the host, if there's already an instance running.
resolved: flush cache each time we change to a different DNS server
resolved: read the system /etc/resolv.conf unless we wrote it ourselves This way we integrate nicely with foreign network management stacks, such as NM.
resolved: rename resolved.h to resolved-manager.h After all it pretty much exlcusively containers definitions about the "Manager" object, hence let's call this the most obvious way.