blob: 26b4a95a50f617390dfbd29f92ac26c9e53732b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef _LIBNFTNL_EXPR_INTERNAL_H_
#define _LIBNFTNL_EXPR_INTERNAL_H_
struct expr_ops;
struct nftnl_rule_expr {
struct list_head head;
uint32_t flags;
struct expr_ops *ops;
uint8_t data[];
};
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);
#endif
|