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

/freebsd-10.2-release/contrib/tcpdump/
H A Dtftp.h65 #define th_block th_u.tu_block macro
H A Dprint-tftp.c113 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
128 TCHECK(tp->th_block);
129 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
/freebsd-10.2-release/include/arpa/
H A Dtftp.h63 #define th_block th_u.tu_block macro
/freebsd-10.2-release/libexec/tftpd/
H A Dtftp-transfer.c114 if (rp->th_block == *block) {
121 if (rp->th_block == (*block - 1)) {
245 if (rp->th_block == *block)
250 *block, rp->th_block);
254 if (rp->th_block == (*block-1)) {
316 *block == rp->th_block) /* then my last ack was lost */
H A Dtftp-io.c335 tp->th_block = htons((u_short)block);
366 pkt->th_block = htons((u_short)block);
450 pkt->th_block = ntohs((u_short)pkt->th_block);
/freebsd-10.2-release/lib/libstand/
H A Dtftp.c176 wtail = (char *) &wbuf.t.th_block;
177 wbuf.t.th_block = htons((u_short) h->currblock);
203 if (htons(t->th_block) != d->xid) {
368 wtail = (char *) &wbuf.t.th_block;
369 wbuf.t.th_block = htons((u_short) h->currblock);
389 wbuf.t.th_block = htons((u_short) h->currblock);

Completed in 202 milliseconds