Home
last modified time | relevance | path

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

/freebsd-12.1/stand/libsa/
H A Dtftp.c154 wbuf.t.th_code = htons(errcode); in tftp_senderr()
236 if ((unsigned)ntohs(t->th_code) > TFTP_MAX_ERRCODE) { in recvtftp()
237 printf("illegal tftp error %d\n", ntohs(t->th_code)); in recvtftp()
241 printf("tftp-error %d\n", ntohs(t->th_code)); in recvtftp()
243 errno = tftperrors[ntohs(t->th_code)]; in recvtftp()
/freebsd-12.1/libexec/tftpd/
H A Dtftp-io.c155 tp->th_code = htons((u_short)error); in send_error()
161 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in send_error()
460 tftp_log(pkt->th_code == EUNDEF ? LOG_DEBUG : LOG_ERR, in receive_packet()
/freebsd-12.1/include/arpa/
H A Dtftp.h66 #define th_code th_u.tu_code macro
/freebsd-12.1/usr.bin/tftp/
H A Dtftp.c237 tftp_log(LOG_ERR, "Error code %d: %s", rp->th_code, rp->th_msg); in recvfile()