Searched refs:th_block (Results 1 – 4 of 4) sorted by relevance
116 if (rp->th_block == *block) { in tftp_send()123 if (rp->th_block == (*block - 1)) { in tftp_send()247 if (rp->th_block == *block) in tftp_receive()252 *block, rp->th_block); in tftp_receive()256 if (rp->th_block == (*block-1)) { in tftp_receive()320 *block == rp->th_block) /* then my last ack was lost */ in tftp_receive()
339 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()
174 wtail = (char *)&wbuf.t.th_block; in tftp_sendack()175 wbuf.t.th_block = htons(block); in tftp_sendack()207 if (htons(t->th_block) < (u_short)d->xid) { in recvtftp()211 tftp_sendack(h, htons(t->th_block)); in recvtftp()215 if (htons(t->th_block) != (u_short)d->xid) { in recvtftp()399 wtail = (char *)&wbuf.t.th_block; in tftp_getnextblock()400 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()425 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
65 #define th_block th_u.tu_block macro