Searched refs:th_opcode (Results 1 – 2 of 2) sorted by relevance
824 tp->th_opcode = ntohs(tp->th_opcode); in main()825 if(tp->th_opcode == opcode_RRQ || tp->th_opcode == opcode_WRQ) { in main()994 if(tp->th_opcode == opcode_WRQ) in do_tftp()1184 sdp->th_opcode = htons(opcode_DATA); in sendtftp()1219 sap->th_opcode = ntohs(sap->th_opcode); in sendtftp()1227 if(sap->th_opcode == opcode_ACK) { in sendtftp()1262 rap->th_opcode = htons(opcode_ACK); in recvtftp()1291 rdp->th_opcode = ntohs(rdp->th_opcode); in recvtftp()1293 if(rdp->th_opcode == opcode_ERROR) in recvtftp()1295 if(rdp->th_opcode == opcode_DATA) { in recvtftp()[all …]
45 unsigned short th_opcode; /* packet type */ member
Completed in 6 milliseconds