From 0f31d8258e7ead5bd3944080e6cec7d4074149e7 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 12 May 2019 20:52:43 +0200 Subject: src: use definitions in include/linux/netfilter/nf_tables.h Use NFT_LOGLEVEL_* definitions in UAPI. Make an internal definition of NFT_OSF_F_VERSION, this was originally defined in the UAPI header in the initial patch version, however, this is not available anymore. Add a bison rule to deal with the timeout case. Otherwise, compilation breaks. Fixes: d3869cae9d62 ("include: refresh nf_tables.h cached copy") Signed-off-by: Pablo Neira Ayuso --- include/osf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osf.h b/include/osf.h index 8f6f5840..2eef257c 100644 --- a/include/osf.h +++ b/include/osf.h @@ -1,6 +1,8 @@ #ifndef NFTABLES_OSF_H #define NFTABLES_OSF_H +#define NFT_OSF_F_VERSION 0x1 + struct expr *osf_expr_alloc(const struct location *loc, const uint8_t ttl, const uint32_t flags); -- cgit v1.2.3