summaryrefslogtreecommitdiffstats
path: root/src/expr_ops.c
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 /src/expr_ops.c
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 'src/expr_ops.c')
-rw-r--r--src/expr_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr_ops.c b/src/expr_ops.c
index a2de9cd..4d7d1fa 100644
--- a/src/expr_ops.c
+++ b/src/expr_ops.c
@@ -31,6 +31,7 @@ extern struct expr_ops expr_ops_quota;
extern struct expr_ops expr_ops_target;
extern struct expr_ops expr_ops_dynset;
extern struct expr_ops expr_ops_hash;
+extern struct expr_ops expr_ops_fib;
static struct expr_ops expr_ops_notrack = {
.name = "notrack",
@@ -65,6 +66,7 @@ static struct expr_ops *expr_ops[] = {
&expr_ops_target,
&expr_ops_dynset,
&expr_ops_hash,
+ &expr_ops_fib,
NULL,
};