Home | History | Annotate | Download | only in tcpdump

Lines Matching full:printf

134 		(void)printf(" RPF %s ", ipaddr_string(bp));
137 (void)printf("Hold ");
140 (void)printf("%s (%s/%d, %s", njoin ? "Join" : "Prune",
144 (void)printf("/%s", ipaddr_string(&bp[16]));
145 (void)printf(") %s%s %s",
154 (void)printf("\n");
155 (void)printf(" Upstream Nbr: %s", ipaddr_string(bp));
158 (void)printf("\n");
159 (void)printf(" Hold time: ");
178 (void)printf("\n\tGroup: %s", ipaddr_string(bp));
181 (void)printf("/%s", ipaddr_string(&bp[4]));
185 (void)printf(" joined: %d pruned: %d", njoin, nprune);
196 (void)printf("\n\t%s %s%s%s%s/%d", type,
207 (void)printf("[|pim]");
226 (void)printf(" Query");
230 (void)printf(" Dense-mode");
233 (void)printf(" Sparse-mode");
236 (void)printf(" Sparse-Dense-mode");
239 (void)printf(" mode-%d", bp[8] >> 4);
245 (void)printf(" (Hold-time ");
247 (void)printf(")");
252 (void)printf(" Register");
254 (void)printf(" for %s > %s", ipaddr_string(&bp[20]),
258 (void)printf(" Register-Stop");
260 (void)printf(" for %s > %s", ipaddr_string(&bp[8]),
264 (void)printf(" Join/Prune");
269 (void)printf(" RP-reachable");
272 (void)printf(" group %s",
275 (void)printf("/%s", ipaddr_string(&bp[12]));
276 (void)printf(" RP %s hold ", ipaddr_string(&bp[16]));
281 (void)printf(" Assert");
283 (void)printf(" for %s > %s", ipaddr_string(&bp[16]),
286 (void)printf("/%s", ipaddr_string(&bp[12]));
288 (void)printf(" %s pref %d metric %d",
294 (void)printf(" Graft");
299 (void)printf(" Graft-ACK");
304 (void)printf(" Mode");
307 (void)printf(" [type %d]", type);
311 (void)printf(" [v%d]", bp[4] >> 4);
315 (void)printf("[|pim]");
333 (void)printf(" auto-rp ");
337 (void)printf("candidate-advert");
340 (void)printf("mapping");
343 (void)printf("type-0x%02x", type);
351 (void)printf(" Hold ");
356 printf("FOREVER");
380 (void)printf(" RP %s", ipaddr_string(bp));
383 case 0: printf(" PIMv?");
385 case 1: printf(" PIMv1");
387 case 2: printf(" PIMv2");
389 case 3: printf(" PIMv1+2");
393 (void)printf(" [rsvd=0x%02x]", bp[4] & 0xfc);
400 (void)printf("%c%s%s/%d", s, bp[0] & 1 ? "!" : "",
403 (void)printf("[rsvd=0x%02x]", bp[0] & 0xfe);
411 (void)printf("[|autorp]");
431 printf("PIMv%u, %s, length %u",
437 printf("PIMv%u, length %u\n\t%s",
445 printf("PIMv%u, length %u",
570 (void)printf("%s", ipaddr_string(bp));
575 (void)printf("%s", ip6addr_string(bp));
584 (void)printf("%s", ipaddr_string(bp + 2));
586 (void)printf("/%u", bp[1]);
592 (void)printf("%s", ip6addr_string(bp + 2));
594 (void)printf("/%u", bp[1]);
600 (void)printf("(0x%02x)", bp[0]);
602 (void)printf("(%s%s%s",
607 (void) printf("+0x%02x", bp[0] & 0xf8);
609 (void)printf(")");
635 (void)printf(", RFC2117-encoding");
637 printf(", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum));
639 printf("(unverified)");
641 printf("(%scorrect)",
657 printf("\n\t %s Option (%u), length %u, Value: ",
670 (void)printf("ERROR: Option Lenght != 4 Bytes (%u)", olen);
678 (void)printf("\n\t T-bit=%d, LAN delay %dms, Override interval %dms",
687 printf("Bi-Directional Capability (Old)");
690 printf("%u", EXTRACT_32BITS(bp));
693 printf("ERROR: Option Lenght != 4 Bytes (%u)", olen);
699 (void)printf("0x%08x", EXTRACT_32BITS(bp));
703 (void)printf("v%d", *bp);
705 (void)printf(", interval ");
709 (void)printf(" ?0x%04x?", EXTRACT_16BITS(bp+2));
723 printf("\n\t ");
726 printf("...");
753 printf(", Flags [ %s ]\n\t",
763 (void)printf("IP-Null-header %s > %s",
777 (void)printf("IP ver %d", IP_V(ip));
787 (void)printf(" group=");
789 (void)printf("...");
795 (void)printf(" source=");
797 (void)printf("...");
854 (void)printf(", upstream-neighbor: ");
856 (void)printf("...");
865 (void)printf("\n\t %u group(s)", ngroup);
867 (void)printf(", holdtime: ");
869 (void)printf("infinite");
877 (void)printf("\n\t group #%u: ", i+1);
879 (void)printf("...)");
884 (void)printf("...)");
889 (void)printf(", joined sources: %u, pruned sources: %u", njoin,nprune);
892 (void)printf("\n\t joined source #%u: ",j+1);
894 (void)printf("...)");
900 (void)printf("\n\t pruned source #%u: ",j+1);
902 (void)printf("...)");
919 (void)printf(" tag=%x", EXTRACT_16BITS(bp));
922 (void)printf(" hashmlen=%d", bp[0]);
924 (void)printf(" BSRprio=%d", bp[1]);
929 (void)printf(" BSR=");
931 (void)printf("...");
938 (void)printf(" (group%d: ", i);
941 (void)printf("...)");
948 (void)printf("...)");
951 (void)printf(" RPcnt=%d", bp[0]);
953 (void)printf("...)");
956 (void)printf(" FRPcnt=%d", frpcnt = bp[1]);
961 (void)printf(" RP%d=", j);
965 (void)printf("...)");
971 (void)printf("...)");
974 (void)printf(",holdtime=");
977 (void)printf("...)");
980 (void)printf(",prio=%d", bp[2]);
983 (void)printf(")");
992 (void)printf(" group=");
994 (void)printf("...");
1000 (void)printf(" src=");
1002 (void)printf("...");
1009 (void)printf(" RPT");
1010 (void)printf(" pref=%u", EXTRACT_32BITS(&bp[0]) & 0x7fffffff);
1011 (void)printf(" metric=%u", EXTRACT_32BITS(&bp[4]));
1021 (void)printf(" prefix-cnt=%d", bp[0]);
1024 (void)printf(" prio=%d", bp[1]);
1026 (void)printf(" holdtime=");
1032 (void)printf(" RP=");
1034 (void)printf("...");
1041 (void)printf(" Group%d=", i);
1044 (void)printf("...");
1053 (void)printf(" src=");
1055 (void)printf("...");
1059 (void)printf(" grp=");
1061 (void)printf("...");
1065 (void)printf(" forwarder=");
1067 (void)printf("...");
1072 (void)printf(" TUNR ");
1078 (void)printf(" [type %d]", PIM_TYPE(pim->pim_typever));
1085 (void)printf("[|pim]");