summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nf_tables.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-11 14:27:16 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-03-13 12:13:04 +0100
commita0fd32f39c42ee12672bb16571fceae547e54337 (patch)
tree3ec300809d13299f0e053851c39042b3ceb1939b /include/linux/netfilter/nf_tables.h
parent17b1c5dda5658ebf9df08cfa8b5c384286448a9b (diff)
fib: Add support for NFTA_FIB_F_PRESENT flag
Reflect existence of flag in debug output so testsuite can check for it. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nf_tables.h')
-rw-r--r--include/linux/netfilter/nf_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h
index 4f7d756..a9280a6 100644
--- a/include/linux/netfilter/nf_tables.h
+++ b/include/linux/netfilter/nf_tables.h
@@ -1257,6 +1257,7 @@ enum nft_fib_flags {
NFTA_FIB_F_MARK = 1 << 2, /* use skb->mark */
NFTA_FIB_F_IIF = 1 << 3, /* restrict to iif */
NFTA_FIB_F_OIF = 1 << 4, /* restrict to oif */
+ NFTA_FIB_F_PRESENT = 1 << 5, /* check existence only */
};
#define NFT_OBJECT_UNSPEC 0