Searched refs:default_route (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/resolve/ |
D | resolved-link.c | 38 .default_route = -1, in link_new() 65 l->default_route = -1; in link_flush_settings() 327 l->default_route = r > 0; in link_update_default_route() 331 l->default_route = -1; in link_update_default_route() 1163 if (l->default_route >= 0) in link_needs_save() 1207 if (l->default_route >= 0) in link_save_user() 1208 fprintf(f, "DEFAULT_ROUTE=%s\n", yes_no(l->default_route)); in link_save_user() 1287 *default_route = NULL; in link_load_user() local 1311 "DEFAULT_ROUTE", &default_route); in link_load_user() 1328 r = parse_boolean(default_route); in link_load_user() [all …]
|
D | resolved-link-bus.c | 179 if (l->default_route >= 0) in property_get_default_route() 180 return sd_bus_message_append(reply, "b", l->default_route); in property_get_default_route() 495 if (l->default_route != b) { in bus_link_method_set_default_route() 496 l->default_route = b; in bus_link_method_set_default_route()
|
D | resolved-link.h | 57 int default_route; member
|
D | resolved-dns-scope.c | 1628 if (scope->link->default_route >= 0) in dns_scope_is_default_route() 1629 return scope->link->default_route; in dns_scope_is_default_route()
|
D | resolvectl.c | 1426 bool default_route; member 1496 if (strv_extendf(&s, "%sDefaultRoute", plus_minus(info->default_route)) < 0) in link_protocol_status() 1544 …, "b", NULL, offsetof(LinkInfo, default_route) }, in status_ifindex() 1602 yes_no(link_info.default_route)); in status_ifindex()
|