Searched refs:th_code (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/head/arpa/
H A Dtftp.h65 #define th_code th_block /* error code overlay on tu_block */ macro
/illumos-gate/usr/src/boot/include/arpa/
H A Dtftp.h64 #define th_code th_u.tu_code macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c83 tftperror(ntohs(tftp->th_code)));
132 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_code -
134 ntohs(tftp->th_code),
135 tftperror(ntohs(tftp->th_code)));
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c191 ap->th_code = ntohs(ap->th_code);
193 "Error code %d", ap->th_code);
318 dp->th_code = ntohs(dp->th_code);
320 dp->th_code);
628 tp->th_code = htons((ushort_t)error);
634 tp->th_code = EUNDEF;
701 (void) printf("<code=%d", ntohs(tp->th_code));
702 n = n - sizeof (tp->th_opcode) - sizeof (tp->th_code);
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c156 wbuf.t.th_code = htons(errcode);
221 if ((unsigned) ntohs(t->th_code) > TFTP_MAX_ERRCODE) {
222 printf("illegal tftp error %d\n", ntohs(t->th_code));
226 printf("tftp-error %d\n", ntohs(t->th_code));
228 errno = tftperrors[ntohs(t->th_code)];
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c1062 ackbuf.tb_hdr.th_code);
1140 ackbuf.tb_hdr.th_code);
1261 "received ERROR %d", dp->th_code);
1359 tp->th_code = htons((ushort_t)error);
1365 tp->th_code = EUNDEF; /* set 'undef' errorcode */

Completed in 50 milliseconds