chiark / gitweb /
networkd: allow specification of DHCP route metric
[elogind.git] / src / network / networkd.h
index ab5df1aa3c57952dc9549f2da85332dd966771f4..7c5459b6ac218b2c945d2189bc2eaf19294f2418 100644 (file)
@@ -100,6 +100,7 @@ struct Network {
         bool dhcp_broadcast;
         bool dhcp_critical;
         bool dhcp_routes;
+        unsigned dhcp_route_metric;
         bool ipv4ll;
         bool ipv4ll_route;
 
@@ -150,6 +151,7 @@ struct Route {
 
         union in_addr_union in_addr;
         union in_addr_union dst_addr;
+        union in_addr_union prefsrc_addr;
 
         LIST_FIELDS(Route, routes);
 };