Searched refs:tftpfile (Results 1 – 1 of 1) sorted by relevance
444 struct tftp_handle *tftpfile; in tftp_open() local459 tftpfile = calloc(1, sizeof(*tftpfile)); in tftp_open()460 if (!tftpfile) in tftp_open()463 tftpfile->tftp_blksize = TFTP_REQUESTED_BLKSIZE; in tftp_open()465 tftpfile->iodesc = io = socktodesc(*(int *)(dev->d_opendata)); in tftp_open()467 free(tftpfile); in tftp_open()472 tftpfile->off = 0; in tftp_open()474 tftpfile->path = malloc(pathsize); in tftp_open()475 if (tftpfile->path == NULL) { in tftp_open()476 free(tftpfile); in tftp_open()[all …]