Lines Matching refs:dhcp_client
1235 r = sd_dhcp_client_set_hostname(link->dhcp_client, hn); in dhcp4_set_hostname()
1250 assert(link->dhcp_client); in dhcp4_set_client_identifier()
1258 r = sd_dhcp_client_set_iaid_duid_llt(link->dhcp_client, in dhcp4_set_client_identifier()
1263 r = sd_dhcp_client_set_iaid_duid(link->dhcp_client, in dhcp4_set_client_identifier()
1278 r = sd_dhcp_client_set_duid_llt(link->dhcp_client, in dhcp4_set_client_identifier()
1281 r = sd_dhcp_client_set_duid(link->dhcp_client, in dhcp4_set_client_identifier()
1299 r = sd_dhcp_client_set_client_id(link->dhcp_client, in dhcp4_set_client_identifier()
1319 assert(link->dhcp_client); in dhcp4_set_request_address()
1338 return sd_dhcp_client_set_request_address(link->dhcp_client, &a->in_addr.in); in dhcp4_set_request_address()
1373 if (link->dhcp_client) in dhcp4_configure()
1376 r = sd_dhcp_client_new(&link->dhcp_client, link->network->dhcp_anonymize); in dhcp4_configure()
1380 r = sd_dhcp_client_attach_event(link->dhcp_client, link->manager->event, 0); in dhcp4_configure()
1384 r = sd_dhcp_client_set_mac(link->dhcp_client, in dhcp4_configure()
1391 r = sd_dhcp_client_set_ifindex(link->dhcp_client, link->ifindex); in dhcp4_configure()
1395 r = sd_dhcp_client_set_callback(link->dhcp_client, dhcp4_handler, link); in dhcp4_configure()
1399 … r = sd_dhcp_client_set_request_broadcast(link->dhcp_client, link_needs_dhcp_broadcast(link)); in dhcp4_configure()
1404 r = sd_dhcp_client_set_mtu(link->dhcp_client, link->mtu); in dhcp4_configure()
1411 … 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()
1465 r = sd_dhcp_client_add_option(link->dhcp_client, send_option); in dhcp4_configure()
1473 r = sd_dhcp_client_add_vendor_option(link->dhcp_client, send_option); in dhcp4_configure()
1485 r = sd_dhcp_client_set_vendor_class_identifier(link->dhcp_client, in dhcp4_configure()
1492 … r = sd_dhcp_client_set_mud_url(link->dhcp_client, link->network->dhcp_mudurl); in dhcp4_configure()
1498 … r = sd_dhcp_client_set_user_class(link->dhcp_client, link->network->dhcp_user_class); in dhcp4_configure()
1505 … r = sd_dhcp_client_set_client_port(link->dhcp_client, link->network->dhcp_client_port); in dhcp4_configure()
1511 … r = sd_dhcp_client_set_max_attempts(link->dhcp_client, link->network->dhcp_max_attempts); in dhcp4_configure()
1517 … r = sd_dhcp_client_set_service_type(link->dhcp_client, link->network->dhcp_ip_service_type); in dhcp4_configure()
1523 …r = sd_dhcp_client_set_fallback_lease_lifetime(link->dhcp_client, link->network->dhcp_fallback_lea… in dhcp4_configure()
1540 if (!link->dhcp_client) in dhcp4_update_mac()
1543 r = sd_dhcp_client_set_mac(link->dhcp_client, link->hw_addr.bytes, in dhcp4_update_mac()
1557 if (!link->dhcp_client) in dhcp4_start()
1563 if (sd_dhcp_client_is_running(link->dhcp_client) > 0) in dhcp4_start()
1566 r = sd_dhcp_client_start(link->dhcp_client); in dhcp4_start()
1620 if (link->dhcp_client) in link_request_dhcp4_client()