Searched refs:is_route (Results 1 – 3 of 3) sorted by relevance
907 bool is_route; in config_parse_domains() local920 is_route = w[0] == '~'; in config_parse_domains()921 domain = is_route ? w + 1 : w; in config_parse_domains()926 is_route = true; in config_parse_domains()947 OrderedSet **set = is_route ? &n->route_domains : &n->search_domains; in config_parse_domains()
875 static int domains_build_json(Link *link, bool is_route, JsonVariant **ret) { in domains_build_json() argument893 link_domains = is_route ? link->route_domains : link->search_domains; in domains_build_json()894 network_domains = is_route ? link->network->route_domains : link->network->search_domains; in domains_build_json()895 use_domains = is_route ? DHCP_USE_DOMAINS_ROUTE : DHCP_USE_DOMAINS_YES; in domains_build_json()995 … r = json_build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR(is_route ? "RouteDomains" : "SearchDomains", in domains_build_json()
1354 bool is_route; in link_load_user() local1362 is_route = word[0] == '~'; in link_load_user()1363 n = is_route ? word + 1 : word; in link_load_user()1365 r = link_update_search_domain_one(l, n, is_route); in link_load_user()