X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=7454d54c0b6366faede81f8bb447655a64c2f598;hp=12176ce7175ed77c3d46d035f2e923a6143840b0;hb=0942c9368654ee1a0518bbeaf291a51852c11543;hpb=91fa29a0d17b40963f67f08e740ca0a07365db90 diff --git a/device.h b/device.h index 12176ce..7454d54 100644 --- 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);