Lines Matching refs:network
47 "/etc/systemd/network",
48 "/run/systemd/network",
49 "/usr/lib/systemd/network",
51 "/lib/systemd/network",
179 r = sd_bus_add_fallback_vtable(m->bus, NULL, "/org/freedesktop/network1/network", "org.freedesktop.network1.Network", network_vtable, network_object_find, m);
181 return log_error_errno(r, "Failed to add network object vtable: %m");
183 r = sd_bus_add_node_enumerator(m->bus, NULL, "/org/freedesktop/network1/network", network_node_enumerator, m);
185 return log_error_errno(r, "Failed to add network enumerator: %m");
866 if (!link->network)
870 r = ordered_set_put_strdupv(dns, link->network->dns);
874 r = ordered_set_put_strdupv(ntp, link->network->ntp);
878 r = ordered_set_put_strdupv(search_domains, link->network->search_domains);
882 r = ordered_set_put_strdupv(route_domains, link->network->route_domains);
890 if (link->network->dhcp_use_dns) {
902 if (link->network->dhcp_use_ntp) {
914 if (link->network->dhcp_use_domains != DHCP_USE_DOMAINS_NO) {
920 if (link->network->dhcp_use_domains == DHCP_USE_DOMAINS_YES)
974 return log_error_errno(r, "Failed to save network state to %s: %m", m->state_file);
1047 Network *network;
1061 while ((network = m->networks))
1062 network_free(network);
1100 if (!link->network)