Home
last modified time | relevance | path

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

/netbsd-src/sys/lib/libsa/
H A Dtftp.c133 if ((unsigned int)ntohs(t->th_code) >= 8) { in recvtftp()
134 printf("illegal tftp error %d\n", ntohs(t->th_code)); in recvtftp()
138 printf("tftp-error %d\n", ntohs(t->th_code)); in recvtftp()
140 errno = tftperrors[ntohs(t->th_code)]; in recvtftp()
243 wbuf.t.th_code = htons((u_short)ENOSPACE); /* ??? */ in tftp_terminate()
H A Dtftp.h86 #define th_code th_u.tu_code macro
/netbsd-src/usr.bin/tftp/
H A Dtftp.c314 ntohs(ap->th_code), ap->th_msg); in sendfile()
459 ntohs(dp->th_code), dp->th_msg); in recvfile()
618 tp->th_code = EUNDEF; in nak()
621 tp->th_code = htons((u_short)error); in nak()
688 (void)printf("<code=%d, msg=%s>\n", ntohs(tp->th_code), in tpacket()
/netbsd-src/include/arpa/
H A Dtftp.h67 #define th_code th_u.tu_code macro
/netbsd-src/sys/kern/
H A Dsubr_tftproot.c93 #define th_code th_u.tu_code macro
410 ntohs(tftp->th_code), errbuf); in tftproot_recv()
/netbsd-src/libexec/tftpd/
H A Dtftpd.c1207 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in nak()
1210 tp->th_code = htons((u_short)error); in nak()