X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface-ip.h;h=ab78bf75b5da41f2a73e765b29d53769138bd4b7;hp=91358b84944bb1311cd06a9d15893e1717316711;hb=09ae3bfa2ad7a3a9630fdf290b872a2d7673843f;hpb=48ffedb4a2b6701eec99e32e91b8a66a0a4be950 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 */