Lines Matching refs:dhcp

816         r = dhcp_message_init(&packet->dhcp, BOOTREQUEST, client->xid, type,  in client_message_init()
832 packet->dhcp.secs = htobe16(secs); in client_message_init()
846 packet->dhcp.flags = htobe16(0x8000); in client_message_init()
871 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0, in client_message_init()
909 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0, in client_message_init()
942 r = dhcp_option_append(&packet->dhcp, client->mtu, &optoffset, 0, in client_message_init()
1005 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1009 r = client_append_fqdn_option(&packet->dhcp, optlen, optoffset, in client_append_common_discover_request_options()
1016 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1025 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1034 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1043 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1051 &packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
1084 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0, in client_send_discover()
1095 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0, in client_send_discover()
1135 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0, in client_send_request()
1141 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0, in client_send_request()
1154 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0, in client_send_request()
1174 request->dhcp.ciaddr = client->lease->address; in client_send_request()
1190 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0, in client_send_request()
1199 &request->dhcp, in client_send_request()
2039 (void) client_handle_message(client, &packet->dhcp, len); in client_receive_message_raw()
2104 release->dhcp.ciaddr = client->lease->address; in sd_dhcp_client_send_release()
2105 memcpy(&release->dhcp.chaddr, &client->mac_addr, client->mac_addr_len); in sd_dhcp_client_send_release()
2107 r = dhcp_option_append(&release->dhcp, optlen, &optoffset, 0, in sd_dhcp_client_send_release()
2115 &release->dhcp, in sd_dhcp_client_send_release()
2138 release->dhcp.ciaddr = client->lease->address; in sd_dhcp_client_send_decline()
2139 memcpy(&release->dhcp.chaddr, &client->mac_addr, client->mac_addr_len); in sd_dhcp_client_send_decline()
2141 r = dhcp_option_append(&release->dhcp, optlen, &optoffset, 0, in sd_dhcp_client_send_decline()
2149 &release->dhcp, in sd_dhcp_client_send_decline()