Home
last modified time | relevance | path

Searched refs:th_block (Results 1 – 4 of 4) sorted by relevance

/freebsd/libexec/tftpd/
H A Dtftp-transfer.c149 if (rp->th_block == window[i].block) in tftp_send()
158 rp->th_block); in tftp_send()
338 if (rp->th_block == *block) in tftp_receive()
354 if (rp->th_block > windowstart && in tftp_receive()
355 rp->th_block < *block) { in tftp_receive()
359 rp->th_block); in tftp_receive()
367 *block, rp->th_block); in tftp_receive()
441 *block == rp->th_block) /* then my last ack was lost */ in tftp_receive()
H A Dtftp-io.c332 tp->th_block = htons((u_short)block); in send_ack()
363 pkt->th_block = htons((u_short)block); in send_data()
421 pkt->th_block = ntohs((u_short)pkt->th_block); in receive_packet()
/freebsd/stand/libsa/
H A Dtftp.c176 wtail = (char *)&wbuf.t.th_block; in tftp_sendack()
177 wbuf.t.th_block = htons(block); in tftp_sendack()
210 if (htons(t->th_block) < (u_short)d->xid) { in recvtftp()
214 tftp_sendack(h, htons(t->th_block)); in recvtftp()
218 if (htons(t->th_block) != (u_short)d->xid) { in recvtftp()
407 wtail = (char *)&wbuf.t.th_block; in tftp_getnextblock()
408 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
433 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
/freebsd/include/arpa/
H A Dtftp.h62 #define th_block th_u.tu_block macro