Searched refs:tftp_stats (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/libexec/tftpd/
H A Dtftp-transfer.h28 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 Dtftp-utils.h119 struct tftp_stats { struct
128 void stats_init(struct tftp_stats *ts);
129 void printstats(const char *direction, int verbose, struct tftp_stats *ts);
H A Dtftp-utils.c298 stats_init(struct tftp_stats *ts)
310 printstats(const char *direction, int verbose, struct tftp_stats *ts)
H A Dtftp-transfer.c59 tftp_send(int peer, uint16_t *block, struct tftp_stats *ts)
243 tftp_receive(int peer, uint16_t *block, struct tftp_stats *ts,
H A Dtftpd.c802 struct tftp_stats ts;
823 struct tftp_stats ts;
/freebsd-current/usr.bin/tftp/
H A Dtftp.c71 struct tftp_stats tftp_stats; local
73 stats_init(&tftp_stats);
153 if (tftp_send(peer, &block, &tftp_stats) != 0)
157 if (tftp_stats.amount > 0)
158 printstats("Sent", verbose, &tftp_stats);
172 struct tftp_stats tftp_stats; local
174 stats_init(&tftp_stats);
257 if (tftp_receive(peer, &block, &tftp_stats, NUL
[all...]

Completed in 97 milliseconds