Searched refs:SEGSIZE (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/include/arpa/
H A Dtftp.h40 #define SEGSIZE 512 /* data segment size */ macro
43 #define PKTSIZE SEGSIZE + 4
/netbsd-current/sys/lib/libsa/
H A Dtftp.h64 #define SEGSIZE 512 /* data segment size */ macro
H A Dtftp.c189 if (res < SEGSIZE)
222 if (res < SEGSIZE)
291 needblock = tftpfile->off / SEGSIZE + 1;
324 offinblock = tftpfile->off % SEGSIZE;
/netbsd-current/sys/kern/
H A Dsubr_tftproot.c71 #define SEGSIZE 512 /* data segment size */ macro
369 if (m->m_pkthdr.len > hdrlen + SEGSIZE) {
396 char errbuf[SEGSIZE + 1];
399 for (i = 0; i < SEGSIZE; i++) {
407 errbuf[SEGSIZE] = '\0';
426 if (m->m_pkthdr.len < hdrlen + SEGSIZE) {
/netbsd-current/usr.bin/tftp/
H A Dmain.c81 size_t def_blksize = SEGSIZE;
82 size_t blksize = SEGSIZE;
H A Dtftp.c260 /* size = read(fd, dp->th_data, SEGSIZE); */
570 if (blksize != SEGSIZE) {
/netbsd-current/dist/pf/libexec/tftp-proxy/
H A Dtftp-proxy.c61 #define PKTSIZE SEGSIZE+4
/netbsd-current/libexec/tftpd/
H A Dtftpd.c92 static int tftp_blksize = SEGSIZE;

Completed in 186 milliseconds