Searched refs:currblock (Results 1 – 1 of 1) sorted by relevance
105 int currblock; /* contents of lastdata */ member350 h->currblock = 0; in tftp_makereq()375 h->currblock = 1; in tftp_makereq()380 tftp_sendack(h, h->currblock); in tftp_makereq()408 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()411 h->iodesc->xid = h->currblock + 1; /* expected block */ in tftp_getnextblock()426 h->currblock++; in tftp_getnextblock()433 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()539 if (tftpfile->currblock > needblock) { /* seek backwards */ in tftp_read()546 while (tftpfile->currblock < needblock) { in tftp_read()[all …]