Home
last modified time | relevance | path

Searched refs:route_only (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/resolve/
Dresolved-conf.c80 bool route_only; in manager_add_search_domain_by_string() local
86 route_only = *domain == '~'; in manager_add_search_domain_by_string()
87 if (route_only) in manager_add_search_domain_by_string()
91 route_only = true; in manager_add_search_domain_by_string()
106 d->route_only = route_only; in manager_add_search_domain_by_string()
Dresolved-link-bus.c156 r = sd_bus_message_append(reply, "(sb)", d->name, d->route_only); in property_get_domains()
373 int route_only; in bus_link_method_set_domains() local
375 r = sd_bus_message_read(message, "(sb)", &name, &route_only); in bus_link_method_set_domains()
386 if (!route_only && dns_name_is_root(name)) in bus_link_method_set_domains()
389 if (route_only) { in bus_link_method_set_domains()
421 int route_only; in bus_link_method_set_domains() local
423 r = sd_bus_message_read(message, "(sb)", &name, &route_only); in bus_link_method_set_domains()
443 d->route_only = route_only; in bus_link_method_set_domains()
Dresolved-dns-search-domain.h27 bool route_only:1; member
Dresolved-dns-scope.c674 if (!d->route_only && !dns_name_is_root(d->name)) in dns_scope_good_domain()
1585 bool route_only = false; in dns_scope_has_route_only_domains() local
1608 if (domain->route_only) in dns_scope_has_route_only_domains()
1609 route_only = true; in dns_scope_has_route_only_domains()
1612 return route_only; in dns_scope_has_route_only_domains()
Dresolved-link.c488 static int link_update_search_domain_one(Link *l, const char *name, bool route_only) { in link_update_search_domain_one() argument
506 d->route_only = route_only; in link_update_search_domain_one()
1235 if (domain->route_only) in link_save_user()
Dresolved-manager.c1400 d->route_only != !!filter_route) in manager_compile_search_domains()
1415 d->route_only != !!filter_route) in manager_compile_search_domains()
Dresolvectl.c1310 int ifindex, route_only, r; in read_domain_one() local
1317 r = sd_bus_message_read(m, "(isb)", &ifindex, &domain, &route_only); in read_domain_one()
1319 r = sd_bus_message_read(m, "(sb)", &domain, &route_only); in read_domain_one()
1329 if (route_only) in read_domain_one()
Dresolved-bus.c1610 r = sd_bus_message_append(reply, "(isb)", 0, d->name, d->route_only); in bus_property_get_domains()
1617 … r = sd_bus_message_append(reply, "(isb)", l->ifindex, d->name, d->route_only); in bus_property_get_domains()
Dresolved-dns-query.c106 if (!next->route_only) in dns_query_candidate_next_search_domain()
/systemd-251/src/network/
Dnetworkd-link-bus.c208 int route_only; in bus_link_method_set_domains() local
210 r = sd_bus_message_read(message, "(sb)", &name, &route_only); in bus_link_method_set_domains()
221 if (!route_only && dns_name_is_root(name)) in bus_link_method_set_domains()
228 r = ordered_set_consume(route_only ? route_domains : search_domains, TAKE_PTR(str)); in bus_link_method_set_domains()