Home | History | Annotate | Download | only in tftp

Lines Matching refs:th_opcode

267 			dp->th_opcode = htons((u_short)DATA);
311 ap->th_opcode = ntohs(ap->th_opcode);
312 if (ap->th_opcode == ERROR) {
317 if (ap->th_opcode == ACK) {
347 if (ap->th_opcode == OACK) {
407 ap->th_opcode = htons((u_short)ACK);
456 dp->th_opcode = ntohs(dp->th_opcode);
457 if (dp->th_opcode == ERROR) {
462 if (dp->th_opcode == DATA) {
485 if (dp->th_opcode == OACK) {
491 ap->th_opcode = htons(ACK);
515 ap->th_opcode = htons((u_short)ACK); /* has seen err msg */
542 tp->th_opcode = htons((u_short)request);
612 tp->th_opcode = htons((u_short)ERROR);
639 u_short op = ntohs(tp->th_opcode);