Searched refs:th_code (Results 1 – 4 of 4) sorted by relevance
162 printf("Error code %d: %s\n", ap->th_code, in xmitfile()276 printf("Error code %d: %s\n", dp->th_code, in recvfile()365 tp->th_code = htons((u_short)error); in nak()371 tp->th_code = EUNDEF; in nak()412 printf("<code=%d, msg=%s>\n", ntohs(tp->th_code), tp->th_msg); in tpacket()
173 if ((unsigned) ntohs(t->th_code) >= 8) { in recvtftp()174 printf("illegal tftp error %d\n", ntohs(t->th_code)); in recvtftp()178 printf("tftp-error %d\n", ntohs(t->th_code)); in recvtftp()180 errno = tftperrors[ntohs(t->th_code)]; in recvtftp()
63 #define th_code th_u.tu_code macro
777 tp->th_code = htons((u_short)error); in nak()783 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in nak()