summaryrefslogtreecommitdiff
path: root/src/udev/net/link-config.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-20 19:39:49 +0100
committerTom Gundersen <teg@jklm.no>2014-02-20 21:50:34 +0100
commit2cc412b59353576cece2d5b30c6a39c70552f0a0 (patch)
treedc8257a5b09b0ceca44ddda74d9df20f825e9842 /src/udev/net/link-config.h
parentb77c08e06b67d5b1dd8aaf67b732e93851d8ae43 (diff)
network/link: Match - filter on kernel cmdline, host and virt
Diffstat (limited to 'src/udev/net/link-config.h')
-rw-r--r--src/udev/net/link-config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h
index 4fc8963114..0dc156d401 100644
--- a/src/udev/net/link-config.h
+++ b/src/udev/net/link-config.h
@@ -23,6 +23,7 @@
#include "ethtool-util.h"
+#include "condition-util.h"
#include "libudev.h"
#include "util.h"
#include "list.h"
@@ -54,6 +55,9 @@ struct link_config {
char *match_path;
char *match_driver;
char *match_type;
+ Condition *match_host;
+ Condition *match_virt;
+ Condition *match_kernel;
char *description;
struct ether_addr *mac;