diff options
author | Steven Barth <steven@midlink.org> | 2013-05-17 16:24:37 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-05-17 16:24:37 +0200 |
commit | 2f31bff38d4dc2f36006ded6b8a7d039cb569eaa (patch) | |
tree | 0712ef82fedf0c105d9c587637f7c4ae1920a0b7 /iprule.h | |
parent | bc4a4bb127622c76085ecec7fd20448aad7bafaf (diff) |
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 'iprule.h')
-rw-r--r-- | iprule.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ #include "interface-ip.h" +#define IPRULE_PRIORITY_ADDR 80000 +#define IPRULE_PRIORITY_NW 90000 + enum iprule_flags { /* address family for rule */ IPRULE_INET4 = (0 << 0), |