Home | History | Annotate | Download | only in server

Lines Matching refs:th_opcode

874     tp->th_opcode = ntohs(tp->th_opcode);
875 if (tp->th_opcode == opcode_RRQ || tp->th_opcode == opcode_WRQ) {
965 fprintf(server, "opcode: %x\n", tp->th_opcode);
1003 ecode = validate_access(test, filename, tp->th_opcode);
1018 if (tp->th_opcode == opcode_WRQ)
1220 sdp->th_opcode = htons((unsigned short)opcode_DATA);
1252 sap->th_opcode = ntohs((unsigned short)sap->th_opcode);
1255 if (sap->th_opcode == opcode_ERROR) {
1260 if (sap->th_opcode == opcode_ACK) {
1295 rap->th_opcode = htons((unsigned short)opcode_ACK);
1321 rdp->th_opcode = ntohs((unsigned short)rdp->th_opcode);
1323 if (rdp->th_opcode == opcode_ERROR)
1325 if (rdp->th_opcode == opcode_DATA) {
1347 rap->th_opcode = htons((unsigned short)opcode_ACK); /* send the "final" ack */
1362 rdp->th_opcode == opcode_DATA && /* and got a data block */
1381 tp->th_opcode = htons((unsigned short)opcode_ERROR);