summaryrefslogtreecommitdiffstats
path: root/src/udev/net/link-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/net/link-config.h')
-rw-r--r--src/udev/net/link-config.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h
index eab1849fcd..1beecb10ea 100644
--- a/src/udev/net/link-config.h
+++ b/src/udev/net/link-config.h
@@ -7,7 +7,7 @@
#include "conf-parser.h"
#include "ethtool-util.h"
#include "list.h"
-#include "set.h"
+#include "net-condition.h"
typedef struct link_config_ctx link_config_ctx;
typedef struct link_config link_config;
@@ -35,13 +35,7 @@ typedef enum NamePolicy {
struct link_config {
char *filename;
- Set *match_mac;
- Set *match_permanent_mac;
- char **match_path;
- char **match_driver;
- char **match_type;
- char **match_name;
- char **match_property;
+ NetMatch match;
LIST_HEAD(Condition, conditions);
char *description;
@@ -93,6 +87,7 @@ MACAddressPolicy mac_address_policy_from_string(const char *p) _pure_;
/* gperf lookup function */
const struct ConfigPerfItem* link_config_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
+CONFIG_PARSER_PROTOTYPE(config_parse_ifalias);
CONFIG_PARSER_PROTOTYPE(config_parse_mac_address_policy);
CONFIG_PARSER_PROTOTYPE(config_parse_name_policy);
CONFIG_PARSER_PROTOTYPE(config_parse_alternative_names_policy);