summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-05-17 16:24:37 +0200
committerSteven Barth <steven@midlink.org>2013-05-17 16:24:37 +0200
commit2f31bff38d4dc2f36006ded6b8a7d039cb569eaa (patch)
tree0712ef82fedf0c105d9c587637f7c4ae1920a0b7 /interface.h
parentbc4a4bb127622c76085ecec7fd20448aad7bafaf (diff)
downloadnetifd-2f31bff38d4dc2f36006ded6b8a7d039cb569eaa.tar.gz
Add option to define target routing table for protocol routes.
This unifies source-routing for both IPv6 and IPv4 (default off). Based on a patch by Kristian Evensen
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 0c56b36..d186903 100644
--- a/interface.h
+++ b/interface.h
@@ -118,6 +118,8 @@ struct interface {
struct vlist_tree host_routes;
int metric;
+ unsigned int ip4table;
+ unsigned int ip6table;
/* errors/warnings while trying to bring up the interface */
struct list_head errors;