Home
last modified time | relevance | path

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

/freebsd/usr.bin/tftp/
H A Dtftp.c71 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 Dtftp-utils.h119 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 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.c298 stats_init(struct tftp_stats *ts) in stats_init()
310 printstats(const char *direction, int verbose, struct tftp_stats *ts) in printstats()
H A Dtftp-transfer.c59 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 Dtftpd.c796 struct tftp_stats ts; in tftp_xmitfile()
817 struct tftp_stats ts; in tftp_recvfile()