proto-shell: don't accept up-notifications in teardown state
[project/netifd.git] / interface.h
index c3a4379..1cd7e96 100644 (file)
@@ -102,6 +102,9 @@ struct interface {
        bool autostart;
        bool config_autostart;
        bool device_config;
+       bool enabled;
+       bool link_state;
+       bool force_link;
        bool dynamic;
 
        time_t start_time;
@@ -116,6 +119,7 @@ struct interface {
 
        /* main interface that the interface is bound to */
        struct device_user main_dev;
+       struct device_user ext_dev;
 
        /* interface that layer 3 communication will go through */
        struct device_user l3_dev;