Home
last modified time | relevance | path

Searched refs:th_code (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c83 tftperror(ntohs(tftp->th_code))); in interpret_tftp()
132 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_code - in interpret_tftp()
134 ntohs(tftp->th_code), in interpret_tftp()
135 tftperror(ntohs(tftp->th_code))); in interpret_tftp()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c191 ap->th_code = ntohs(ap->th_code); in tftp_sendfile()
193 "Error code %d", ap->th_code); in tftp_sendfile()
318 dp->th_code = ntohs(dp->th_code); in tftp_recvfile()
320 dp->th_code); in tftp_recvfile()
628 tp->th_code = htons((ushort_t)error); in nak()
634 tp->th_code = EUNDEF; in nak()
701 (void) printf("<code=%d", ntohs(tp->th_code)); in tpacket()
702 n = n - sizeof (tp->th_opcode) - sizeof (tp->th_code); in tpacket()
/titanic_50/usr/src/head/arpa/
H A Dtftp.h65 #define th_code th_block /* error code overlay on tu_block */ macro
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c1062 ackbuf.tb_hdr.th_code); in tftpd_sendfile()
1140 ackbuf.tb_hdr.th_code); in tftpd_sendfile()
1261 "received ERROR %d", dp->th_code); in tftpd_recvfile()
1359 tp->th_code = htons((ushort_t)error); in nak()
1365 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in nak()