summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-03 00:53:40 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-05-03 00:53:40 +0200
commitf6fb6bee2c29f31d13d0b0288f4f680b6b56e9ba (patch)
tree1bf7e863882ff56f93ecb493c5ab55e0471112fa /interface.h
parent273550337f70b8b2175875e0c4f0bbd483cfe326 (diff)
downloadnetifd-f6fb6bee2c29f31d13d0b0288f4f680b6b56e9ba.tar.gz
add routes/gateway support
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 2d13b48..480f759 100644
--- a/interface.h
+++ b/interface.h
@@ -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