Lines Matching refs:th_opcode
448 tp->th_opcode = ntohs((ushort_t)tp->th_opcode);
449 if (tp->th_opcode == RRQ || tp->th_opcode == WRQ)
682 oackp->th_opcode = htons((ushort_t)OACK);
782 readmode = (tp->th_opcode == RRQ);
849 ecode = (*pf->f_validate)(tp->th_opcode);
880 oacklen = process_options(tp->th_opcode, cp, buf.data + size);
882 if (tp->th_opcode == WRQ)
1053 ackbuf.tb_hdr.th_opcode =
1054 ntohs((ushort_t)ackbuf.tb_hdr.th_opcode);
1058 if (ackbuf.tb_hdr.th_opcode == ERROR) {
1072 if (ackbuf.tb_hdr.th_opcode == ACK) {
1097 dp->th_opcode = htons((ushort_t)DATA);
1131 ackbuf.tb_hdr.th_opcode =
1132 ntohs((ushort_t)ackbuf.tb_hdr.th_opcode);
1136 if (ackbuf.tb_hdr.th_opcode == ERROR) {
1150 if (ackbuf.tb_hdr.th_opcode == ACK) {
1198 ap->th_opcode = htons((ushort_t)ACK);
1211 if (ap->th_opcode == htons((ushort_t)ACK)) {
1223 if (ap->th_opcode == htons((ushort_t)ACK)) {
1255 dp->th_opcode = ntohs((ushort_t)dp->th_opcode);
1257 if (dp->th_opcode == ERROR) {
1269 if (dp->th_opcode == DATA) {
1305 ap->th_opcode = htons((ushort_t)ACK); /* send the "final" ack */
1319 dp->th_opcode = ntohs((ushort_t)dp->th_opcode);
1322 dp->th_opcode == DATA && /* and got a data block */
1358 tp->th_opcode = htons((ushort_t)ERROR);