/Lib/test/encoded_modules/

ication/atom+xml'/>
summaryrefslogtreecommitdiffstats
path: root/lib/netfilter
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-28 15:04:42 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-31 13:15:56 (GMT)
commit2da8481b505509aab05bb37f8fc54536a3f5e99f (patch)
treeb44af41eb7816603ed2150ad61635c351d99879c /lib/netfilter
parentd3e9b5134663c08165f33ea38d2de7143eeb570d (diff)
downloadlibnl-2da8481b505509aab05bb37f8fc54536a3f5e99f.zip
libnl-2da8481b505509aab05bb37f8fc54536a3f5e99f.tar.gz
libnl-2da8481b505509aab05bb37f8fc54536a3f5e99f.tar.bz2
base: move "netlink-private/utils.h" to "base/nl-base-utils.h"
"base/nl-base-utils.h" (formerly "netlink-private/utils.h") contains no libnl3 specific references, just a bunch of C helpers. It's also a header-only "library", so it can be freely used by all our C-code. Move it to a separate directory, to make that clear.
Diffstat (limited to 'lib/netfilter')
-rw-r--r--lib/netfilter/ct.c2
-rw-r--r--lib/netfilter/log_msg.c2
-rw-r--r--lib/netfilter/queue_msg.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/netfilter/ct.c b/lib/netfilter/ct.c
index 8cdda3d..30c25b9 100644
--- a/lib/netfilter/ct.c
+++ b/lib/netfilter/ct.c
@@ -21,7 +21,7 @@
#include <netlink/attr.h>
#include <netlink/netfilter/nfnl.h>
#include <netlink/netfilter/ct.h>
-#include <netlink-private/utils.h>
+#include "base/nl-base-utils.h"
static struct nl_cache_ops nfnl_ct_ops;
diff --git a/lib/netfilter/log_msg.c b/lib/netfilter/log_msg.c