diff options
author | Tom Gundersen <teg@jklm.no> | 2014-08-15 14:21:08 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-08-15 15:15:24 +0200 |
commit | 6192b846ca0d15602e94ddb5da4420b7c60d64a5 (patch) | |
tree | aff8d3115a6fc783c95167a221a0069a82f4c9b2 /src/network/networkd.h | |
parent | 2f3a215f61d758cd59b3be5b65976a12401ac4ff (diff) |
networkd: add support for Domains= to .network files
This allows the search/routing domanis to be specified per link/network and be passed
on to resolved.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index 90e798dbf5..a9867d9e7f 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -111,7 +111,7 @@ struct Network { Hashmap *addresses_by_section; Hashmap *routes_by_section; - char **dns, **ntp; + char **domains, **dns, **ntp; LLMNRSupport llmnr; @@ -224,6 +224,17 @@ int config_parse_netdev(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); +int config_parse_domains(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); + int config_parse_tunnel(const char *unit, const char *filename, unsigned line, |