Searched refs:th_opcode (Results 1 – 7 of 7) sorted by relevance
814 tp->th_opcode = ntohs(tp->th_opcode); in main()815 if(tp->th_opcode == opcode_RRQ || tp->th_opcode == opcode_WRQ) { in main()902 fprintf(server, "opcode: %x\n", tp->th_opcode); in do_tftp()965 ecode = validate_access(test, filename, tp->th_opcode); in do_tftp()980 if(tp->th_opcode == opcode_WRQ) in do_tftp()1170 sdp->th_opcode = htons((unsigned short)opcode_DATA); in sendtftp()1205 sap->th_opcode = ntohs((unsigned short)sap->th_opcode); in sendtftp()1208 if(sap->th_opcode == opcode_ERROR) { in sendtftp()1213 if(sap->th_opcode == opcode_ACK) { in sendtftp()1248 rap->th_opcode = htons((unsigned short)opcode_ACK); in recvtftp()[all …]
43 short th_opcode; /* packet type */ member
10 short th_opcode; member