Searched refs:tftp_stats (Results 1 – 6 of 6) sorted by relevance
/freebsd/usr.bin/tftp/ |
H A D | tftp.c | 71 struct tftp_stats tftp_stats; in xmitfile() local 73 stats_init(&tftp_stats); in xmitfile() 153 if (tftp_send(peer, &block, &tftp_stats) != 0) in xmitfile() 157 if (tftp_stats.amount > 0) in xmitfile() 158 printstats("Sent", verbose, &tftp_stats); in xmitfile() 172 struct tftp_stats tftp_stats; in recvfile() local 174 stats_init(&tftp_stats); in recvfile() 257 if (tftp_receive(peer, &block, &tftp_stats, NULL, 0) != 0) in recvfile() 261 if (tftp_receive(peer, &block, &tftp_stats, rp, n) != 0) in recvfile() 265 if (tftp_stats.amount > 0) in recvfile() [all …]
|
/freebsd/libexec/tftpd/ |
H A D | tftp-utils.h | 119 struct tftp_stats { struct 128 void stats_init(struct tftp_stats *ts); argument 129 void printstats(const char *direction, int verbose, struct tftp_stats *ts);
|
H A D | tftp-transfer.h | 28 int tftp_send(int peer, uint16_t *block, struct tftp_stats *tp); 29 int tftp_receive(int peer, uint16_t *block, struct tftp_stats *tp,
|
H A D | tftp-utils.c | 298 stats_init(struct tftp_stats *ts) in stats_init() 310 printstats(const char *direction, int verbose, struct tftp_stats *ts) in printstats()
|
H A D | tftp-transfer.c | 59 tftp_send(int peer, uint16_t *block, struct tftp_stats *ts) in tftp_send() 243 tftp_receive(int peer, uint16_t *block, struct tftp_stats *ts, in tftp_receive()
|
H A D | tftpd.c | 796 struct tftp_stats ts; in tftp_xmitfile() 817 struct tftp_stats ts; in tftp_recvfile()
|