Home
last modified time | relevance | path

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

/freebsd-13.1/stand/libsa/
H A Dtftp.c534 int needblock, count; in tftp_read() local
538 needblock = tftpfile->off / tftpfile->tftp_blksize + 1; in tftp_read()
540 if (tftpfile->currblock > needblock) { /* seek backwards */ in tftp_read()
547 while (tftpfile->currblock < needblock) { in tftp_read()
565 if (tftpfile->currblock == needblock) { in tftp_read()
591 printf("tftp: block %d not found\n", needblock); in tftp_read()