Home
last modified time | relevance | path

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

/freebsd-13.1/libexec/tftpd/
H A Dtftp-transfer.c152 if (rp->th_block == window[i].block) in tftp_send()
161 rp->th_block); in tftp_send()
342 if (rp->th_block == *block) in tftp_receive()
358 if (rp->th_block > windowstart && in tftp_receive()
359 rp->th_block < *block) { in tftp_receive()
363 rp->th_block); in tftp_receive()
371 *block, rp->th_block); in tftp_receive()
445 *block == rp->th_block) /* then my last ack was lost */ in tftp_receive()
H A Dtftp-io.c339 tp->th_block = htons((u_short)block); in send_ack()
370 pkt->th_block = htons((u_short)block); in send_data()
445 pkt->th_block = ntohs((u_short)pkt->th_block); in receive_packet()
/freebsd-13.1/stand/libsa/
H A Dtftp.c179 wtail = (char *)&wbuf.t.th_block; in tftp_sendack()
180 wbuf.t.th_block = htons(block); in tftp_sendack()
213 if (htons(t->th_block) < (u_short)d->xid) { in recvtftp()
217 tftp_sendack(h, htons(t->th_block)); in recvtftp()
221 if (htons(t->th_block) != (u_short)d->xid) { in recvtftp()
410 wtail = (char *)&wbuf.t.th_block; in tftp_getnextblock()
411 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
436 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
/freebsd-13.1/include/arpa/
H A Dtftp.h65 #define th_block th_u.tu_block macro