Searched refs:dhcp_server (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/network/ |
D | networkd-dhcp-server.c | 38 return link->network->dhcp_server; in link_dhcp4_server_enabled() 44 if (!network->dhcp_server) in network_adjust_dhcp_server() 50 network->dhcp_server = false; in network_adjust_dhcp_server() 81 network->dhcp_server = false; in network_adjust_dhcp_server() 362 return sd_dhcp_server_set_dns(link->dhcp_server, addresses, n_addresses); in dhcp4_server_set_dns_from_resolve_conf() 378 if (link->dhcp_server) in dhcp4_server_configure() 381 r = sd_dhcp_server_new(&link->dhcp_server, link->ifindex); in dhcp4_server_configure() 385 r = sd_dhcp_server_attach_event(link->dhcp_server, link->manager->event, 0); in dhcp4_server_configure() 389 r = sd_dhcp_server_set_callback(link->dhcp_server, dhcp_server_callback, link); in dhcp4_server_configure() 398 … r = sd_dhcp_server_configure_pool(link->dhcp_server, &address->in_addr.in, address->prefixlen, in dhcp4_server_configure() [all …]
|
D | networkd-dhcp-server-bus.c | 28 s = l->dhcp_server; in property_get_leases()
|
D | networkd-link-bus.c | 616 if (l->dhcp_server) { in bus_link_method_force_renew() 617 r = sd_dhcp_server_forcerenew(l->dhcp_server); in bus_link_method_force_renew() 881 if (streq(interface, "org.freedesktop.network1.DHCPServer") && !link->dhcp_server) in link_object_find()
|
D | networkd-link.c | 186 link->dhcp_server = sd_dhcp_server_unref(link->dhcp_server); in link_free_engines() 339 k = sd_dhcp_server_stop(link->dhcp_server); in link_stop_engines() 623 if (link->dhcp_server) { in link_acquire_dynamic_ipv4_conf() 624 r = sd_dhcp_server_start(link->dhcp_server); in link_acquire_dynamic_ipv4_conf() 2365 if (link->dhcp_server) { in link_update_name() 2366 r = sd_dhcp_server_set_ifname(link->dhcp_server, link->ifname); in link_update_name()
|
D | networkd-link.h | 146 sd_dhcp_server *dhcp_server; member
|
D | networkd-network.h | 184 bool dhcp_server; member
|
D | networkd-network.c | 185 if (network->dhcp_server) { in network_verify() 188 network->dhcp_server = false; in network_verify()
|
D | networkd-network-gperf.gperf | 105 … 0, offsetof(Network, dhcp_server)
|