diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 14:41:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 14:44:16 +0200 |
commit | 09ae3bfa2ad7a3a9630fdf290b872a2d7673843f (patch) | |
tree | b7d2a9324a84b8118a858ca7bd809f57abda043c /interface-ip.h | |
parent | 48ffedb4a2b6701eec99e32e91b8a66a0a4be950 (diff) |
Implement support for route / route6 table attribute
Diffstat (limited to 'interface-ip.h')
-rw-r--r-- | interface-ip.h | 4 |
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 */ |