Home
last modified time | relevance | path

Searched refs:th_block (Results 1 – 4 of 4) 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.c1254 sdp->th_block = htons(sendblock); in sendtftp()
1286 sap->th_block = ntohs(sap->th_block); in sendtftp()
1294 if(sap->th_block == sendblock) { in sendtftp()
1299 if(sap->th_block == (sendblock-1)) { in sendtftp()
1329 rap->th_block = htons(recvblock); in recvtftp()
1355 rdp->th_block = ntohs(rdp->th_block); in recvtftp()
1359 if(rdp->th_block == recvblock) { in recvtftp()
1364 if(rdp->th_block == (recvblock-1)) in recvtftp()
1382 rap->th_block = htons(recvblock); in recvtftp()
1397 recvblock == rdp->th_block) { /* then my last ack was lost */ in recvtftp()