Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dtest-dhcp6-client.c99 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_CLIENTID) == -EINVAL); in TEST()
100 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_DNS_SERVER) >= 0); in TEST()
101 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NTP_SERVER) >= 0); in TEST()
102 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_SNTP_SERVER) >= 0); in TEST()
103 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_DOMAIN) >= 0); in TEST()
104 assert_se(sd_dhcp6_client_set_request_option(client, 10) == -EINVAL); in TEST()
105 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NIS_SERVER) >= 0); in TEST()
106 assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NISP_SERVER) >= 0); in TEST()
107 … assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NIS_SERVER) == -EEXIST); in TEST()
108 … assert_se(sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NISP_SERVER) == -EEXIST); in TEST()
[all …]
Dsd-dhcp6-client.c372 int sd_dhcp6_client_set_request_option(sd_dhcp6_client *client, uint16_t option) { in sd_dhcp6_client_set_request_option() function
/systemd-251/src/network/
Dnetworkd-dhcp6.c626 r = sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_DNS_SERVER); in dhcp6_configure()
632 r = sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_DOMAIN); in dhcp6_configure()
638 r = sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_NTP_SERVER); in dhcp6_configure()
643 r = sd_dhcp6_client_set_request_option(client, SD_DHCP6_OPTION_SNTP_SERVER); in dhcp6_configure()
651 r = sd_dhcp6_client_set_request_option(client, option); in dhcp6_configure()
/systemd-251/src/systemd/
Dsd-dhcp6-client.h239 int sd_dhcp6_client_set_request_option(