summaryrefslogtreecommitdiffstats
path: root/include/expr.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 17:56:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:00:57 +0200
commit206d98a54305a1178c7d9c5e234699813f8c6f5a (patch)
treecf4a1335eb6724cfbdb3a8caa5346a78758d9506 /include/expr.h
parent96807c4c05e1e76b8bbf00d874a28a279e7d2840 (diff)
src: rename nftnl_rule_expr to nftnl_expr
Use a shorter name for this, morever this can be used from sets so the _rule_ is misleading. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/expr.h')
-rw-r--r--include/expr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/expr.h b/include/expr.h
index 26b4a95..be45e95 100644
--- a/include/expr.h
+++ b/include/expr.h
@@ -3,7 +3,7 @@
struct expr_ops;
-struct nftnl_rule_expr {
+struct nftnl_expr {
struct list_head head;
uint32_t flags;
struct expr_ops *ops;
@@ -12,8 +12,8 @@ struct nftnl_rule_expr {
struct nlmsghdr;
-void nftnl_rule_expr_build_payload(struct nlmsghdr *nlh, struct nftnl_rule_expr *expr);
-struct nftnl_rule_expr *nftnl_rule_expr_parse(struct nlattr *attr);
+void nftnl_expr_build_payload(struct nlmsghdr *nlh, struct nftnl_expr *expr);
+struct nftnl_expr *nftnl_expr_parse(struct nlattr *attr);
#endif