Lines Matching refs:tptr
178 rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, const u_int len, in rpki_rtr_pdu_print() argument
186 ND_TCHECK_8BITS(tptr); in rpki_rtr_pdu_print()
187 if (*tptr != 0) { in rpki_rtr_pdu_print()
194 ND_PRINT((ndo, "%sRPKI-RTRv%u (unknown)", indent_string(8), *tptr)); in rpki_rtr_pdu_print()
201 ND_TCHECK2(*tptr, sizeof(rpki_rtr_pdu)); in rpki_rtr_pdu_print()
202 pdu_header = (const rpki_rtr_pdu *)tptr; in rpki_rtr_pdu_print()
229 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
266 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
267 pdu = (const rpki_rtr_pdu_ipv4_prefix *)tptr; in rpki_rtr_pdu_print()
282 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
283 pdu = (const rpki_rtr_pdu_ipv6_prefix *)tptr; in rpki_rtr_pdu_print()
301 ND_TCHECK2(*tptr, tlen + 4); in rpki_rtr_pdu_print()
305 pdu = (const rpki_rtr_pdu_error_report *)tptr; in rpki_rtr_pdu_print()
331 ND_TCHECK2(*tptr, tlen + encapsulated_pdu_length); in rpki_rtr_pdu_print()
335 rpki_rtr_pdu_print(ndo, tptr + tlen, in rpki_rtr_pdu_print()
343 ND_TCHECK2(*tptr, tlen + 4); in rpki_rtr_pdu_print()
351 text_length = EXTRACT_32BITS(tptr + tlen); in rpki_rtr_pdu_print()
359 if (fn_printn(ndo, tptr + tlen, text_length, ndo->ndo_snapend)) in rpki_rtr_pdu_print()
366 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
376 print_unknown_data(ndo,tptr,"\n\t ", pdu_len); in rpki_rtr_pdu_print()
382 ND_TCHECK2(*tptr, len); in rpki_rtr_pdu_print()