• Home
  • Raw
  • Download

Lines Matching refs:subtlv_length

270     u_int tlv_type, tlv_length, subtlv_type, subtlv_length;  in ospf_print_te_lsa()  local
306 while (tlv_length >= sizeof(subtlv_type) + sizeof(subtlv_length)) { in ospf_print_te_lsa()
314 subtlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
319 if (subtlv_type == 0 || subtlv_length == 0) in ospf_print_te_lsa()
325 subtlv_length)); in ospf_print_te_lsa()
327 ND_TCHECK2(*tptr, subtlv_length); in ospf_print_te_lsa()
330 if (subtlv_length != 4) { in ospf_print_te_lsa()
338 if (subtlv_length != 4 && subtlv_length != 8) { in ospf_print_te_lsa()
345 if (subtlv_length == 8) /* rfc4203 */ in ospf_print_te_lsa()
352 if (subtlv_length != 4) { in ospf_print_te_lsa()
360 if (subtlv_length != 4) { in ospf_print_te_lsa()
368 if (subtlv_length != 32) { in ospf_print_te_lsa()
380 if (subtlv_length < 4) { in ospf_print_te_lsa()
388 if (subtlv_length % 4 != 0) { in ospf_print_te_lsa()
389 ND_PRINT((ndo, "\n\t\tlength %u != N x 4", subtlv_length)); in ospf_print_te_lsa()
392 if (subtlv_length > 36) { in ospf_print_te_lsa()
393 ND_PRINT((ndo, "\n\t\tlength %u > 36", subtlv_length)); in ospf_print_te_lsa()
397 for (te_class = 0; te_class < (subtlv_length-4)/4; te_class++) { in ospf_print_te_lsa()
405 if (subtlv_length != 4) { in ospf_print_te_lsa()
413 if (subtlv_length != 4) { in ospf_print_te_lsa()
421 if (subtlv_length < 36) { in ospf_print_te_lsa()
438 if (subtlv_length != 1) { in ospf_print_te_lsa()
448 if (subtlv_length % 4 != 0) { in ospf_print_te_lsa()
452 count_srlg = subtlv_length / 4; in ospf_print_te_lsa()
467 if (!print_unknown_data(ndo, tptr, "\n\t\t", subtlv_length)) in ospf_print_te_lsa()
473 if (subtlv_length%4 != 0) in ospf_print_te_lsa()
474 subtlv_length+=4-(subtlv_length%4); in ospf_print_te_lsa()
476 tlv_length-=subtlv_length; in ospf_print_te_lsa()
477 tptr+=subtlv_length; in ospf_print_te_lsa()