X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface-ip.h;h=607999e74b376b5234de3537f559e7fd95f36a68;hp=91358b84944bb1311cd06a9d15893e1717316711;hb=abba48ec2eac7965adac2c590d4d233c03b27c72;hpb=48ffedb4a2b6701eec99e32e91b8a66a0a4be950 diff --git a/interface-ip.h b/interface-ip.h index 91358b8..607999e 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 { @@ -98,6 +101,7 @@ struct device_route { /* must be last */ enum device_addr_flags flags; int metric; // there can be multiple routes to the same target + unsigned int table; unsigned int mask; union if_addr addr; };