Home
last modified time | relevance | path

Searched refs:req_size (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c147 uint32_t req_size; in send_err() local
154 req_size = 4; in send_err()
160 if (copy_len > sizeof(client->tftp_buf) - req_size) { in send_err()
161 copy_len = sizeof(client->tftp_buf) - req_size; in send_err()
164 memcpy(client->tftp_buf + req_size, err_msg, copy_len); in send_err()
165 req_size += copy_len; in send_err()
169 return zsock_send(sock, client->tftp_buf, req_size, 0); in send_err()
186 size_t req_size; in send_request() local
190 req_size = make_request(client->tftp_buf, request, remote_file, mode); in send_request()
199 ret = zsock_sendto(sock, client->tftp_buf, req_size, 0, &client->server, in send_request()
[all …]
/Zephyr-latest/lib/net_buf/
Dbuf.c319 size_t req_size = size; in net_buf_alloc_len_debug() local
331 NET_BUF_ASSERT(req_size <= size); in net_buf_alloc_len_debug()