summaryrefslogtreecommitdiff
path: root/interface-ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index 91358b8..ab78bf7 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -36,6 +36,9 @@ enum device_addr_flags {
/* address is off-link (no subnet-route) */
DEVADDR_OFFLINK = (1 << 6),
+
+ /* route resides in different table */
+ DEVROUTE_TABLE = (1 << 7),
};
union if_addr {
@@ -93,6 +96,7 @@ struct device_route {
union if_addr nexthop;
int mtu;
+ unsigned int table;
time_t valid_until;
/* must be last */