tftp.c | 219 int packetlen, retry; local 242 packetlen = mkpkt_err(packet, TFTP_ER_UNKID, TFTP_ES_UNKID); 243 (void) write_server(sd, packet, packetlen, server); 252 packetlen = mkpkt_err(packet, TFTP_ER_ILLEGALOP, TFTP_ES_ILLEGALOP); 253 (void) write_server(sd, packet, packetlen, server); 380 int packetlen, sd, fd, retry = 0, ret, result = -1; local 387 packetlen = mkpkt_request(packet, TFTP_OP_WRQ, TT.remote_file, 1); 388 ret = write_server(sd, packet, packetlen, &server); 389 if (ret != packetlen) goto errout_with_sd; 397 packetlen = mkpkt_data(fd, offset, packet, blockno) [all...] |