Searched refs:nbytesread (Results 1 – 1 of 1) sorted by relevance
196 int nbytesread; in mkpkt_data() local207 nbytesread = readall(fd, &packet[TFTP_DATAHEADERSIZE], TFTP_DATASIZE); in mkpkt_data()208 if (nbytesread < 0) return -1; in mkpkt_data()209 return nbytesread + TFTP_DATAHEADERSIZE; in mkpkt_data()