tftp.c | 99 static ssize_t tftp_size_of_file(struct tftp_handle *tftpfile); 254 struct tftp_handle *tftpfile; local in function:tftp_open 258 tftpfile = (struct tftp_handle *)alloc(sizeof(*tftpfile)); 259 if (!tftpfile) 262 tftpfile->iodesc = io = socktodesc(*(int *)(f->f_devdata)); 264 tftpfile->off = 0; 265 tftpfile->path = path; /* XXXXXXX we hope it's static */ 267 res = tftp_makereq(tftpfile); 270 dealloc(tftpfile, sizeof(*tftpfile)) 281 struct tftp_handle *tftpfile; local in function:tftp_read 363 struct tftp_handle *tftpfile; local in function:tftp_close 422 struct tftp_handle *tftpfile; local in function:tftp_stat 445 struct tftp_handle *tftpfile; local in function:tftp_seek [all...] |