chiark / gitweb /
.network/.netdev/.link: allow to match on architecture
[elogind.git] / src / udev / net / link-config.h
index a55c6f5f05d66ab37d73acf60ef47ab664f57cec..9d2eaff37cc44884e2f3e512a3b07f22dfc4c132 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "ethtool-util.h"
 
+#include "condition-util.h"
 #include "libudev.h"
 #include "util.h"
 #include "list.h"
@@ -38,6 +39,7 @@ typedef enum MACPolicy {
 } MACPolicy;
 
 typedef enum NamePolicy {
+        NAMEPOLICY_DATABASE,
         NAMEPOLICY_ONBOARD,
         NAMEPOLICY_SLOT,
         NAMEPOLICY_PATH,
@@ -53,6 +55,10 @@ struct link_config {
         char *match_path;
         char *match_driver;
         char *match_type;
+        Condition *match_host;
+        Condition *match_virt;
+        Condition *match_kernel;
+        Condition *match_arch;
 
         char *description;
         struct ether_addr *mac;