summaryrefslogtreecommitdiffstats
path: root/include/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/expr.h')
-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