libnftnl/include/expr.h
Pablo Neira Ayuso 206d98a543 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>
2015-09-07 20:00:57 +02:00

20 lines
361 B
C

#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