Home
last modified time | relevance | path

Searched refs:TFTPC_MAX_BUF_SIZE (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dtftp.h43 #define TFTPC_MAX_BUF_SIZE (TFTP_BLOCK_SIZE + TFTP_HEADER_SIZE) macro
137 uint8_t tftp_buf[TFTPC_MAX_BUF_SIZE];
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.h25 #define TFTP_MAX_FILENAME_SIZE (TFTPC_MAX_BUF_SIZE - TFTP_MAX_MODE_SIZE - 4)
Dtftp_client.c96 ret = zsock_recv(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0); in send_data()
222 ret = zsock_recvfrom(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0, in send_request()
271 while (rcv_size >= TFTP_HEADER_SIZE && rcv_size <= TFTPC_MAX_BUF_SIZE) { in tftp_get()
329 if (rcv_size < TFTPC_MAX_BUF_SIZE) { in tftp_get()
359 ret = zsock_recv(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0); in tftp_get()
363 if (!(rcv_size >= TFTP_HEADER_SIZE && rcv_size <= TFTPC_MAX_BUF_SIZE)) { in tftp_get()