SEGSIZE
#define PKTSIZE SEGSIZE+4
#define PKTSIZE SEGSIZE + 4
static int tftp_blksize = SEGSIZE;
if (m->m_pkthdr.len > hdrlen + SEGSIZE) {
char errbuf[SEGSIZE + 1];
for (i = 0; i < SEGSIZE; i++) {
errbuf[SEGSIZE] = '\0';
if (m->m_pkthdr.len < hdrlen + SEGSIZE) {
if (res < SEGSIZE)
if (res < SEGSIZE)
needblock = tftpfile->off / SEGSIZE + 1;
offinblock = tftpfile->off % SEGSIZE;
write_file(filename, SEGSIZE / 3, 1, 0);
#define MORE_THAN_A_SEGMENT (4 * SEGSIZE) /* In bytes; > SEGSIZE */
int newnseg = (size * DEV_BSIZE) / SEGSIZE;
SEGSIZE, fssize, width, IMGNAME, LOGFILE);
size_t def_blksize = SEGSIZE;
size_t blksize = SEGSIZE;
if (blksize != SEGSIZE) {