Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dtest-dhcp-client.c52 assert_se(sd_dhcp_client_set_request_option(NULL, 0) == -EINVAL); in test_request_basic()
68 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_SUBNET_MASK) == 0); in test_request_basic()
69 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_ROUTER) == 0); in test_request_basic()
72 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_HOST_NAME) == 0); in test_request_basic()
73 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_DOMAIN_NAME) == 0); in test_request_basic()
74 … assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_DOMAIN_NAME_SERVER) == 0); in test_request_basic()
76 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_PAD) == -EINVAL); in test_request_basic()
77 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_END) == -EINVAL); in test_request_basic()
78 … assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_MESSAGE_TYPE) == -EINVAL); in test_request_basic()
79 assert_se(sd_dhcp_client_set_request_option(client, SD_DHCP_OPTION_OVERLOAD) == -EINVAL); in test_request_basic()
[all …]
Dsd-dhcp-client.c246 int sd_dhcp_client_set_request_option(sd_dhcp_client *client, uint8_t option) { in sd_dhcp_client_set_request_option() function
2272 r = sd_dhcp_client_set_request_option(client, opts[i]); in sd_dhcp_client_new()
/systemd-251/src/network/
Dnetworkd-dhcp4.c1411 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_MTU_INTERFACE); in dhcp4_configure()
1417 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_STATIC_ROUTE); in dhcp4_configure()
1421 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_CLASSLESS_STATIC_ROUTE); in dhcp4_configure()
1427 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_DOMAIN_SEARCH); in dhcp4_configure()
1433 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_NTP_SERVER); in dhcp4_configure()
1439 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_SIP_SERVER); in dhcp4_configure()
1445 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_TZDB_TIMEZONE); in dhcp4_configure()
1451 … r = sd_dhcp_client_set_request_option(link->dhcp_client, SD_DHCP_OPTION_6RD); in dhcp4_configure()
1459 r = sd_dhcp_client_set_request_option(link->dhcp_client, option); in dhcp4_configure()
/systemd-251/src/systemd/
Dsd-dhcp-client.h232 int sd_dhcp_client_set_request_option(