Lines Matching refs:tlen
253 u_int encapsulated_pdu_length, text_length, tlen, error_code; in rpki_rtr_pdu_print() local
258 tlen = pdu_len; in rpki_rtr_pdu_print()
267 tlen -= sizeof(*pdu); in rpki_rtr_pdu_print()
273 (encapsulated_pdu_length <= tlen)) { in rpki_rtr_pdu_print()
279 tlen -= encapsulated_pdu_length; in rpki_rtr_pdu_print()
285 if (tlen > 4) { in rpki_rtr_pdu_print()
288 tlen -= 4; in rpki_rtr_pdu_print()
291 if (text_length && (text_length <= tlen )) { in rpki_rtr_pdu_print()
320 u_int tlen, pdu_type, pdu_len; in rpki_rtr_print() local
325 tlen = len; in rpki_rtr_print()
332 while (tlen >= sizeof(rpki_rtr_pdu)) { in rpki_rtr_print()
346 if (tlen < pdu_len) { in rpki_rtr_print()
355 tlen -= pdu_len; in rpki_rtr_print()