Searched defs:domains (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp6-lease-internal.h44 char **domains; member in struct:sd_dhcp6_lease
H A Dsd-dhcp6-lease.c217 char **domains; local
225 r = dhcp6_option_parse_domainname(optval, optlen, &domains);
229 free(lease->domains);
230 lease->domains = domains;
236 int sd_dhcp6_lease_get_domains(sd_dhcp6_lease *lease, char ***domains) { argument
238 assert_return(domains, -EINVAL);
241 *domains = lease->domains;
387 lease->domains
[all...]
H A Dtest-dhcp6-client.c218 char **domains; local
340 r = sd_dhcp6_lease_get_domains(lease, &domains);
342 assert_se(!strcmp("lab.intra", domains[0]));
343 assert_se(domains[1] == NULL);
363 char **domains; local
370 assert_se(sd_dhcp6_lease_get_domains(lease, &domains) == 1);
371 assert_se(!strcmp("lab.intra", domains[0]));
372 assert_se(domains[1] == NULL);
563 char **domains; local
570 assert_se(sd_dhcp6_lease_get_domains(lease, &domains)
[all...]
/systemd/src/resolve/
H A Dresolved-resolv-conf.c114 /* Flush out all servers and search domains that are still
127 * resolve VPN domains. */
179 fputs(" # Too many search domains configured, remaining ones ignored.", f);
181 fputs(" # Total length of all search domains is too long, remaining ones ignored.", f);
193 static int write_resolv_conf_contents(FILE *f, OrderedSet *dns, OrderedSet *domains) { argument
212 if (!ordered_set_isempty(domains)) {
217 ORDERED_SET_FOREACH(domain, domains, i)
227 _cleanup_ordered_set_free_ OrderedSet *dns = NULL, *domains = NULL; local
242 r = manager_compile_search_domains(m, &domains);
252 r = write_resolv_conf_contents(f, dns, domains);
[all...]
H A Dresolved-manager.c1113 /* First add the system-wide servers and domains */
1147 int manager_compile_search_domains(Manager *m, OrderedSet **domains) { argument
1154 assert(domains);
1156 r = ordered_set_ensure_allocated(domains, &dns_name_hash_ops);
1160 LIST_FOREACH(domains, d, m->search_domains) {
1161 r = ordered_set_put(*domains, d->name);
1170 LIST_FOREACH(domains, d, l->search_domains) {
1171 r = ordered_set_put(*domains, d->name);

Completed in 22 milliseconds