File: expr.h

package info (click to toggle)
libnftnl 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,060 kB
  • sloc: ansic: 25,721; sh: 5,175; makefile: 340
file content (19 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (7)
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_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