Lines Matching full:printf
186 printf(":");
187 printf("%02x", *q++);
260 (void)printf("[bad icmp6 cksum %x!] ", sum);
262 (void)printf("[icmp6 sum ok] ");
266 printf("ICMP6, %s", tok2str(icmp6_type_values,"unknown icmp6 type (%u)",dp->icmp6_type));
277 printf(", length %u", length);
282 printf(", %s", tok2str(icmp6_dst_unreach_code_values,"unknown unreach code (%u)",dp->icmp6_code));
288 printf(" %s",ip6addr_string(&oip->ip6_dst));
291 printf(" %s, source address %s",
303 printf(", %s tcp port %s",
308 printf(", %s udp port %s",
313 printf(", %s protocol %d port %d unreachable",
329 printf(", mtu %u", EXTRACT_32BITS(&dp->icmp6_mtu));
335 printf(" for %s",
339 printf(" (reassembly)");
342 printf(", unknown code (%u)", dp->icmp6_code);
350 printf(", errorneous - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr));
353 printf(", next header - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr));
356 printf(", option - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr));
359 printf(", code-#%d",
367 printf(", seq %u", EXTRACT_16BITS(&dp->icmp6_seq));
373 printf("v2 ");
376 printf(" unknown-version (len %u) ", length);
399 printf("\n\thop limit %u, Flags [%s]" \
417 printf(", who has %s", ip6addr_string(&p->nd_ns_target));
431 printf(", tgt is %s",
434 printf(", Flags [%s]",
448 printf(", %s", getname6((const u_char *)&RDR(dp)->nd_rd_dst));
450 printf(" to %s",
476 printf(", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]));
484 printf(", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]));
489 printf(", %s", ip6addr_string(in6));
496 printf(", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]));
498 printf(" ");
500 printf("M");
502 printf("O");
509 printf(", length %u", length);
515 printf(", length %u", length);
627 printf("\n\t %s option (%u), length %u (%u): ",
647 printf("%s/%u%s, Flags [%s], valid time %ss",
653 printf(", pref. time %ss", get_lifetime(EXTRACT_32BITS(&opp->nd_opt_pi_preferred_time)));
663 printf(" %u%s",
670 printf(" %us", EXTRACT_32BITS(&opa->nd_opt_adv_interval));
675 printf(" preference %u, lifetime %u",
698 printf(" %s/%u", ip6addr_string(&in6),
700 printf(", pref=%s", get_rtpref(opri->nd_opt_rti_flags));
701 printf(", lifetime=%s",
738 printf("max resp delay: %d ", EXTRACT_16BITS(&mp->mld6_maxdelay));
739 printf("addr: %s", ip6addr_string(&mp->mld6_addr));
751 printf(" [invalid len %d]", len);
757 printf(", %d group record(s)", ngroups);
764 printf(" [invalid number of groups]");
768 printf(" [gaddr %s", ip6addr_string(&bp[group + 4]));
769 printf(" %s", tok2str(mldv2report2str, " [v2-report-#%d]",
774 printf(" [invalid number of sources %d]", nsrcs);
778 printf(", %d source(s)", nsrcs);
781 (void)printf(" {");
785 printf(" %s", ip6addr_string(&bp[group + 20 + j * sizeof(struct in6_addr)]));
787 (void)printf(" }");
791 printf("]");
796 (void)printf("[|icmp6]");
811 printf(" [invalid len %d]", len);
822 (void)printf(" [max resp delay=%d]", mrt);
825 printf(" [gaddr %s", ip6addr_string(&bp[8]));
830 printf(" sflag");
833 printf(" robustness=%d", bp[24] & 0x07);
840 printf(" qqi=%d", qqi);
847 printf(" [invalid number of sources]");
849 printf(" {");
853 printf(" %s", ip6addr_string(&bp[28 + i * sizeof(struct in6_addr)]));
855 printf(" }");
857 printf(", %d source(s)", nsrcs);
859 printf("]");
862 (void)printf("[|icmp6]");
872 printf(", \"");
877 printf("???");
885 printf(".");
889 printf(".");
894 printf("???");
899 printf("\"");
921 printf(" who-are-you request");
924 printf(" node information query");
928 printf(" ("); /*)*/
931 printf("noop");
934 printf("supported qtypes");
937 printf(" [%s]", (i & 0x01) ? "C" : "");
941 printf("DNS name");
944 printf("node addresses");
949 printf(" [%s%s%s%s%s%s]",
958 printf("unknown");
966 printf(", invalid len");
968 printf(")");
975 printf(", 03 draft");
977 printf(")");
988 printf(", invalid subject len");
991 printf(", subject=%s",
995 printf(", subject=DNS name");
1000 printf(", 03 draft");
1002 printf(", \"");
1007 printf("\"");
1016 printf(", invalid subject len");
1019 printf(", subject=%s",
1023 printf(", unknown subject");
1028 printf(")");
1033 printf("[|icmp6: node information reply]");
1040 printf(" node information reply");
1041 printf(" ("); /*)*/
1045 printf("success");
1050 printf("refused");
1054 printf(", invalid length");
1057 printf("unknown");
1061 printf(", invalid length");
1067 printf(")");
1074 printf(", ");
1075 printf("noop");
1078 printf(", invalid length");
1082 printf(", ");
1083 printf("supported qtypes");
1086 printf(" [%s]", (i & 0x01) ? "C" : "");
1090 printf(", ");
1091 printf("DNS name");
1096 printf(", 03 draft");
1098 printf(", \"");
1103 printf("\"");
1107 printf(" [TTL=%u]", *(u_int32_t *)(ni6 + 1));
1111 printf(", ");
1112 printf("node addresses");
1117 printf(" %s", getname6(bp + i));
1119 printf("(%d)", (int32_t)EXTRACT_32BITS(bp + i));
1125 printf(" [%s%s%s%s%s%s%s]",
1136 printf(", ");
1137 printf("unknown");
1142 printf(")");
1169 printf("router renum: command");
1172 printf("router renum: result");
1175 printf("router renum: sequence number reset");
1178 printf("router renum: code-#%d", rr6->rr_code);
1182 printf(", seq=%u", EXTRACT_32BITS(&rr6->rr_seqnum));
1186 printf("["); /*]*/
1188 printf("%s%s%s%s%s,", F(ICMP6_RR_FLAGS_TEST, "T"),
1194 printf("seg=%u,", rr6->rr_segnum);
1195 printf("maxdelay=%u", rr6->rr_maxdelay);
1197 printf("rsvd=0x%x", EXTRACT_16BITS(&rr6->rr_reserved));
1199 printf("]");
1210 printf("\n\t");
1212 printf(" ");
1213 printf("match("); /*)*/
1215 case RPM_PCO_ADD: printf("add"); break;
1216 case RPM_PCO_CHANGE: printf("change"); break;
1217 case RPM_PCO_SETGLOBAL: printf("setglobal"); break;
1218 default: printf("#%u", match->rpm_code); break;
1222 printf(",ord=%u", match->rpm_ordinal);
1223 printf(",min=%u", match->rpm_minlen);
1224 printf(",max=%u", match->rpm_maxlen);
1227 printf(",%s/%u", hbuf, match->rpm_matchlen);
1229 printf(",?/%u", match->rpm_matchlen);
1231 printf(")");
1244 printf("\n\t");
1246 printf(" ");
1247 printf("use("); /*)*/
1250 printf("%s%s,",
1256 printf("mask=0x%x,", use->rpu_ramask);
1257 printf("raflags=0x%x,", use->rpu_raflags);
1259 printf("vltime=infty,");
1261 printf("vltime=%u,",
1264 printf("pltime=infty,");
1266 printf("pltime=%u,",
1271 printf("%s/%u/%u", hbuf, use->rpu_uselen,
1274 printf("?/%u/%u", use->rpu_uselen,
1277 printf(")");