• Home
  • Raw
  • Download

Lines Matching refs:tptr

185                      const uint8_t *tptr, u_int ls_length)  in ospf_print_grace_lsa()  argument
191 ND_TCHECK2(*tptr, 4); in ospf_print_grace_lsa()
196 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa()
197 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa()
198 tptr+=4; in ospf_print_grace_lsa()
217 ND_TCHECK2(*tptr, tlv_length); in ospf_print_grace_lsa()
225 ND_PRINT((ndo, "%us", EXTRACT_32BITS(tptr))); in ospf_print_grace_lsa()
234 tok2str(lsa_opaque_grace_tlv_reason_values, "Unknown", *tptr), in ospf_print_grace_lsa()
235 *tptr)); in ospf_print_grace_lsa()
243 ND_PRINT((ndo, "%s", ipaddr_string(ndo, tptr))); in ospf_print_grace_lsa()
248 if (!print_unknown_data(ndo, tptr, "\n\t ", tlv_length)) in ospf_print_grace_lsa()
258 tptr+=tlv_length; in ospf_print_grace_lsa()
268 const uint8_t *tptr, u_int ls_length) in ospf_print_te_lsa() argument
278 ND_TCHECK2(*tptr, 4); in ospf_print_te_lsa()
283 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
284 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
285 tptr+=4; in ospf_print_te_lsa()
312 ND_TCHECK2(*tptr, 4); in ospf_print_te_lsa()
313 subtlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
314 subtlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
315 tptr+=4; in ospf_print_te_lsa()
327 ND_TCHECK2(*tptr, subtlv_length); in ospf_print_te_lsa()
334 ND_PRINT((ndo, ", 0x%08x", EXTRACT_32BITS(tptr))); in ospf_print_te_lsa()
343 ipaddr_string(ndo, tptr), in ospf_print_te_lsa()
344 EXTRACT_32BITS(tptr))); in ospf_print_te_lsa()
347 ipaddr_string(ndo, tptr+4), in ospf_print_te_lsa()
348 EXTRACT_32BITS(tptr + 4))); in ospf_print_te_lsa()
356 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr))); in ospf_print_te_lsa()
364 bw.i = EXTRACT_32BITS(tptr); in ospf_print_te_lsa()
373 bw.i = EXTRACT_32BITS(tptr+te_class*4); in ospf_print_te_lsa()
386 tok2str(diffserv_te_bc_values, "unknown", *tptr), in ospf_print_te_lsa()
387 *tptr)); in ospf_print_te_lsa()
398 bw.i = EXTRACT_32BITS(tptr+4+te_class*4); in ospf_print_te_lsa()
409 ND_PRINT((ndo, ", Metric %u", EXTRACT_32BITS(tptr))); in ospf_print_te_lsa()
418 bittok2str(gmpls_link_prot_values, "none", *tptr))); in ospf_print_te_lsa()
427 tok2str(gmpls_switch_cap_values, "Unknown", *(tptr)))); in ospf_print_te_lsa()
429 tok2str(gmpls_encoding_values, "Unknown", *(tptr + 1)))); in ospf_print_te_lsa()
431 bw.i = EXTRACT_32BITS(tptr+4+(priority_level*4)); in ospf_print_te_lsa()
443 tok2str(lsa_opaque_te_tlv_link_type_sub_tlv_values,"unknown",*tptr), in ospf_print_te_lsa()
444 *tptr)); in ospf_print_te_lsa()
456 bw.i = EXTRACT_32BITS(tptr); in ospf_print_te_lsa()
458 tptr+=4; in ospf_print_te_lsa()
467 if (!print_unknown_data(ndo, tptr, "\n\t\t", subtlv_length)) in ospf_print_te_lsa()
477 tptr+=subtlv_length; in ospf_print_te_lsa()
487 ND_TCHECK2(*tptr, 4); in ospf_print_te_lsa()
488 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr))); in ospf_print_te_lsa()
493 if (!print_unknown_data(ndo, tptr, "\n\t ", tlv_length)) in ospf_print_te_lsa()
502 tptr+=tlv_length; in ospf_print_te_lsa()
626 const uint8_t *tptr; in ospf_print_lsa() local
628 tptr = (const uint8_t *)lsap->lsa_un.un_unknown; /* squelch compiler warnings */ in ospf_print_lsa()
804 tptr = (const uint8_t *)(&lsap->lsa_un.un_ri_tlv.type); in ospf_print_lsa()
807 ND_TCHECK2(*tptr, 4); in ospf_print_lsa()
812 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_lsa()
813 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_lsa()
814 tptr+=4; in ospf_print_lsa()
827 ND_TCHECK2(*tptr, tlv_length); in ospf_print_lsa()
836 … bittok2str(lsa_opaque_ri_tlv_cap_values, "Unknown", EXTRACT_32BITS(tptr)))); in ospf_print_lsa()
840 if (!print_unknown_data(ndo, tptr, "\n\t ", tlv_length)) in ospf_print_lsa()
846 tptr+=tlv_length; in ospf_print_lsa()