Searched refs:th_data (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tftp.c | 119 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_data - in interpret_tftp() 136 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_data - in interpret_tftp() 137 dlc_header, strlen(tftp->th_data) + 1), in interpret_tftp() 138 "Error string = \"%s\"", tftp->th_data); in interpret_tftp()
|
/titanic_44/usr/src/head/arpa/ |
H A D | tftp.h | 62 char th_data[1]; /* data or error string */ member 68 #define th_msg th_data
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 161 b->counter = fread(dp->th_data, sizeof (char), blocksize, in read_ahead() 168 p = dp->th_data; in read_ahead() 186 b->counter = (int)(p - dp->th_data); in read_ahead() 232 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() 310 } while (n < offsetof(struct tftphdr, th_data)); in tftp_recvfile() 321 if (n > offsetof(struct tftphdr, th_data)) in tftp_recvfile() 323 offsetof(struct tftphdr, th_data), in tftp_recvfile()
|