resolved: move DNS RR/key/answer/question/packet tools to shared/

We want to reuse these generic DNS concepts in resolved hook
implementations, hence move them to shared code.

(This also enables us to immediately remove som SVCB record handling
duplicate definitions.)

No real code changes, just some moving around of things.
This commit is contained in:
Lennart Poettering
2025-10-20 10:35:23 +02:00
parent 226e050a0d
commit 5751b236a5
64 changed files with 212 additions and 240 deletions
+2 -2
View File
@@ -22,6 +22,8 @@
#include "bus-message-util.h"
#include "bus-util.h"
#include "dns-domain.h"
#include "dns-packet.h"
#include "dns-rr.h"
#include "errno-list.h"
#include "errno-util.h"
#include "escape.h"
@@ -42,8 +44,6 @@
#include "resolve-util.h"
#include "resolvectl.h"
#include "resolved-def.h"
#include "resolved-dns-packet.h"
#include "resolved-dns-rr.h"
#include "resolved-util.h"
#include "socket-netlink.h"
#include "sort-util.h"