Lines Matching refs:ND_PRINT
192 ND_PRINT((ndo, "\n\t Remaining LS length %u < 4", ls_length)); in ospf_print_grace_lsa()
200 ND_PRINT((ndo, "\n\t %s TLV (%u), length %u, value: ", in ospf_print_grace_lsa()
206 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length, in ospf_print_grace_lsa()
221 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length)); in ospf_print_grace_lsa()
224 ND_PRINT((ndo, "%us", EXTRACT_32BITS(tptr))); in ospf_print_grace_lsa()
229 ND_PRINT((ndo, "\n\t Bogus length %u != 1", tlv_length)); in ospf_print_grace_lsa()
232 ND_PRINT((ndo, "%s (%u)", in ospf_print_grace_lsa()
239 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length)); in ospf_print_grace_lsa()
242 ND_PRINT((ndo, "%s", ipaddr_string(ndo, tptr))); in ospf_print_grace_lsa()
279 ND_PRINT((ndo, "\n\t Remaining LS length %u < 4", ls_length)); in ospf_print_te_lsa()
287 ND_PRINT((ndo, "\n\t %s TLV (%u), length: %u", in ospf_print_te_lsa()
293 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length, in ospf_print_te_lsa()
307 ND_PRINT((ndo, "\n\t Remaining TLV length %u < 4", in ospf_print_te_lsa()
317 ND_PRINT((ndo, "\n\t %s subTLV (%u), length: %u", in ospf_print_te_lsa()
325 ND_PRINT((ndo, ", 0x%08x", EXTRACT_32BITS(tptr))); in ospf_print_te_lsa()
329 ND_PRINT((ndo, ", %s (0x%08x)", in ospf_print_te_lsa()
333 ND_PRINT((ndo, ", %s (0x%08x)", in ospf_print_te_lsa()
339 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr))); in ospf_print_te_lsa()
344 ND_PRINT((ndo, ", %.3f Mbps", bw.f * 8 / 1000000)); in ospf_print_te_lsa()
349 ND_PRINT((ndo, "\n\t\tTE-Class %u: %.3f Mbps", in ospf_print_te_lsa()
355 ND_PRINT((ndo, "\n\t\tBandwidth Constraints Model ID: %s (%u)", in ospf_print_te_lsa()
361 ND_PRINT((ndo, "\n\t\t Bandwidth constraint CT%u: %.3f Mbps", in ospf_print_te_lsa()
367 ND_PRINT((ndo, ", Metric %u", EXTRACT_32BITS(tptr))); in ospf_print_te_lsa()
370 ND_PRINT((ndo, ", %s, Priority %u", in ospf_print_te_lsa()
375 ND_PRINT((ndo, "\n\t\tInterface Switching Capability: %s", in ospf_print_te_lsa()
377 ND_PRINT((ndo, "\n\t\tLSP Encoding: %s\n\t\tMax LSP Bandwidth:", in ospf_print_te_lsa()
381 ND_PRINT((ndo, "\n\t\t priority level %d: %.3f Mbps", in ospf_print_te_lsa()
387 ND_PRINT((ndo, ", %s (%u)", in ospf_print_te_lsa()
395 ND_PRINT((ndo, "\n\t\t Shared risk group: ")); in ospf_print_te_lsa()
398 ND_PRINT((ndo, "%d", bw.i)); in ospf_print_te_lsa()
402 ND_PRINT((ndo, ", ")); in ospf_print_te_lsa()
425 ND_PRINT((ndo, "\n\t TLV length %u < 4", tlv_length)); in ospf_print_te_lsa()
429 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr))); in ospf_print_te_lsa()
459 ND_PRINT((ndo, "\n\t Bogus length %u < header (%lu)", ls_length, in ospf_print_lshdr()
465 ND_PRINT((ndo, "\n\t Advertising Router %s, seq 0x%08x, age %us, length %u", in ospf_print_lshdr()
477 ND_PRINT((ndo, "\n\t %s LSA (%d), Opaque-Type %s LSA (%u), Opaque-ID %u", in ospf_print_lshdr()
492 ND_PRINT((ndo, "\n\t %s LSA (%d), LSA-ID: %s", in ospf_print_lshdr()
500 …ND_PRINT((ndo, "\n\t Options: [%s]", bittok2str(ospf_option_values, "none", lshp->ls_options))); in ospf_print_lshdr()
532 ND_PRINT((ndo, "\n\t\ttopology %s(%u), metric %u", in ospf_print_tos_metrics()
573 ND_PRINT((ndo, "\n\t Router LSA Options: [%s]", in ospf_print_lsa()
585 ND_PRINT((ndo, "\n\t Virtual Link: Neighbor Router-ID: %s, Interface Address: %s", in ospf_print_lsa()
591 ND_PRINT((ndo, "\n\t Neighbor Router-ID: %s, Interface Address: %s", in ospf_print_lsa()
597 ND_PRINT((ndo, "\n\t Neighbor Network-ID: %s, Interface Address: %s", in ospf_print_lsa()
603 ND_PRINT((ndo, "\n\t Stub Network: %s, Mask: %s", in ospf_print_lsa()
609 ND_PRINT((ndo, "\n\t Unknown Router Link Type (%u)", in ospf_print_lsa()
623 ND_PRINT((ndo, "\n\t Mask %s\n\t Connected Routers:", in ospf_print_lsa()
628 ND_PRINT((ndo, "\n\t %s", ipaddr_string(ndo, ap))); in ospf_print_lsa()
635 ND_PRINT((ndo, "\n\t Mask %s", in ospf_print_lsa()
645 ND_PRINT((ndo, "\n\t\ttopology %s(%u) metric %d", in ospf_print_lsa()
662 ND_PRINT((ndo, "\n\t\ttopology %s(%u) metric %d", in ospf_print_lsa()
673 ND_PRINT((ndo, "\n\t Mask %s", in ospf_print_lsa()
684 ND_PRINT((ndo, "\n\t\ttopology %s(%u), type %d, metric", in ospf_print_lsa()
689 ND_PRINT((ndo, " infinite")); in ospf_print_lsa()
691 ND_PRINT((ndo, " %d", (ul & ASLA_MASK_METRIC))); in ospf_print_lsa()
695 ND_PRINT((ndo, ", forward %s", ipaddr_string(ndo, &almp->asla_forward))); in ospf_print_lsa()
699 ND_PRINT((ndo, ", tag %s", ipaddr_string(ndo, &almp->asla_tag))); in ospf_print_lsa()
713 ND_PRINT((ndo, "\n\t Router Router-ID %s", in ospf_print_lsa()
718 ND_PRINT((ndo, "\n\t Network Designated Router %s", in ospf_print_lsa()
723 ND_PRINT((ndo, "\n\t unknown VertexType (%u)", in ospf_print_lsa()
742 ND_PRINT((ndo, "\n\t Remaining LS length %u < 4", ls_length)); in ospf_print_lsa()
750 ND_PRINT((ndo, "\n\t %s TLV (%u), length: %u, value: ", in ospf_print_lsa()
756 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length, in ospf_print_lsa()
765 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length)); in ospf_print_lsa()
768 ND_PRINT((ndo, "Capabilities: %s", in ospf_print_lsa()
856 ND_PRINT((ndo, "\n\t[LLS truncated]")); in ospf_decode_lls()
860 ND_PRINT((ndo, "\n\t LLS: checksum: 0x%04x", (u_int)EXTRACT_16BITS(dptr))); in ospf_decode_lls()
865 ND_PRINT((ndo, ", length: %u", length2)); in ospf_decode_lls()
872 ND_PRINT((ndo, "\n\t %s (%u)", in ospf_decode_lls()
878 ND_PRINT((ndo, ", length: %u", lls_len)); in ospf_decode_lls()
884 ND_PRINT((ndo, " [should be 4]")); in ospf_decode_lls()
889 ND_PRINT((ndo, "\n\t Options: 0x%08x [%s]", lls_flags, in ospf_decode_lls()
896 ND_PRINT((ndo, " [should be 20]")); in ospf_decode_lls()
900 ND_PRINT((ndo, "\n\t Sequence number: 0x%08x", EXTRACT_32BITS(dptr))); in ospf_decode_lls()
932 ND_PRINT((ndo, "\n\tOptions [%s]", in ospf_decode_v2()
936 ND_PRINT((ndo, "\n\t Hello Timer %us, Dead Timer %us, Mask %s, Priority %u", in ospf_decode_v2()
944 ND_PRINT((ndo, "\n\t Designated Router %s", in ospf_decode_v2()
949 ND_PRINT((ndo, ", Backup Designated Router %s", in ospf_decode_v2()
954 ND_PRINT((ndo, "\n\t Neighbor List:")); in ospf_decode_v2()
957 ND_PRINT((ndo, "\n\t %s", ipaddr_string(ndo, ap))); in ospf_decode_v2()
964 ND_PRINT((ndo, "\n\tOptions [%s]", in ospf_decode_v2()
967 ND_PRINT((ndo, ", DD Flags [%s]", in ospf_decode_v2()
971 ND_PRINT((ndo, ", MTU: %u", EXTRACT_16BITS(&op->ospf_db.db_ifmtu))); in ospf_decode_v2()
974 ND_PRINT((ndo, ", Sequence: 0x%08x", EXTRACT_32BITS(&op->ospf_db.db_seq))); in ospf_decode_v2()
988 ND_PRINT((ndo, "\n\t Advertising Router: %s, %s LSA (%u)", in ospf_decode_v2()
998 ND_PRINT((ndo, ", Opaque-Type: %s LSA (%u), Opaque-ID: %u", in ospf_decode_v2()
1004 ND_PRINT((ndo, ", LSA-ID: %s", in ospf_decode_v2()
1017 ND_PRINT((ndo, ", %d LSA%s", lsa_count_max, PLURAL_SUFFIX(lsa_count_max))); in ospf_decode_v2()
1019 ND_PRINT((ndo, "\n\t LSA #%u", lsa_count)); in ospf_decode_v2()
1063 ND_PRINT((ndo, "OSPFv%u, %s, length %u", op->ospf_version, cp, length)); in ospf_print()
1073 ND_PRINT((ndo, " [len %d]", EXTRACT_16BITS(&op->ospf_len))); in ospf_print()
1083 ND_PRINT((ndo, "\n\tRouter-ID %s", ipaddr_string(ndo, &op->ospf_routerid))); in ospf_print()
1087 ND_PRINT((ndo, ", Area %s", ipaddr_string(ndo, &op->ospf_areaid))); in ospf_print()
1089 ND_PRINT((ndo, ", Backbone Area")); in ospf_print()
1095 ND_PRINT((ndo, ", Authentication Type: %s (%u)", in ospf_print()
1105 ND_PRINT((ndo, "\n\tSimple text password: ")); in ospf_print()
1110 ND_PRINT((ndo, "\n\tKey-ID: %u, Auth-Length: %u, Crypto Sequence Number: 0x%08x", in ospf_print()
1134 ND_PRINT((ndo, " ospf [version %d]", op->ospf_version)); in ospf_print()
1140 ND_PRINT((ndo, "%s", tstr)); in ospf_print()