Home
last modified time | relevance | path

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

/NextBSD/contrib/tcpdump/
HDprint-tftp.c61 #define th_code th_u.tu_code macro
166 ND_TCHECK(tp->th_code); in tftp_print()
168 EXTRACT_16BITS(&tp->th_code)))); in tftp_print()
/NextBSD/lib/libstand/
HDtftp.c156 wbuf.t.th_code = htons(errcode); in tftp_senderr()
221 if ((unsigned) ntohs(t->th_code) > TFTP_MAX_ERRCODE) { in recvtftp()
222 printf("illegal tftp error %d\n", ntohs(t->th_code)); in recvtftp()
226 printf("tftp-error %d\n", ntohs(t->th_code)); in recvtftp()
228 errno = tftperrors[ntohs(t->th_code)]; in recvtftp()
/NextBSD/libexec/tftpd/
HDtftp-io.c151 tp->th_code = htons((u_short)error); in send_error()
157 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in send_error()
465 tftp_log(pkt->th_code == EUNDEF ? LOG_DEBUG : LOG_ERR, in receive_packet()
/NextBSD/include/arpa/
HDtftp.h64 #define th_code th_u.tu_code macro
/NextBSD/usr.bin/tftp/
HDtftp.c232 tftp_log(LOG_ERR, "Error code %d: %s", rp->th_code, rp->th_msg); in recvfile()