make config_init_devices static
[project/netifd.git] / interface.h
index f66b5b9..0f2eb85 100644 (file)
@@ -46,6 +46,8 @@ struct interface {
        /* interface that layer 3 communication will go through */
        struct device_user *l3_iface;
 
+       struct config_state config;
+
        /* primary protocol state */
        const struct proto_handler *proto_handler;
        struct interface_proto_state *proto;
@@ -75,14 +77,6 @@ void interface_remove_link(struct interface *iface, struct device *llif);
 void interface_add_error(struct interface *iface, const char *subsystem,
                         const char *code, const char **data, int n_data);
 
-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 interface_start_pending(void);
 
 #endif