Home
last modified time | relevance | path

Searched refs:sd_dhcp_client_set_hostname (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd-network/
Dtest-dhcp-client.c62 assert_se(sd_dhcp_client_set_hostname(client, "host") == 1); in test_request_basic()
63 assert_se(sd_dhcp_client_set_hostname(client, "host.domain") == 1); in test_request_basic()
64 assert_se(sd_dhcp_client_set_hostname(client, NULL) == 1); in test_request_basic()
65 assert_se(sd_dhcp_client_set_hostname(client, "~host") == -EINVAL); in test_request_basic()
66 assert_se(sd_dhcp_client_set_hostname(client, "~host.domain") == -EINVAL); in test_request_basic()
Dsd-dhcp-client.c559 int sd_dhcp_client_set_hostname( in sd_dhcp_client_set_hostname() function
/systemd-251/src/systemd/
Dsd-dhcp-client.h293 int sd_dhcp_client_set_hostname(
/systemd-251/src/network/
Dnetworkd-dhcp4.c1235 r = sd_dhcp_client_set_hostname(link->dhcp_client, hn); in dhcp4_set_hostname()