Home
last modified time | relevance | path

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

/dflybsd-src/usr.bin/tftp/
H A Dtftp.c162 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()
/dflybsd-src/stand/lib/
H A Dtftp.c173 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()
/dflybsd-src/include/arpa/
H A Dtftp.h63 #define th_code th_u.tu_code macro
/dflybsd-src/libexec/tftpd/
H A Dtftpd.c777 tp->th_code = htons((u_short)error); in nak()
783 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in nak()