From 206d98a54305a1178c7d9c5e234699813f8c6f5a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 7 Sep 2015 17:56:47 +0200 Subject: 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 --- include/expr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/expr.h') 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 -- cgit v1.2.3