netifd: Apply interface metric on configured interface gateway parameters
[project/netifd.git] / interface-ip.h
index b36c515..de8343d 100644 (file)
@@ -77,6 +77,7 @@ struct device_prefix {
 struct device_addr {
        struct vlist_node node;
        bool enabled;
+       bool failed;
 
        /* ipv4 only */
        uint32_t broadcast;
@@ -85,6 +86,7 @@ struct device_addr {
        /* ipv6 only */
        time_t valid_until;
        time_t preferred_until;
+       char *pclass;
 
        /* must be last */
        enum device_addr_flags flags;
@@ -98,6 +100,7 @@ struct device_route {
 
        bool enabled;
        bool keep;
+       bool failed;
 
        union if_addr nexthop;
        int mtu;