Home
last modified time | relevance | path

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

/external/iputils/
Dtftpd.c367 dp->th_block = htons((u_short)block); in sendfile()
387 ap->th_block = ntohs((u_short)ap->th_block); in sendfile()
393 if (ap->th_block == block) { in sendfile()
399 if (ap->th_block == (block -1)) { in sendfile()
433 ap->th_block = htons((u_short)block); in recvfile()
452 dp->th_block = ntohs((u_short)dp->th_block); in recvfile()
456 if (dp->th_block == block) { in recvfile()
462 if (dp->th_block == (block-1)) in recvfile()
478 ap->th_block = htons((u_short)(block)); in recvfile()
487 block == dp->th_block) { /* then my last ack was lost */ in recvfile()
Dtftp.h62 #define th_block th_u.tu_block macro
/external/curl/tests/server/
Dtftp.h44 unsigned short th_block; /* all sorts of things */ member
48 #define th_stuff th_block
49 #define th_code th_block
Dtftpd.c1221 sdp->th_block = htons(sendblock); in sendtftp()
1253 sap->th_block = ntohs(sap->th_block); in sendtftp()
1261 if (sap->th_block == sendblock) { in sendtftp()
1266 if (sap->th_block == (sendblock-1)) { in sendtftp()
1296 rap->th_block = htons(recvblock); in recvtftp()
1322 rdp->th_block = ntohs(rdp->th_block); in recvtftp()
1326 if (rdp->th_block == recvblock) { in recvtftp()
1331 if (rdp->th_block == (recvblock-1)) in recvtftp()
1348 rap->th_block = htons(recvblock); in recvtftp()
1363 recvblock == rdp->th_block) { /* then my last ack was lost */ in recvtftp()
/external/tcpdump/
Dprint-tftp.c60 #define th_block th_u.tu_block macro
145 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) in tftp_print()
160 ND_TCHECK(tp->th_block); in tftp_print()
161 ND_PRINT((ndo, " block %d", EXTRACT_16BITS(&tp->th_block))); in tftp_print()