From a970963a2ad4411efcd7362c63f7d2e3bec5cbc2 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 14 Sep 2016 11:41:26 +0200 Subject: 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 --- include/libnftnl/expr.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libnftnl') 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 */ -- cgit v1.2.3