Lines Matching refs:tp
77 register const struct tftphdr *tp;
83 tp = (const struct tftphdr *)bp;
89 TCHECK(tp->th_opcode);
90 opcode = EXTRACT_16BITS(&tp->th_opcode);
107 p = (u_char *)tp->th_stuff;
109 p = (u_char *)&tp->th_block;
121 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
136 TCHECK(tp->th_block);
137 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
142 TCHECK(tp->th_code);
144 EXTRACT_16BITS(&tp->th_code)));
146 i = fn_print((const u_char *)tp->th_data, snapend);