Lines Matching refs:ND_PRINT

196             ND_PRINT("\n\t    Remaining LS length %u < 4", ls_length);  in ospf_grace_lsa_print()
204 ND_PRINT("\n\t %s TLV (%u), length %u, value: ", in ospf_grace_lsa_print()
210 ND_PRINT("\n\t Bogus length %u > %u", tlv_length, in ospf_grace_lsa_print()
225 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_grace_lsa_print()
228 ND_PRINT("%us", GET_BE_U_4(tptr)); in ospf_grace_lsa_print()
233 ND_PRINT("\n\t Bogus length %u != 1", tlv_length); in ospf_grace_lsa_print()
236 ND_PRINT("%s (%u)", in ospf_grace_lsa_print()
243 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_grace_lsa_print()
246 ND_PRINT("%s", GET_IPADDR_STRING(tptr)); in ospf_grace_lsa_print()
283 ND_PRINT("\n\t Remaining LS length %u < 4", ls_length); in ospf_te_lsa_print()
291 ND_PRINT("\n\t %s TLV (%u), length: %u", in ospf_te_lsa_print()
297 ND_PRINT("\n\t Bogus length %u > %u", tlv_length, in ospf_te_lsa_print()
311 ND_PRINT("\n\t Remaining TLV length %u < 4", in ospf_te_lsa_print()
324 ND_PRINT("\n\t %s subTLV (%u), length: %u", in ospf_te_lsa_print()
330 ND_PRINT("\n\t Remaining TLV length %u < %u", in ospf_te_lsa_print()
338 ND_PRINT(" != 4"); in ospf_te_lsa_print()
341 ND_PRINT(", 0x%08x", GET_BE_U_4(tptr)); in ospf_te_lsa_print()
346 ND_PRINT(" != 4 && != 8"); in ospf_te_lsa_print()
349 ND_PRINT(", %s (0x%08x)", in ospf_te_lsa_print()
353 ND_PRINT(", %s (0x%08x)", in ospf_te_lsa_print()
360 ND_PRINT(" != 4"); in ospf_te_lsa_print()
363 ND_PRINT(", %s", GET_IPADDR_STRING(tptr)); in ospf_te_lsa_print()
368 ND_PRINT(" != 4"); in ospf_te_lsa_print()
372 ND_PRINT(", %.3f Mbps", bw.f * 8 / 1000000); in ospf_te_lsa_print()
376 ND_PRINT(" != 32"); in ospf_te_lsa_print()
381 ND_PRINT("\n\t\tTE-Class %u: %.3f Mbps", in ospf_te_lsa_print()
388 ND_PRINT(" < 4"); in ospf_te_lsa_print()
392 ND_PRINT("\n\t\tBandwidth Constraints Model ID: %s (%u)", in ospf_te_lsa_print()
396 ND_PRINT("\n\t\tlength %u != N x 4", subtlv_length); in ospf_te_lsa_print()
400 ND_PRINT("\n\t\tlength %u > 36", subtlv_length); in ospf_te_lsa_print()
406 ND_PRINT("\n\t\t Bandwidth constraint CT%u: %.3f Mbps", in ospf_te_lsa_print()
413 ND_PRINT(" != 4"); in ospf_te_lsa_print()
416 ND_PRINT(", Metric %u", GET_BE_U_4(tptr)); in ospf_te_lsa_print()
421 ND_PRINT(" != 4"); in ospf_te_lsa_print()
424 ND_PRINT(", %s", in ospf_te_lsa_print()
429 ND_PRINT(" < 36"); in ospf_te_lsa_print()
433 ND_PRINT("\n\t\tInterface Switching Capability: %s", in ospf_te_lsa_print()
435 ND_PRINT("\n\t\tLSP Encoding: %s\n\t\tMax LSP Bandwidth:", in ospf_te_lsa_print()
439 ND_PRINT("\n\t\t priority level %u: %.3f Mbps", in ospf_te_lsa_print()
446 ND_PRINT(" != 1"); in ospf_te_lsa_print()
449 ND_PRINT(", %s (%u)", in ospf_te_lsa_print()
456 ND_PRINT(" != N x 4"); in ospf_te_lsa_print()
461 ND_PRINT("\n\t\t Shared risk group: "); in ospf_te_lsa_print()
464 ND_PRINT("%u", bw.i); in ospf_te_lsa_print()
468 ND_PRINT(", "); in ospf_te_lsa_print()
484 ND_PRINT("\n\t Remaining TLV length %u < %u", in ospf_te_lsa_print()
496 ND_PRINT("\n\t TLV length %u < 4", tlv_length); in ospf_te_lsa_print()
499 ND_PRINT(", %s", GET_IPADDR_STRING(tptr)); in ospf_te_lsa_print()
513 ND_PRINT("\n\t Bogus padded length %u > %u", tlv_length, in ospf_te_lsa_print()
537 ND_PRINT("\n\t Bogus length %u < header (%zu)", ls_length, in ospf_print_lshdr()
541 ND_PRINT("\n\t Advertising Router %s, seq 0x%08x, age %us, length %zu", in ospf_print_lshdr()
552 ND_PRINT("\n\t %s LSA (%u), Opaque-Type %s LSA (%u), Opaque-ID %u", in ospf_print_lshdr()
567 ND_PRINT("\n\t %s LSA (%u), LSA-ID: %s", in ospf_print_lshdr()
573 ND_PRINT("\n\t Options: [%s]", in ospf_print_lshdr()
606 ND_PRINT("\n\t\ttopology %s (%u), metric %u", in ospf_print_tos_metrics()
652 ND_PRINT("\n\t Router LSA Options: [%s]", in ospf_print_lsa()
663ND_PRINT("\n\t Virtual Link: Neighbor Router-ID: %s, Interface Address: %s", in ospf_print_lsa()
669ND_PRINT("\n\t Neighbor Router-ID: %s, Interface Address: %s", in ospf_print_lsa()
675ND_PRINT("\n\t Neighbor Network-ID: %s, Interface Address: %s", in ospf_print_lsa()
681 ND_PRINT("\n\t Stub Network: %s, Mask: %s", in ospf_print_lsa()
687 ND_PRINT("\n\t Unknown Router Link Type (%u)", in ospf_print_lsa()
700 ND_PRINT("\n\t Mask %s\n\t Connected Routers:", in ospf_print_lsa()
704 ND_PRINT("\n\t %s", GET_IPADDR_STRING(ap)); in ospf_print_lsa()
711 ND_PRINT("\n\t Mask %s", in ospf_print_lsa()
720 ND_PRINT("\n\t\ttopology %s (%u) metric %u", in ospf_print_lsa()
736 ND_PRINT("\n\t\ttopology %s (%u) metric %u", in ospf_print_lsa()
747 ND_PRINT("\n\t Mask %s", in ospf_print_lsa()
757 ND_PRINT("\n\t\ttopology %s (%u), type %u, metric", in ospf_print_lsa()
762 ND_PRINT(" infinite"); in ospf_print_lsa()
764 ND_PRINT(" %u", (ul & ASLA_MASK_METRIC)); in ospf_print_lsa()
767ND_PRINT(", forward %s", GET_IPADDR_STRING(almp->asla_forward)); in ospf_print_lsa()
770 ND_PRINT(", tag %s", GET_IPADDR_STRING(almp->asla_tag)); in ospf_print_lsa()
783 ND_PRINT("\n\t Router Router-ID %s", in ospf_print_lsa()
788 ND_PRINT("\n\t Network Designated Router %s", in ospf_print_lsa()
793 ND_PRINT("\n\t unknown VertexType (%u)", in ospf_print_lsa()
813 ND_PRINT("\n\t Remaining LS length %u < 4", ls_length_remaining); in ospf_print_lsa()
821 ND_PRINT("\n\t %s TLV (%u), length: %u, value: ", in ospf_print_lsa()
827 ND_PRINT("\n\t Bogus length %u > remaining LS length %u", tlv_length, in ospf_print_lsa()
836 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_print_lsa()
839 ND_PRINT("Capabilities: %s", in ospf_print_lsa()
932 ND_PRINT("\n\t[LLS truncated]"); in ospf_decode_lls()
935 ND_PRINT("\n\t LLS: checksum: 0x%04x", (u_int) GET_BE_U_2(dptr)); in ospf_decode_lls()
939 ND_PRINT(", length: %u", length2); in ospf_decode_lls()
944 ND_PRINT("\n\t %s (%u)", in ospf_decode_lls()
949 ND_PRINT(", length: %u", lls_len); in ospf_decode_lls()
955 ND_PRINT(" [should be 4]"); in ospf_decode_lls()
959 ND_PRINT("\n\t Options: 0x%08x [%s]", lls_flags, in ospf_decode_lls()
966 ND_PRINT(" [should be 20]"); in ospf_decode_lls()
969 ND_PRINT("\n\t Sequence number: 0x%08x", GET_BE_U_4(dptr)); in ospf_decode_lls()
990 ND_PRINT("\n\tOptions [%s]", in ospf_decode_v2()
993 ND_PRINT("\n\t Hello Timer %us, Dead Timer %us, Mask %s, Priority %u", in ospf_decode_v2()
1000 ND_PRINT("\n\t Designated Router %s", in ospf_decode_v2()
1004 ND_PRINT(", Backup Designated Router %s", in ospf_decode_v2()
1009 ND_PRINT("\n\t Neighbor List:"); in ospf_decode_v2()
1011 ND_PRINT("\n\t %s", GET_IPADDR_STRING(ap)); in ospf_decode_v2()
1017 ND_PRINT("\n\tOptions [%s]", in ospf_decode_v2()
1019 ND_PRINT(", DD Flags [%s]", in ospf_decode_v2()
1022 ND_PRINT(", MTU: %u", in ospf_decode_v2()
1025 ND_PRINT(", Sequence: 0x%08x", GET_BE_U_4(op->ospf_db.db_seq)); in ospf_decode_v2()
1039 ND_PRINT("\n\t Advertising Router: %s, %s LSA (%u)", in ospf_decode_v2()
1049 ND_PRINT(", Opaque-Type: %s LSA (%u), Opaque-ID: %u", in ospf_decode_v2()
1055 ND_PRINT(", LSA-ID: %s", in ospf_decode_v2()
1067 ND_PRINT(", %u LSA%s", lsa_count_max, PLURAL_SUFFIX(lsa_count_max)); in ospf_decode_v2()
1069 ND_PRINT("\n\t LSA #%u", lsa_count); in ospf_decode_v2()
1113 ND_PRINT("OSPFv%u, %s, length %u", GET_U_1(op->ospf_version), cp, in ospf_print()
1123 ND_PRINT(" [len %u]", GET_BE_U_2(op->ospf_len)); in ospf_print()
1132 ND_PRINT("\n\tRouter-ID %s", GET_IPADDR_STRING(op->ospf_routerid)); in ospf_print()
1135 ND_PRINT(", Area %s", GET_IPADDR_STRING(op->ospf_areaid)); in ospf_print()
1137 ND_PRINT(", Backbone Area"); in ospf_print()
1143 ND_PRINT(", Authentication Type: %s (%u)", in ospf_print()
1153 ND_PRINT("\n\tSimple text password: "); in ospf_print()
1158ND_PRINT("\n\tKey-ID: %u, Auth-Length: %u, Crypto Sequence Number: 0x%08x", in ospf_print()
1180 ND_PRINT(" ospf [version %u]", GET_U_1(op->ospf_version)); in ospf_print()