Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c182 static int send_request(int sock, struct tftpc *client, in send_request() function
268 ret = send_request(sock, client, READ_REQUEST, remote_file, mode); in tftp_get()
393 ret = send_request(sock, client, WRITE_REQUEST, remote_file, mode); in tftp_put()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c36 static int send_request(int sock, const void *buf, size_t len, int flags, in send_request() function
441 ret = send_request(sock, internal_req->request.data, internal_req->request.offset, 0, in coap_client_req()
507 ret = send_request(client->fd, internal_req->request.data, in resend_request()
693 ret = send_request(client->fd, ack.data, ack.offset, 0, &client->address, client->socklen); in send_ack()
713 ret = send_request(client->fd, rst.data, rst.offset, 0, &client->address, client->socklen); in send_rst()
859 ret = send_request(client->fd, internal_req->request.data, in handle_response()
983 ret = send_request(client->fd, internal_req->request.data, in handle_response()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c988 static bool send_request(struct hawkbit_context *hb_context, enum hawkbit_http_request type, in send_request() function
1210 if (!send_request(&s->hb_context, HAWKBIT_PROBE, url_buffer, NULL)) { in s_probe()
1287 if (!send_request(&s->hb_context, HAWKBIT_CANCEL, url_buffer, status_buffer)) { in s_cancel()
1331 if (!send_request(&s->hb_context, HAWKBIT_CONFIG_DEVICE, url_buffer, status_buffer)) { in s_config_device()
1358 if (!send_request(&s->hb_context, HAWKBIT_PROBE_DEPLOYMENT_BASE, url_buffer, NULL)) { in s_probe_deployment_base()
1415 if (!send_request(&s->hb_context, HAWKBIT_REPORT, url_buffer, status_buffer)) { in s_report()
1462 if (!send_request(&s->hb_context, HAWKBIT_DOWNLOAD, url_buffer, NULL)) { in s_download()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c248 static int send_request(enum coap_msgtype msgtype, enum coap_method method, in send_request() function
556 if (send_request(COAP_TYPE_CON, COAP_METHOD_GET, in install_update()
667 ret = send_request(COAP_TYPE_NON_CON, COAP_METHOD_POST, in report()
819 if (send_request(COAP_TYPE_CON, COAP_METHOD_POST, UPDATEHUB_PROBE) < 0) { in z_impl_updatehub_probe()