Lines Matching refs:tptr
172 rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, u_int indent) in rpki_rtr_pdu_print() argument
178 pdu_header = (rpki_rtr_pdu *)tptr; in rpki_rtr_pdu_print()
181 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
226 pdu = (rpki_rtr_pdu_ipv4_prefix *)tptr; in rpki_rtr_pdu_print()
240 pdu = (rpki_rtr_pdu_ipv6_prefix *)tptr; in rpki_rtr_pdu_print()
255 pdu = (rpki_rtr_pdu_error_report *)tptr; in rpki_rtr_pdu_print()
257 ND_TCHECK2(*tptr, encapsulated_pdu_length); in rpki_rtr_pdu_print()
266 tptr += sizeof(*pdu); in rpki_rtr_pdu_print()
275 rpki_rtr_pdu_print(ndo, tptr, indent+2); in rpki_rtr_pdu_print()
278 tptr += encapsulated_pdu_length; in rpki_rtr_pdu_print()
286 text_length = EXTRACT_32BITS(tptr); in rpki_rtr_pdu_print()
287 tptr += 4; in rpki_rtr_pdu_print()
290 ND_TCHECK2(*tptr, text_length); in rpki_rtr_pdu_print()
293 fn_printn(ndo, tptr, text_length, ndo->ndo_snapend); in rpki_rtr_pdu_print()
308 print_unknown_data(ndo,tptr,"\n\t ", pdu_len); in rpki_rtr_pdu_print()
321 const u_char *tptr; in rpki_rtr_print() local
324 tptr = pptr; in rpki_rtr_print()
334 ND_TCHECK2(*tptr, sizeof(rpki_rtr_pdu)); in rpki_rtr_print()
336 pdu_header = (rpki_rtr_pdu *)tptr; in rpki_rtr_print()
339 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_print()
353 rpki_rtr_pdu_print(ndo, tptr, 8); in rpki_rtr_print()
356 tptr += pdu_len; in rpki_rtr_print()