Home
last modified time | relevance | path

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

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