Searched refs:th_code (Results 1 – 4 of 4) sorted by relevance
83 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()
191 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()
65 #define th_code th_block /* error code overlay on tu_block */ macro
1062 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()