Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtftp.c218 uint16_t opcode, rblockno; in read_ack() local
247 rblockno = (uint16_t) packet[2] << 8 | (uint16_t) packet[3]; in read_ack()
257 if (blockno) *blockno = rblockno; in read_ack()
271 uint16_t blockno = 0, opcode, rblockno = 0; in file_get() local
321 if (check_data(packet, &opcode, &rblockno) != 0 in file_get()
322 || blockno != rblockno) { in file_get()
330 if (rblockno && (rblockno < 9)) message = arr[rblockno - 1]; in file_get()
387 uint16_t blockno = 1, rblockno, port = 0; in file_put() local
411 if (read_ack(sd, packet, &server, &port, &rblockno) == 0) { in file_put()
412 if (rblockno == blockno) { in file_put()
Dtftpd.c92 uint16_t blockno = 1, pktopcode, rblockno; in do_action() local
190 rblockno = ntohs(((uint16_t*)rpkt)[1]); in do_action()
198 if (rblockno && (rblockno < 9)) message = arr[rblockno - 1]; in do_action()
206 if (rblockno == (uint16_t) (blockno - 1)) { in do_action()
214 if (rblockno == blockno) { in do_action()