Lines Matching refs:ND_PRINT
151 ND_PRINT((ndo, " RPF %s ", ipaddr_string(ndo, bp))); in pimv1_join_prune_print()
154 ND_PRINT((ndo, "Hold ")); in pimv1_join_prune_print()
157 ND_PRINT((ndo, "%s (%s/%d, %s", njoin ? "Join" : "Prune", in pimv1_join_prune_print()
161 ND_PRINT((ndo, "/%s", ipaddr_string(ndo, &bp[16]))); in pimv1_join_prune_print()
162 ND_PRINT((ndo, ") %s%s %s", in pimv1_join_prune_print()
171 ND_PRINT((ndo, "\n")); in pimv1_join_prune_print()
172 ND_PRINT((ndo, " Upstream Nbr: %s", ipaddr_string(ndo, bp))); in pimv1_join_prune_print()
175 ND_PRINT((ndo, "\n")); in pimv1_join_prune_print()
176 ND_PRINT((ndo, " Hold time: ")); in pimv1_join_prune_print()
193 ND_PRINT((ndo, "\n\tGroup: %s", ipaddr_string(ndo, bp))); in pimv1_join_prune_print()
196 ND_PRINT((ndo, "/%s", ipaddr_string(ndo, &bp[4]))); in pimv1_join_prune_print()
200 ND_PRINT((ndo, " joined: %d pruned: %d", njoin, nprune)); in pimv1_join_prune_print()
211 ND_PRINT((ndo, "\n\t%s %s%s%s%s/%d", type, in pimv1_join_prune_print()
222 ND_PRINT((ndo, "[|pim]")); in pimv1_join_prune_print()
240 ND_PRINT((ndo, " %s", tok2str(pimv1_type_str, "[type %u]", type))); in pimv1_print()
246 ND_PRINT((ndo, " Dense-mode")); in pimv1_print()
249 ND_PRINT((ndo, " Sparse-mode")); in pimv1_print()
252 ND_PRINT((ndo, " Sparse-Dense-mode")); in pimv1_print()
255 ND_PRINT((ndo, " mode-%d", bp[8] >> 4)); in pimv1_print()
261 ND_PRINT((ndo, " (Hold-time ")); in pimv1_print()
263 ND_PRINT((ndo, ")")); in pimv1_print()
269 ND_PRINT((ndo, " for %s > %s", ipaddr_string(ndo, &bp[20]), in pimv1_print()
274 ND_PRINT((ndo, " for %s > %s", ipaddr_string(ndo, &bp[8]), in pimv1_print()
280 ND_PRINT((ndo, " group %s", ipaddr_string(ndo, &bp[8]))); in pimv1_print()
282 ND_PRINT((ndo, "/%s", ipaddr_string(ndo, &bp[12]))); in pimv1_print()
283 ND_PRINT((ndo, " RP %s hold ", ipaddr_string(ndo, &bp[16]))); in pimv1_print()
289 ND_PRINT((ndo, " for %s > %s", ipaddr_string(ndo, &bp[16]), in pimv1_print()
292 ND_PRINT((ndo, "/%s", ipaddr_string(ndo, &bp[12]))); in pimv1_print()
294 ND_PRINT((ndo, " %s pref %d metric %d", in pimv1_print()
307 ND_PRINT((ndo, " [v%d]", bp[4] >> 4)); in pimv1_print()
311 ND_PRINT((ndo, "[|pim]")); in pimv1_print()
330 ND_PRINT((ndo, " auto-rp ")); in cisco_autorp_print()
334 ND_PRINT((ndo, "candidate-advert")); in cisco_autorp_print()
337 ND_PRINT((ndo, "mapping")); in cisco_autorp_print()
340 ND_PRINT((ndo, "type-0x%02x", type)); in cisco_autorp_print()
348 ND_PRINT((ndo, " Hold ")); in cisco_autorp_print()
353 ND_PRINT((ndo, "FOREVER")); in cisco_autorp_print()
377 ND_PRINT((ndo, " RP %s", ipaddr_string(ndo, bp))); in cisco_autorp_print()
380 case 0: ND_PRINT((ndo, " PIMv?")); in cisco_autorp_print()
382 case 1: ND_PRINT((ndo, " PIMv1")); in cisco_autorp_print()
384 case 2: ND_PRINT((ndo, " PIMv2")); in cisco_autorp_print()
386 case 3: ND_PRINT((ndo, " PIMv1+2")); in cisco_autorp_print()
390 ND_PRINT((ndo, " [rsvd=0x%02x]", bp[4] & 0xfc)); in cisco_autorp_print()
397 ND_PRINT((ndo, "%c%s%s/%d", s, bp[0] & 1 ? "!" : "", in cisco_autorp_print()
400 ND_PRINT((ndo, " bidir")); in cisco_autorp_print()
403 ND_PRINT((ndo, "[rsvd=0x%02x]", bp[0] & 0xfc)); in cisco_autorp_print()
412 ND_PRINT((ndo, "[|autorp]")); in cisco_autorp_print()
433 ND_PRINT((ndo, "PIMv%u, %s, length %u", in pim_print()
439 ND_PRINT((ndo, "PIMv%u, length %u\n\t%s", in pim_print()
447 ND_PRINT((ndo, "PIMv%u, length %u", in pim_print()
573 ND_PRINT((ndo, "%s", ipaddr_string(ndo, bp))); in pimv2_addr_print()
578 ND_PRINT((ndo, "%s", ip6addr_string(ndo, bp))); in pimv2_addr_print()
587 ND_PRINT((ndo, "%s", ipaddr_string(ndo, bp + 2))); in pimv2_addr_print()
589 ND_PRINT((ndo, "/%u", bp[1])); in pimv2_addr_print()
595 ND_PRINT((ndo, "%s", ip6addr_string(ndo, bp + 2))); in pimv2_addr_print()
597 ND_PRINT((ndo, "/%u", bp[1])); in pimv2_addr_print()
603 ND_PRINT((ndo, "(0x%02x)", bp[0])); in pimv2_addr_print()
605 ND_PRINT((ndo, "(%s%s%s", in pimv2_addr_print()
610 ND_PRINT((ndo, "+0x%02x", bp[0] & 0xf8)); in pimv2_addr_print()
612 ND_PRINT((ndo, ")")); in pimv2_addr_print()
639 ND_PRINT((ndo, ", RFC2117-encoding")); in pimv2_print()
641 ND_PRINT((ndo, ", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum))); in pimv2_print()
643 ND_PRINT((ndo, "(unverified)")); in pimv2_print()
645 ND_PRINT((ndo, "(%scorrect)", ND_TTEST2(bp[0], len) && cksum ? "in" : "" )); in pimv2_print()
658 ND_PRINT((ndo, "\n\t %s Option (%u), length %u, Value: ", in pimv2_print()
671 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen)); in pimv2_print()
679 ND_PRINT((ndo, "\n\t T-bit=%d, LAN delay %dms, Override interval %dms", in pimv2_print()
688 ND_PRINT((ndo, "Bi-Directional Capability (Old)")); in pimv2_print()
691 ND_PRINT((ndo, "%u", EXTRACT_32BITS(bp))); in pimv2_print()
694 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen)); in pimv2_print()
700 ND_PRINT((ndo, "0x%08x", EXTRACT_32BITS(bp))); in pimv2_print()
704 ND_PRINT((ndo, "v%d", *bp)); in pimv2_print()
706 ND_PRINT((ndo, ", interval ")); in pimv2_print()
710 ND_PRINT((ndo, " ?0x%04x?", EXTRACT_16BITS(bp+2))); in pimv2_print()
724 ND_PRINT((ndo, "\n\t ")); in pimv2_print()
727 ND_PRINT((ndo, "...")); in pimv2_print()
753 ND_PRINT((ndo, ", Flags [ %s ]\n\t", in pimv2_print()
763 ND_PRINT((ndo, "IP-Null-header %s > %s", in pimv2_print()
777 ND_PRINT((ndo, "IP ver %d", IP_V(ip))); in pimv2_print()
787 ND_PRINT((ndo, " group=")); in pimv2_print()
789 ND_PRINT((ndo, "...")); in pimv2_print()
795 ND_PRINT((ndo, " source=")); in pimv2_print()
797 ND_PRINT((ndo, "...")); in pimv2_print()
854 ND_PRINT((ndo, ", upstream-neighbor: ")); in pimv2_print()
856 ND_PRINT((ndo, "...")); in pimv2_print()
865 ND_PRINT((ndo, "\n\t %u group(s)", ngroup)); in pimv2_print()
867 ND_PRINT((ndo, ", holdtime: ")); in pimv2_print()
869 ND_PRINT((ndo, "infinite")); in pimv2_print()
877 ND_PRINT((ndo, "\n\t group #%u: ", i+1)); in pimv2_print()
879 ND_PRINT((ndo, "...)")); in pimv2_print()
884 ND_PRINT((ndo, "...)")); in pimv2_print()
889 ND_PRINT((ndo, ", joined sources: %u, pruned sources: %u", njoin, nprune)); in pimv2_print()
892 ND_PRINT((ndo, "\n\t joined source #%u: ", j+1)); in pimv2_print()
894 ND_PRINT((ndo, "...)")); in pimv2_print()
900 ND_PRINT((ndo, "\n\t pruned source #%u: ", j+1)); in pimv2_print()
902 ND_PRINT((ndo, "...)")); in pimv2_print()
919 ND_PRINT((ndo, " tag=%x", EXTRACT_16BITS(bp))); in pimv2_print()
922 ND_PRINT((ndo, " hashmlen=%d", bp[0])); in pimv2_print()
924 ND_PRINT((ndo, " BSRprio=%d", bp[1])); in pimv2_print()
929 ND_PRINT((ndo, " BSR=")); in pimv2_print()
931 ND_PRINT((ndo, "...")); in pimv2_print()
938 ND_PRINT((ndo, " (group%d: ", i)); in pimv2_print()
941 ND_PRINT((ndo, "...)")); in pimv2_print()
948 ND_PRINT((ndo, "...)")); in pimv2_print()
951 ND_PRINT((ndo, " RPcnt=%d", bp[0])); in pimv2_print()
953 ND_PRINT((ndo, "...)")); in pimv2_print()
956 ND_PRINT((ndo, " FRPcnt=%d", frpcnt = bp[1])); in pimv2_print()
961 ND_PRINT((ndo, " RP%d=", j)); in pimv2_print()
965 ND_PRINT((ndo, "...)")); in pimv2_print()
971 ND_PRINT((ndo, "...)")); in pimv2_print()
974 ND_PRINT((ndo, ",holdtime=")); in pimv2_print()
977 ND_PRINT((ndo, "...)")); in pimv2_print()
980 ND_PRINT((ndo, ",prio=%d", bp[2])); in pimv2_print()
983 ND_PRINT((ndo, ")")); in pimv2_print()
992 ND_PRINT((ndo, " group=")); in pimv2_print()
994 ND_PRINT((ndo, "...")); in pimv2_print()
1000 ND_PRINT((ndo, " src=")); in pimv2_print()
1002 ND_PRINT((ndo, "...")); in pimv2_print()
1009 ND_PRINT((ndo, " RPT")); in pimv2_print()
1010 ND_PRINT((ndo, " pref=%u", EXTRACT_32BITS(&bp[0]) & 0x7fffffff)); in pimv2_print()
1011 ND_PRINT((ndo, " metric=%u", EXTRACT_32BITS(&bp[4]))); in pimv2_print()
1021 ND_PRINT((ndo, " prefix-cnt=%d", bp[0])); in pimv2_print()
1024 ND_PRINT((ndo, " prio=%d", bp[1])); in pimv2_print()
1026 ND_PRINT((ndo, " holdtime=")); in pimv2_print()
1032 ND_PRINT((ndo, " RP=")); in pimv2_print()
1034 ND_PRINT((ndo, "...")); in pimv2_print()
1041 ND_PRINT((ndo, " Group%d=", i)); in pimv2_print()
1044 ND_PRINT((ndo, "...")); in pimv2_print()
1053 ND_PRINT((ndo, " src=")); in pimv2_print()
1055 ND_PRINT((ndo, "...")); in pimv2_print()
1059 ND_PRINT((ndo, " grp=")); in pimv2_print()
1061 ND_PRINT((ndo, "...")); in pimv2_print()
1065 ND_PRINT((ndo, " forwarder=")); in pimv2_print()
1067 ND_PRINT((ndo, "...")); in pimv2_print()
1072 ND_PRINT((ndo, " TUNR ")); in pimv2_print()
1078 ND_PRINT((ndo, " [type %d]", PIM_TYPE(pim->pim_typever))); in pimv2_print()
1085 ND_PRINT((ndo, "[|pim]")); in pimv2_print()