Searched refs:tftp_buf (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/subsys/net/lib/tftp/ |
D | tftp_client.c | 72 sys_put_be16(DATA_OPCODE, client->tftp_buf); in send_data() 73 sys_put_be16(block_no, client->tftp_buf + 2); in send_data() 74 memcpy(client->tftp_buf + TFTP_HEADER_SIZE, data_buffer, data_size); in send_data() 76 ret = zsock_send(sock, client->tftp_buf, data_size + TFTP_HEADER_SIZE, 0); in send_data() 96 ret = zsock_recv(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0); in send_data() 106 uint16_t opcode = sys_get_be16(client->tftp_buf); in send_data() 107 uint16_t blockno = sys_get_be16(client->tftp_buf + 2); in send_data() 124 evt.param.error.msg = client->tftp_buf + TFTP_HEADER_SIZE; in send_data() 152 sys_put_be16(ERROR_OPCODE, client->tftp_buf); in send_err() 153 sys_put_be16(err_code, client->tftp_buf + 2); in send_err() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | tftp.h | 137 uint8_t tftp_buf[TFTPC_MAX_BUF_SIZE]; member
|