summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-20 19:56:50 +0100
committerTom Gundersen <teg@jklm.no>2014-02-20 22:12:25 +0100
commitc0dda18697e0994272c0c9616d36f6777b60e2c7 (patch)
tree736fc238bdc6278dc82ecce6dd05cd087130bf58 /src/network/networkd.h
parent2cc412b59353576cece2d5b30c6a39c70552f0a0 (diff)
networkd: netdev - allow filtering on kernel cmdline, host and virt
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index f16226ad7d..8008df5a79 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -71,6 +71,10 @@ struct NetDev {
char *filename;
+ Condition *condition_host;
+ Condition *condition_virt;
+ Condition *condition_kernel;
+
char *description;
char *name;
NetDevKind kind;
@@ -242,6 +246,9 @@ NetDevKind netdev_kind_from_string(const char *d) _pure_;
int config_parse_netdev_kind(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+/* gperf */
+const struct ConfigPerfItem* network_netdev_gperf_lookup(const char *key, unsigned length);
+
/* Network */
int network_load(Manager *manager);
@@ -267,8 +274,7 @@ int config_parse_vlan(const char *unit, const char *filename, unsigned line,
int ltype, const char *rvalue, void *data, void *userdata);
/* gperf */
-
-const struct ConfigPerfItem* network_gperf_lookup(const char *key, unsigned length);
+const struct ConfigPerfItem* network_network_gperf_lookup(const char *key, unsigned length);
/* Route */
int route_new_static(Network *network, unsigned section, Route **ret);