Searched refs:th_block (Results 1 – 6 of 6) sorted by relevance
268 dp->th_block = htons((u_short)block); in sendfile()318 ap->th_block = ntohs(ap->th_block); in sendfile()320 if (ap->th_block == 0) { in sendfile()332 if (ap->th_block == block) { in sendfile()343 if (ap->th_block == (block-1)) { in sendfile()408 ap->th_block = htons((u_short)(block)); in recvfile()463 dp->th_block = ntohs(dp->th_block); in recvfile()465 if (dp->th_block == 1 && !oack) { in recvfile()470 if (dp->th_block == block) { in recvfile()481 if (dp->th_block == (block-1)) { in recvfile()[all …]
976 dp->th_block = htons((u_short)block); in sendfile()1000 ap->th_block = ntohs((u_short)ap->th_block); in sendfile()1006 if (etftp && ap->th_block == 0) { in sendfile()1012 if (ap->th_block == (u_short)block) in sendfile()1016 (unsigned int)ap->th_block, block); in sendfile()1019 if (ap->th_block == (u_short)(block - 1)) in sendfile()1068 ap->th_block = htons((u_short)block); in recvfile()1096 dp->th_block = ntohs((u_short)dp->th_block); in recvfile()1100 (unsigned int)dp->th_block); in recvfile()1106 if (dp->th_block == block) in recvfile()[all …]
92 #define th_block th_u.tu_block macro302 tftp->th_block = htons(trh->trh_block); in tftproot_getfile()433 if (ntohs(tftp->th_block) != trh->trh_block) { in tftproot_recv()435 __func__, __LINE__, trh->trh_block, ntohs(tftp->th_block))); in tftproot_recv()
117 if (ntohs(t->th_block) != d->xid) { in recvtftp()207 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()240 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_terminate()
85 #define th_block th_u.tu_block macro
66 #define th_block th_u.tu_block macro