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/tcpdump/
Dprint-tftp.c113 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) in tftp_print()
128 TCHECK(tp->th_block); in tftp_print()
129 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); in tftp_print()
Dtftp.h65 #define th_block th_u.tu_block macro