diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-05-03 00:53:40 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-05-03 00:53:40 +0200 |
commit | f6fb6bee2c29f31d13d0b0288f4f680b6b56e9ba (patch) | |
tree | 1bf7e863882ff56f93ecb493c5ab55e0471112fa /interface.h | |
parent | 273550337f70b8b2175875e0c4f0bbd483cfe326 (diff) | |
download | netifd-f6fb6bee2c29f31d13d0b0288f4f680b6b56e9ba.tar.gz |
add routes/gateway support
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 4 |
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 |