Searched refs:TFTPD_BLKSIZE (Results 1 – 1 of 1) sorted by relevance
34 #define TFTPD_BLKSIZE 512 // as per RFC 1350. macro74 static char *g_errpkt = toybuf + TFTPD_BLKSIZE;115 if (blksize != TFTPD_BLKSIZE || tsize) { in do_action()118 if (blksize != TFTPD_BLKSIZE) { in do_action()239 int fd = 0, recvmsg_len, rbuflen, opcode, blksize = TFTPD_BLKSIZE, tsize = 0, set =1; in tftpd_main()262 if (recvmsg_len<4 || recvmsg_len>TFTPD_BLKSIZE || toybuf[recvmsg_len-1]) { in tftpd_main()299 if (errno || blksize > 65564 || blksize < 8) blksize = TFTPD_BLKSIZE; in tftpd_main()