Searched refs:th_code (Results 1 – 4 of 4) sorted by relevance
151 tp->th_code = htons((u_short)error); in send_error()157 tp->th_code = EUNDEF; /* set 'undef' errorcode */ in send_error()436 tftp_log(pkt->th_code == EUNDEF ? LOG_DEBUG : LOG_ERR, in receive_packet()
63 #define th_code th_u.tu_code macro
229 tftp_log(LOG_ERR, "Error code %d: %s", rp->th_code, rp->th_msg); in recvfile()
156 wbuf.t.th_code = htons(errcode); in tftp_senderr()239 tftp_error = ntohs(t->th_code); in recvtftp()