Lines Matching defs:blksize
167 if ((&xbuf[tftp_bufsize - 1] - cp) < sizeof("blksize NNNNN")) {
171 /* add "blksize", <nul>, blocksize */
172 strcpy(cp, "blksize");
173 cp += sizeof("blksize");
304 res = tftp_option_get(&rbuf[2], len - 2, "blksize");
306 int blksize = xatoi_u(res);
307 if (!tftp_blocksize_check(blksize, tftp_bufsize - 4)) {
314 bb_error_msg("server proposes bad blksize %d, exiting", blksize);
318 fprintf(stderr, "using blksize %u\n",
319 blksize);
321 tftp_bufsize = blksize + 4;
332 bb_error_msg("blksize is not supported by server"