--- tftpd/inc/defs.h 2014/02/20 15:39:15 1.1.1.1.4.3 +++ tftpd/inc/defs.h 2014/02/20 16:30:05 1.1.1.1.4.5 @@ -13,6 +13,7 @@ #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" @@ -20,7 +21,7 @@ struct tagCli { int opc; u_short seq; - int tout; + struct timespec tout; int roll; int siz; off_t tsiz; @@ -29,6 +30,7 @@ struct tagCli { char file[PATH_MAX]; char mode[10]; short close; + int tmp; };