mirror of
https://git.netfilter.org/libnftnl
synced 2026-01-30 12:24:07 +00:00
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>
20 lines
361 B
C
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
|