From 09ae3bfa2ad7a3a9630fdf290b872a2d7673843f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 4 Apr 2013 14:41:38 +0200 Subject: Implement support for route / route6 table attribute --- interface-ip.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'interface-ip.h') 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 */ -- cgit v1.2.1