interface-ip: add support for excluding interfaces in host route lookup
[project/netifd.git] / interface-ip.h
index b17ad94c5159a8720fe2044573aac7dedf0fcf65..8843349b2de8227df6d2eabcfc99aa27b47fc04b 100644 (file)
@@ -184,7 +184,8 @@ void interface_ip_flush(struct interface_ip_settings *ip);
 void interface_ip_set_enabled(struct interface_ip_settings *ip, bool enabled);
 void interface_ip_update_metric(struct interface_ip_settings *ip, int metric);
 
-struct interface *interface_ip_add_target_route(union if_addr *addr, bool v6, struct interface *iface);
+struct interface *interface_ip_add_target_route(union if_addr *addr, bool v6, struct interface *iface,
+                                               bool exclude);
 
 struct device_prefix* interface_ip_add_device_prefix(struct interface *iface,
                struct in6_addr *addr, uint8_t length, time_t valid_until, time_t preferred_until,