Lines Matching defs: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);
102 p = (u_char *)tp->th_stuff;
113 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
128 TCHECK(tp->th_block);
129 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
134 TCHECK(tp->th_code);
136 EXTRACT_16BITS(&tp->th_code)));
138 i = fn_print((const u_char *)tp->th_data, snapend);