Home
last modified time | relevance | path

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

/openbsd-src/sys/lib/libsa/
H A Dtftp.c132 if ((unsigned) ntohs(t->th_code) >= 8) { in recvtftp()
133 printf("illegal tftp error %d\n", ntohs(t->th_code)); in recvtftp()
137 printf("tftp-error %d\n", ntohs(t->th_code)); in recvtftp()
139 errno = tftperrors[ntohs(t->th_code)]; in recvtftp()
248 wbuf.t.th_code = htons((u_short) ENOSPACE); /* ??? */ in tftp_terminate()
H A Dtftp.h88 #define th_code th_u.tu_code macro
/openbsd-src/usr.sbin/tcpdump/
H A Dprint-tftp.c119 TCHECK(tp->th_code); in tftp_print()
121 ntohs(tp->th_code))); in tftp_print()
/openbsd-src/usr.bin/tftp/
H A Dtftp.c234 ap->th_code, ap->th_msg); in sendfile()
382 dp->th_code, dp->th_msg); in recvfile()
489 tp->th_code = htons((u_short)error); in nak()
495 tp->th_code = EUNDEF; in nak()
539 printf("<code=%d, msg=%s>\n", ntohs(tp->th_code), tp->th_msg); in tpacket()
/openbsd-src/include/arpa/
H A Dtftp.h66 #define th_code th_u.tu_code macro
/openbsd-src/usr.sbin/tftpd/
H A Dtftpd.c1478 tp->th_code = htons((u_short)error); in nak()
1486 tp->th_code = htons(EUNDEF); /* set 'undef' errorcode */ in nak()