convert interface event queueing to global interface notifier
[project/netifd.git] / device.h
index 12176ce..7454d54 100644 (file)
--- a/device.h
+++ b/device.h
@@ -23,6 +23,7 @@ enum {
 enum dev_change_type {
        DEV_CONFIG_NO_CHANGE,
        DEV_CONFIG_APPLIED,
+       DEV_CONFIG_RESTART,
        DEV_CONFIG_RECREATE,
 };
 
@@ -112,6 +113,7 @@ struct device {
 
        struct device_user parent;
 
+       struct device_settings orig_settings;
        struct device_settings settings;
 };
 
@@ -124,6 +126,7 @@ struct device_hotplug_ops {
 extern const struct config_param_list device_attr_list;
 extern const struct device_type simple_device_type;
 extern const struct device_type bridge_device_type;
+extern const struct device_type tunnel_device_type;
 
 void device_lock(void);
 void device_unlock(void);