version 1.1.1.1.4.3, 2014/02/20 15:39:15
|
version 1.1.1.1.4.5, 2014/02/20 16:30:05
|
Line 13
|
Line 13
|
|
|
#define TFTP_OPT_TSIZE "tsize" |
#define TFTP_OPT_TSIZE "tsize" |
#define TFTP_OPT_BLKSIZE "blksize" |
#define TFTP_OPT_BLKSIZE "blksize" |
|
#define TFTP_OPT_BLKSIZE2 "blksize2" |
#define TFTP_OPT_TIMEOUT "timeout" |
#define TFTP_OPT_TIMEOUT "timeout" |
#define TFTP_OPT_ROLLOVER "rollover" |
#define TFTP_OPT_ROLLOVER "rollover" |
|
|
Line 20
|
Line 21
|
struct tagCli { |
struct tagCli { |
int opc; |
int opc; |
u_short seq; |
u_short seq; |
int tout; | struct timespec tout; |
int roll; |
int roll; |
int siz; |
int siz; |
off_t tsiz; |
off_t tsiz; |
Line 29 struct tagCli {
|
Line 30 struct tagCli {
|
char file[PATH_MAX]; |
char file[PATH_MAX]; |
char mode[10]; |
char mode[10]; |
short close; |
short close; |
|
int tmp; |
}; |
}; |
|
|
|
|