summaryrefslogtreecommitdiffstats
path: root/include/expr.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:04:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:04:34 +0000
commit371c8a8bca2b6862226bc79c13d143e07c1d8fc3 (patch)
tree06c7dc8826596690422e79d5bde2f46c90492de3 /include/expr.h
parentInitial commit. (diff)
downloadlibnftnl-371c8a8bca2b6862226bc79c13d143e07c1d8fc3.tar.xz
libnftnl-371c8a8bca2b6862226bc79c13d143e07c1d8fc3.zip
Adding upstream version 1.2.6.upstream/1.2.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--include/expr.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/expr.h b/include/expr.h
new file mode 100644
index 0000000..be45e95
--- /dev/null
+++ b/include/expr.h
@@ -0,0 +1,19 @@
+#ifndef _LIBNFTNL_EXPR_INTERNAL_H_
+#define _LIBNFTNL_EXPR_INTERNAL_H_
+
+struct expr_ops;
+
+struct nftnl_expr {
+ struct list_head head;
+ uint32_t flags;
+ struct expr_ops *ops;
+ uint8_t data[];
+};
+
+struct nlmsghdr;
+
+void nftnl_expr_build_payload(struct nlmsghdr *nlh, struct nftnl_expr *expr);
+struct nftnl_expr *nftnl_expr_parse(struct nlattr *attr);
+
+
+#endif