summaryrefslogtreecommitdiff
path: root/include/uapi/linux/fib_rules.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-07-21 11:44:01 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-21 20:39:06 +0300
commite7030878fc8448492b6e5cecd574043f63271298 (patch)
tree93a7e8a5ab3b5a0633c71d2684186114ab40b7e2 /include/uapi/linux/fib_rules.h
parent3093fbe7ff4bc7d1571fc217dade1cf80330a714 (diff)
downloadlinux-e7030878fc8448492b6e5cecd574043f63271298.tar.xz
fib: Add fib rule match on tunnel id
This add the ability to select a routing table based on the tunnel id which allows to maintain separate routing tables for each virtual tunnel network. ip rule add from all tunnel-id 100 lookup 100 ip rule add from all tunnel-id 200 lookup 200 A new static key controls the collection of metadata at tunnel level upon demand. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/fib_rules.h')
-rw-r--r--include/uapi/linux/fib_rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/fib_rules.h b/include/uapi/linux/fib_rules.h
index 2b82d7e30974..96161b8202b5 100644
--- a/include/uapi/linux/fib_rules.h
+++ b/include/uapi/linux/fib_rules.h
@@ -43,7 +43,7 @@ enum {
FRA_UNUSED5,
FRA_FWMARK, /* mark */
FRA_FLOW, /* flow/class id */
- FRA_UNUSED6,
+ FRA_TUN_ID,
FRA_SUPPRESS_IFGROUP,
FRA_SUPPRESS_PREFIXLEN,
FRA_TABLE, /* Extended table id */