version 1.1.1.1.4.1, 2014/02/20 00:07:19
|
version 1.1.1.1.4.4, 2014/02/20 16:04:02
|
Line 14
|
Line 14
|
#define TFTP_OPT_TSIZE "tsize" |
#define TFTP_OPT_TSIZE "tsize" |
#define TFTP_OPT_BLKSIZE "blksize" |
#define TFTP_OPT_BLKSIZE "blksize" |
#define TFTP_OPT_TIMEOUT "timeout" |
#define TFTP_OPT_TIMEOUT "timeout" |
|
#define TFTP_OPT_ROLLOVER "rollover" |
|
|
|
|
struct tagCli { |
struct tagCli { |
int opc; |
int opc; |
u_short seq; |
u_short seq; |
|
int tout; |
|
int roll; |
int siz; |
int siz; |
|
off_t tsiz; |
sockaddr_t addr; |
sockaddr_t addr; |
int fd; |
int fd; |
char file[PATH_MAX]; |
char file[PATH_MAX]; |
char mode[10]; |
char mode[10]; |
short close; |
short close; |
|
int tmp; |
}; |
}; |
|
|
|
|