Searched refs:th_data (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/include/arpa/
H A Dtftp.h63 char th_data[1]; /* data or error string */ member in struct:tftphdr
69 #define th_msg th_data
/netbsd-current/sys/lib/libsa/
H A Dtftp.h82 char th_data[1]; /* data or error string */ member in struct:tftphdr
88 #define th_msg th_data
H A Dtftp.c131 return (n - (t->th_data - (char *)t));
208 wtail = (char *)&wbuf.t.th_data;
237 wtail = (char *)&wbuf.t.th_data;
336 tftpfile->lastdata.t.th_data + offinblock,
/netbsd-current/usr.bin/tftp/
H A Dtftpsubs.c154 b->counter = read(fileno(file), dp->th_data, amt);
158 p = dp->th_data;
177 b->counter = (int)(p - dp->th_data);
222 buf = dp->th_data;
/netbsd-current/sys/kern/
H A Dsubr_tftproot.c89 char th_data[1]; /* data or error string */ member in struct:tftphdr
95 #define th_msg th_data
216 size_t hdrlen = sizeof(*tftp) - sizeof(tftp->th_data);
355 size_t hdrlen = sizeof(*tftp) - sizeof(tftp->th_data);
400 if ((tftp->th_data[i] < ' ') ||
401 (tftp->th_data[i] > '~')) {
405 errbuf[i] = tftp->th_data[i];

Completed in 353 milliseconds