Move iprule flushing to the init function to make the timing predictable
[project/netifd.git] / interface.h
index efd3560..d186903 100644 (file)
@@ -60,8 +60,12 @@ struct interface_ip_settings {
        bool no_defaultroute;
        bool no_dns;
 
+       uint8_t assignment_length;
+       int32_t assignment_hint;
+
        struct vlist_tree addr;
        struct vlist_tree route;
+       struct vlist_tree prefix;
 
        struct vlist_simple_tree dns_servers;
        struct vlist_simple_tree dns_search;
@@ -114,6 +118,8 @@ struct interface {
        struct vlist_tree host_routes;
 
        int metric;
+       unsigned int ip4table;
+       unsigned int ip6table;
 
        /* errors/warnings while trying to bring up the interface */
        struct list_head errors;
@@ -125,6 +131,7 @@ struct interface {
        struct ubus_object ubus;
 };
 
+
 extern struct vlist_tree interfaces;
 extern const struct config_param_list interface_attr_list;