diff options
author | Steven Barth <steven@midlink.org> | 2013-05-11 12:56:02 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-05-11 12:56:02 +0200 |
commit | 587655b45085fcfc9c575792640c21c6ffb24f42 (patch) | |
tree | 00b5e2e5817ca0d248a177ff5480f3ed75465784 /interface-ip.h | |
parent | 19e05a68ba2c5d11480ddd23d9b0d5756cbc8183 (diff) |
IPv6: Use source-routing to allow multi-wan
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 607999e..cd6ec84 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -39,6 +39,9 @@ enum device_addr_flags { /* route resides in different table */ DEVROUTE_TABLE = (1 << 7), + + /* route resides in default source-route table */ + DEVROUTE_SRCTABLE = (1 << 8), }; union if_addr { @@ -141,5 +144,6 @@ struct device_prefix* interface_ip_add_device_prefix(struct interface *iface, struct in6_addr *excl_addr, uint8_t excl_length); void interface_ip_set_ula_prefix(const char *prefix); void interface_refresh_assignments(bool hint); +int interface_ip_resolve_v6_rtable(int ifindex); #endif |