--- tftpd/inc/defs.h 2014/02/20 00:04:36 1.3 +++ tftpd/inc/defs.h 2014/02/20 23:17:22 1.4 @@ -13,19 +13,24 @@ #define TFTP_OPT_TSIZE "tsize" #define TFTP_OPT_BLKSIZE "blksize" +#define TFTP_OPT_BLKSIZE2 "blksize2" #define TFTP_OPT_TIMEOUT "timeout" +#define TFTP_OPT_ROLLOVER "rollover" struct tagCli { int opc; u_short seq; + struct timespec tout; + u_short roll; int siz; + off_t tsiz; sockaddr_t addr; int fd; char file[PATH_MAX]; char mode[10]; short close; - short opts; + int tmp; };