Lines Matching refs:optlen

796         size_t optlen, optoffset, size;  in client_message_init()  local
809 optlen = DHCP_MIN_OPTIONS_SIZE; in client_message_init()
810 size = sizeof(DHCPPacket) + optlen; in client_message_init()
818 optlen, &optoffset); 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()
949 *_optlen = optlen; in client_message_init()
958 size_t optlen, in client_append_fqdn_option() argument
972 r = dhcp_option_append(message, optlen, optoffset, 0, in client_append_fqdn_option()
990 …ver_request_options(sd_dhcp_client *client, DHCPPacket *packet, size_t *optoffset, size_t optlen) { in client_append_common_discover_request_options() argument
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()
1064 size_t optoffset, optlen; in client_send_discover() local
1071 &optlen, &optoffset); in client_send_discover()
1084 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0, in client_send_discover()
1091 r = client_append_common_discover_request_options(client, discover, &optoffset, optlen); in client_send_discover()
1095 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0, in client_send_discover()
1115 size_t optoffset, optlen; in client_send_request() local
1120 r = client_message_init(client, &request, DHCP_REQUEST, &optlen, &optoffset); in client_send_request()
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()
1186 r = client_append_common_discover_request_options(client, request, &optoffset, optlen); in client_send_request()
1190 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0, in client_send_request()
2096 size_t optoffset, optlen; in sd_dhcp_client_send_release() local
2099 r = client_message_init(client, &release, DHCP_RELEASE, &optlen, &optoffset); in sd_dhcp_client_send_release()
2107 r = dhcp_option_append(&release->dhcp, optlen, &optoffset, 0, in sd_dhcp_client_send_release()
2131 size_t optoffset, optlen; in sd_dhcp_client_send_decline() local
2134 r = client_message_init(client, &release, DHCP_DECLINE, &optlen, &optoffset); in sd_dhcp_client_send_decline()
2141 r = dhcp_option_append(&release->dhcp, optlen, &optoffset, 0, in sd_dhcp_client_send_decline()