tftp_log
tftp_log(LOG_ERR, "fdopen() failed: %s",
tftp_log(LOG_ERR, "fclose() failed: %s", strerror(errno));
tftp_log(LOG_ERR, "fdopen() failed: %s",
tftp_log(LOG_ERR, "fclose() failed: %s", strerror(errno));
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR, "send_packet: %s", strerror(errno));
tftp_log(LOG_DEBUG, "Sending ERROR %d", error);
tftp_log(LOG_DEBUG, "Sending ERROR %d: %s", error, tp->th_msg);
tftp_log(LOG_ERR, "send_error: %s", strerror(errno));
tftp_log(LOG_DEBUG, "Sending WRQ: filename: '%s', mode '%s'",
tftp_log(LOG_ERR, "send_wrq: %s", strerror(errno));
tftp_log(LOG_DEBUG, "Sending RRQ: filename: '%s', mode '%s'",
tftp_log(LOG_ERR, "send_rrq: %d %s", n, strerror(errno));
tftp_log(LOG_DEBUG, "Sending OACK");
tftp_log(LOG_ERR, "oack: buffer overflow");
tftp_log(LOG_INFO, "send_oack: %s", strerror(errno));
tftp_log(LOG_DEBUG, "Sending ACK for block %d", block);
tftp_log(LOG_INFO, "send_ack: %s", strerror(errno));
tftp_log(LOG_DEBUG, "Sending DATA packet %d of %d bytes",
tftp_log(LOG_DEBUG,
tftp_log(LOG_ERR, "receive_packet: timeout");
tftp_log(LOG_ERR, "receive_packet: %s", strerror(errno));
tftp_log(LOG_ERR,
tftp_log(LOG_ERR, "receive_packet: packet too big");
tftp_log(LOG_ERR,
tftp_log(pkt->th_code == EUNDEF ? LOG_DEBUG : LOG_ERR,
tftp_log(LOG_DEBUG, "Received %d bytes in a %s packet",
tftp_log(LOG_DEBUG, "Artificial packet drop in %s", s); \
tftp_log(LOG_DEBUG, "Artificial packet drop in %s", s); \
tftp_log(acting_as_client ? LOG_ERR : LOG_WARNING,
tftp_log(LOG_DEBUG, "Setting timeout to '%s'",
tftp_log(acting_as_client ? LOG_ERR : LOG_WARNING,
tftp_log(LOG_DEBUG, "Setting rollover to '%s'",
tftp_log(LOG_ERR, "sysctl: net.inet.udp.maxdgram");
tftp_log(LOG_ERR,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR,
tftp_log(LOG_WARNING,
tftp_log(LOG_DEBUG, "Setting blksize to '%s'",
tftp_log(LOG_ERR, "sysctl: net.inet.udp.maxdgram");
tftp_log(LOG_INFO,
tftp_log(LOG_INFO,
tftp_log(LOG_DEBUG, "Setting blksize2 to '%s'",
tftp_log(LOG_ERR,
tftp_log(LOG_WARNING,
tftp_log(LOG_DEBUG, "Setting windowsize to '%s'",
tftp_log(LOG_ERR,
tftp_log(LOG_DEBUG,
tftp_log(LOG_INFO,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR, "Aborting: %s",
tftp_log(LOG_DEBUG,
tftp_log(LOG_ERR,
tftp_log(LOG_DEBUG,
tftp_log(LOG_DEBUG,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_DEBUG,
tftp_log(LOG_ERR,
tftp_log(LOG_WARNING,
tftp_log(LOG_DEBUG, "Aborting: %s",
tftp_log(LOG_DEBUG,
tftp_log(LOG_WARNING,
tftp_log(LOG_INFO, "Trying to sync");
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_ERR,
tftp_log(LOG_DEBUG, "Sent ACK for %d", *block);
tftp_log(LOG_DEBUG, "Sending block %d (window block %d)",
tftp_log(LOG_ERR, "read_file returned %d", size);
tftp_log(LOG_ERR,
tftp_log(LOG_ERR, "Bad option - no trailing \\0 found");
#define DEBUG(s) tftp_log(LOG_DEBUG, "%s", s)
tftp_log(LOG_INFO,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR, "-c requires -s");
tftp_log(LOG_ERR, "recvfrom: %s", strerror(errno));
tftp_log(LOG_ERR, "Rejecting %zd-byte request from %s",
tftp_log(LOG_ERR, "ioctl(FIONBIO): %s", strerror(errno));
tftp_log(LOG_ERR, "fork: %s", strerror(errno));
tftp_log(LOG_WARNING,
tftp_log(LOG_WARNING,
tftp_log(LOG_WARNING,
tftp_log(LOG_WARNING,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR, "%s: no such user", chuser);
tftp_log(LOG_ERR, "chroot: %s: %s",
tftp_log(LOG_ERR, "chdir: %s", strerror(errno));
tftp_log(LOG_ERR, "setgroups failed");
tftp_log(LOG_ERR, "setgid failed");
tftp_log(LOG_ERR, "setuid failed");
tftp_log(LOG_ERR, "socket: %s", strerror(errno));
tftp_log(LOG_ERR, "bind: %s", strerror(errno));
tftp_log(LOG_WARNING,
tftp_log(LOG_WARNING,
tftp_log(LOG_ERR, "Bad option - filename too long");
tftp_log(LOG_INFO, "Filename: '%s'", *filename);
tftp_log(LOG_ERR,
tftp_log(LOG_INFO, "Mode: '%s'", *mode);
tftp_log(LOG_INFO, "Options found but not enabled");
tftp_log(LOG_INFO, "%s: write request for %s: %s", peername,
tftp_log(LOG_INFO, "Options found but not enabled");
tftp_log(LOG_DEBUG, "Aborting: %s",
tftp_log(LOG_DEBUG,
tftp_log(LOG_INFO, "%s: read request for %s: %s", peername,
tftp_log(LOG_DEBUG, "Transmitting file");
tftp_log(LOG_INFO, "Sent %jd bytes in %jd seconds",
tftp_log(LOG_DEBUG, "Receiving file");
tftp_log(LOG_INFO,
tftp_log(LOG_ERR, "Error code %d: %s", rp->th_code, rp->th_msg);