Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/lib/tftp/
Dtftp_client.c53 static int send_data(int sock, struct tftpc *client, uint32_t block_no, const uint8_t *data_buffer, in send_data() argument
63 LOG_DBG("Client send data: block no %u, size %u", block_no, data_size + TFTP_HEADER_SIZE); in send_data()
73 sys_put_be16(block_no, client->tftp_buf + 2); in send_data()
112 if (opcode == ACK_OPCODE && blockno == block_no) { in send_data()
114 } else if (opcode == ACK_OPCODE && blockno < block_no) { in send_data()
125 evt.param.error.code = block_no; in send_data()
274 uint16_t block_no = sys_get_be16(client->tftp_buf + 2); in tftp_get() local
277 opcode, block_no, rcv_size); in tftp_get()
286 evt.param.error.code = block_no; in tftp_get()
297 if (block_no == tftpc_block_no) { in tftp_get()
[all …]