Move iprule flushing to the init function to make the timing predictable
[project/netifd.git] / interface.h
index b8c9cad..d186903 100644 (file)
@@ -59,7 +59,9 @@ struct interface_ip_settings {
        bool enabled;
        bool no_defaultroute;
        bool no_dns;
+
        uint8_t assignment_length;
+       int32_t assignment_hint;
 
        struct vlist_tree addr;
        struct vlist_tree route;
@@ -116,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;