Home
last modified time | relevance | path

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

/external/iputils/
Dtftpsubs.c59 #define PKTSIZE SEGSIZE+4 /* should be moved to tftp.h */
137 b->counter = read(fileno(file), dp->th_data, SEGSIZE); in read_ahead()
142 for (i = 0 ; i < SEGSIZE; i++) { in read_ahead()
Dtftpd.c83 #define PKTSIZE SEGSIZE+4
406 } while (size == SEGSIZE); in sendfile()
473 } while (size == SEGSIZE); in recvfile()
Dtftp.h41 #define SEGSIZE 512 /* data segment size */ macro
/external/curl/tests/server/
Dtftp.h29 #define SEGSIZE 512 /* data segment size */ macro
Dtftpd.c102 #define PKTSIZE (SEGSIZE + 4) /* SEGSIZE defined in arpa/tftp.h */
492 size_t copy_n = MIN(SEGSIZE, test->rcount); in read_ahead()
503 for (i = 0 ; i < SEGSIZE; i++) { in read_ahead()
1273 } while (size == SEGSIZE); in sendtftp()
1344 } while (size == SEGSIZE); in recvtftp()