add routes/gateway support
[project/netifd.git] / interface.h
index 2d13b482c7f0520ee7ff198592d2976d8295e83a..480f7595c8a02159c10457c4c5266258c24f43d7 100644 (file)
@@ -77,6 +77,10 @@ int interface_add_address(struct interface *iface, struct device_addr *addr);
 void interface_del_address(struct interface *iface, struct device_addr *addr);
 void interface_del_ctx_addr(struct interface *iface, void *ctx);
 
+int interface_add_route(struct interface *iface, struct device_route *route);
+void interface_del_route(struct interface *iface, struct device_route *route);
+void interface_del_all_routes(struct interface *iface);
+
 void start_pending_interfaces(void);
 
 #endif