Lines Matching refs:th_opcode
441 tp->th_opcode = ntohs(tp->th_opcode);
442 if (tp->th_opcode == RRQ || tp->th_opcode == WRQ)
465 tp->th_opcode == WRQ ? "write" : "read",
474 tp->th_opcode == WRQ ? "write" : "read",
506 tp->th_opcode == WRQ ? "write" : "read",
515 tp->th_opcode == WRQ ? "write" : "read",
560 tp->th_opcode == WRQ ? "write" : "read",
569 tp->th_opcode == WRQ ? "write" : "read",
720 ecode = (*pf->f_validate)(&filename, tp->th_opcode);
724 tp->th_opcode == WRQ ? "write" : "read",
751 oack_h->th_opcode = htons(OACK);
754 if (tp->th_opcode == WRQ)
975 dp->th_opcode = htons((u_short)DATA);
999 ap->th_opcode = ntohs((u_short)ap->th_opcode);
1001 switch (ap->th_opcode) {
1024 opcode(dp->th_opcode));
1067 ap->th_opcode = htons((u_short)ACK);
1095 dp->th_opcode = ntohs((u_short)dp->th_opcode);
1099 opcode(dp->th_opcode),
1102 switch (dp->th_opcode) {
1118 opcode(dp->th_opcode));
1136 ap->th_opcode = htons((u_short)ACK); /* send the "final" ack */
1147 dp->th_opcode == DATA && /* and got a data block */
1201 tp->th_opcode = htons((u_short)ERROR);