summaryrefslogtreecommitdiffstats
path: root/include/libnftnl
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-09-14 11:41:26 +0200
committerFlorian Westphal <fw@strlen.de>2016-10-28 12:57:04 +0200
commita970963a2ad4411efcd7362c63f7d2e3bec5cbc2 (patch)
tree127e1445565ce4c07871073e48b3063b69e04e0c /include/libnftnl
parentc3394df0f547a542af95685fdf08dc46b22efa55 (diff)
expr: add fib expression
Allows to query fib for output interface and route type of a packets source or destination address. Scheduled for Linux 4.10. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/libnftnl')
-rw-r--r--include/libnftnl/expr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h
index 6245207..5cce49b 100644
--- a/include/libnftnl/expr.h
+++ b/include/libnftnl/expr.h
@@ -227,6 +227,12 @@ enum {
NFTNL_EXPR_HASH_OFFSET,
};
+enum {
+ NFTNL_EXPR_FIB_DREG = NFTNL_EXPR_BASE,
+ NFTNL_EXPR_FIB_RESULT,
+ NFTNL_EXPR_FIB_FLAGS,
+};
+
/*
* Compat
*/