Lines Matching refs:tptr

146     const u_char *tptr;  in mpcp_print()  local
151 tptr=pptr; in mpcp_print()
154 if (!TTEST2(*tptr, sizeof(const struct mpcp_common_header_t))) in mpcp_print()
166 tptr += sizeof(const struct mpcp_common_header_t); in mpcp_print()
173 if (!TTEST2(*tptr, MPCP_GRANT_NUMBER_LEN)) in mpcp_print()
175 grant_numbers = *tptr & MPCP_GRANT_NUMBER_MASK; in mpcp_print()
180 *tptr &~ MPCP_GRANT_NUMBER_MASK)); in mpcp_print()
181 tptr++; in mpcp_print()
184 if (!TTEST2(*tptr, sizeof(const struct mpcp_grant_t))) in mpcp_print()
186 mpcp.grant = (const struct mpcp_grant_t *)tptr; in mpcp_print()
191 tptr += sizeof(const struct mpcp_grant_t); in mpcp_print()
194 if (!TTEST2(*tptr, MPCP_TIMESTAMP_DURATION_LEN)) in mpcp_print()
196 printf("\n\tSync-Time %u ticks", EXTRACT_16BITS(tptr)); in mpcp_print()
201 if (!TTEST2(*tptr, MPCP_REPORT_QUEUESETS_LEN)) in mpcp_print()
203 queue_sets = *tptr; in mpcp_print()
204 tptr+=MPCP_REPORT_QUEUESETS_LEN; in mpcp_print()
208 if (!TTEST2(*tptr, MPCP_REPORT_REPORTBITMAP_LEN)) in mpcp_print()
210 report_bitmap = *(tptr); in mpcp_print()
214 tptr++; in mpcp_print()
219 if (!TTEST2(*tptr, MPCP_TIMESTAMP_DURATION_LEN)) in mpcp_print()
223 EXTRACT_16BITS(tptr)); in mpcp_print()
224 tptr+=MPCP_TIMESTAMP_DURATION_LEN; in mpcp_print()
233 if (!TTEST2(*tptr, sizeof(const struct mpcp_reg_req_t))) in mpcp_print()
235 mpcp.reg_req = (const struct mpcp_reg_req_t *)tptr; in mpcp_print()
242 if (!TTEST2(*tptr, sizeof(const struct mpcp_reg_t))) in mpcp_print()
244 mpcp.reg = (const struct mpcp_reg_t *)tptr; in mpcp_print()
254 if (!TTEST2(*tptr, sizeof(const struct mpcp_reg_ack_t))) in mpcp_print()
256 mpcp.reg_ack = (const struct mpcp_reg_ack_t *)tptr; in mpcp_print()