Searched refs:th_data (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/head/arpa/ |
H A D | tftp.h | 60 char th_data[1]; /* data or error string */ member 66 #define th_msg th_data
|
/illumos-gate/usr/src/boot/include/arpa/ |
H A D | tftp.h | 60 char th_data[1]; /* data or error string */ member 66 #define th_msg th_data
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tftp.c | 141 (char *)(uintptr_t)tftp->th_data - dlc_header, in interpret_tftp() 157 (char *)(uintptr_t)tftp->th_data - in interpret_tftp() 158 dlc_header, strlen(tftp->th_data) + 1), in interpret_tftp() 159 "Error string = \"%s\"", tftp->th_data); in interpret_tftp()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 159 b->counter = fread(dp->th_data, sizeof (char), blocksize, in read_ahead() 166 p = dp->th_data; in read_ahead() 184 b->counter = (int)(p - dp->th_data); in read_ahead() 230 buf = dp->th_data; in write_behind()
|
H A D | tftp.c | 183 } while (n < offsetof(struct tftphdr, th_data)); in tftp_sendfile() 194 if (n > offsetof(struct tftphdr, th_data)) in tftp_sendfile() 196 offsetof(struct tftphdr, th_data), in tftp_sendfile() 311 } while (n < offsetof(struct tftphdr, th_data)); in tftp_recvfile() 322 if (n > offsetof(struct tftphdr, th_data)) in tftp_recvfile() 324 offsetof(struct tftphdr, th_data), in tftp_recvfile()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | tftp.c | 228 got = len - (t->th_data - (char *)t); in recvtftp() 553 bcopy(tftpfile->tftp_hdr->th_data + offinblock, in tftp_read()
|