Searched refs:rcvd (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.4.0/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 90 int rcvd; in process_simple_coap_reply() local 100 rcvd = recv(sock, data, MAX_COAP_MSG_LEN, MSG_DONTWAIT); in process_simple_coap_reply() 101 if (rcvd == 0) { in process_simple_coap_reply() 106 if (rcvd < 0) { in process_simple_coap_reply() 116 net_hexdump("Response", data, rcvd); in process_simple_coap_reply() 118 ret = coap_packet_parse(&reply, data, rcvd, NULL, 0); in process_simple_coap_reply() 259 int rcvd; in process_large_coap_reply() local 269 rcvd = recv(sock, data, MAX_COAP_MSG_LEN, MSG_DONTWAIT); in process_large_coap_reply() 270 if (rcvd == 0) { in process_large_coap_reply() 275 if (rcvd < 0) { in process_large_coap_reply() [all …]
|
/Zephyr-Core-3.4.0/subsys/net/lib/sntp/ |
D | sntp.c | 107 int rcvd; in sntp_recv_response() local 119 rcvd = zsock_recv(sntp->sock.fd, (uint8_t *)&buf, sizeof(buf), 0); in sntp_recv_response() 120 if (rcvd < 0) { in sntp_recv_response() 124 if (rcvd != sizeof(struct sntp_pkt)) { in sntp_recv_response()
|
/Zephyr-Core-3.4.0/subsys/mgmt/updatehub/ |
D | updatehub.c | 418 int rcvd = -1; in install_update_cb() local 428 rcvd = recv(ctx.sock, data, MAX_DOWNLOAD_DATA, MSG_DONTWAIT); in install_update_cb() 429 if (rcvd <= 0) { in install_update_cb() 435 if (coap_packet_parse(&response_packet, data, rcvd, NULL, 0) < 0) { in install_update_cb() 692 int rcvd = -1; in probe_cb() local 696 rcvd = recv(ctx.sock, tmp, MAX_DOWNLOAD_DATA, MSG_DONTWAIT); in probe_cb() 697 if (rcvd <= 0) { in probe_cb() 703 if (coap_packet_parse(&reply, tmp, rcvd, NULL, 0) < 0) { in probe_cb()
|