Home | History | Annotate | Download | only in tcpdump

Lines Matching full:printf

334 		printf("%02x", p[i] & 0xff);
360 printf("[|attr]");
364 printf("(");
367 printf("type=%s ", map[t].type);
369 printf("type=#%d ", t);
371 printf("value=");
374 printf("%s", map[t].value[v]);
378 printf("len=%d value=", EXTRACT_16BITS(&q[1]));
381 printf(")");
398 printf("[|attr]");
402 printf("(");
404 printf("type=#%d ", t);
406 printf("value=");
410 printf("len=%d value=", EXTRACT_16BITS(&q[1]));
413 printf(")");
430 printf("%s:", NPSTR(ISAKMP_NPTYPE_SA));
438 printf(" doi=%d", doi);
439 printf(" situation=%u", (u_int32_t)ntohl(sa.sit));
443 printf(" doi=ipsec");
445 printf(" situation=");
448 printf("identity");
452 printf("%ssecrecy", t ? "+" : "");
456 printf("%sintegrity", t ? "+" : "");
462 printf(" ident=%u", (u_int32_t)ntohl(ident));
474 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_SA));
487 printf("%s:", NPSTR(ISAKMP_NPTYPE_P));
492 printf(" #%d protoid=%s transform=%d",
495 printf(" spi=");
508 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_P));
581 printf("%s:", NPSTR(ISAKMP_NPTYPE_T));
616 printf(" #%d id=%s ", t.t_no, idstr);
618 printf
629 printf("...");
632 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_T));
643 printf("%s:", NPSTR(ISAKMP_NPTYPE_KE));
647 printf(" key len=%d", ntohs(e.len) - 4);
649 printf(" ");
655 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_KE));
678 printf("%s:", NPSTR(ISAKMP_NPTYPE_ID));
692 printf(" [phase=%d doi=%d proto=%d]", phase, doi, proto);
699 printf(" idtype=%s", STR_OR_ID(id.d.id_type, idtypestr));
700 printf(" doi_data=%u",
716 printf(" idtype=%s", STR_OR_ID(id.type, ipsecidtypestr));
724 printf(" protoid=%s", pe->p_name);
731 printf(" protoid=%s", "0");
733 printf(" port=%d", ntohs(id.port));
742 printf(" len=%d [bad: < 4]", len);
744 printf(" len=%d %s", len, ipaddr_string(data));
751 printf(" len=%d ", len);
761 printf(" len=%d [bad: < 8]", len);
764 printf(" len=%d %s/%u.%u.%u.%u", len,
774 printf(" len=%d [bad: < 16]", len);
776 printf(" len=%d %s", len, ip6addr_string(data));
783 printf(" len=%d [bad: < 20]", len);
787 printf(" len=%d %s/0x%08x%08x%08x%08x", len,
797 printf(" len=%d [bad: < 8]", len);
799 printf(" len=%d %s-%s", len,
808 printf(" len=%d [bad: < 32]", len);
810 printf(" len=%d %s-%s", len,
826 printf(" len=%d", len);
828 printf(" ");
835 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_ID));
853 printf("%s:", NPSTR(ISAKMP_NPTYPE_CERT));
858 printf(" len=%d", item_len - 4);
859 printf(" type=%s", STR_OR_ID((cert.encode), certstr));
861 printf(" ");
867 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_CERT));
884 printf("%s:", NPSTR(ISAKMP_NPTYPE_CR));
889 printf(" len=%d", item_len - 4);
890 printf(" type=%s", STR_OR_ID((cert.encode), certstr));
892 printf(" ");
898 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_CR));
909 printf("%s:", NPSTR(ISAKMP_NPTYPE_HASH));
913 printf(" len=%d", ntohs(e.len) - 4);
915 printf(" ");
921 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_HASH));
932 printf("%s:", NPSTR(ISAKMP_NPTYPE_SIG));
936 printf(" len=%d", ntohs(e.len) - 4);
938 printf(" ");
944 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_SIG));
957 printf("%s:", NPSTR(ISAKMP_NPTYPE_NONCE));
961 printf(" n len=%d", ntohs(e.len) - 4);
963 printf(" ");
969 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_NONCE));
1029 printf("%s:", NPSTR(ISAKMP_NPTYPE_N));
1037 printf(" doi=%d", doi);
1038 printf(" proto=%d", proto);
1040 printf(" type=%s", NOTIFY_ERROR_STR(ntohs(n.type)));
1042 printf(" type=%s", numstr(ntohs(n.type)));
1044 printf(" type=%s", NOTIFY_STATUS_STR(ntohs(n.type)));
1046 printf(" type=%s", numstr(ntohs(n.type)));
1048 printf(" spi=");
1055 printf(" doi=ipsec");
1056 printf(" proto=%s", PROTOIDSTR(proto));
1058 printf(" type=%s", NOTIFY_ERROR_STR(ntohs(n.type)));
1060 printf(" type=%s", IPSEC_NOTIFY_ERROR_STR(ntohs(n.type)));
1062 printf(" type=%s", NOTIFY_STATUS_STR(ntohs(n.type)));
1064 printf(" type=%s", IPSEC_NOTIFY_STATUS_STR(ntohs(n.type)));
1066 printf(" type=%s", numstr(ntohs(n.type)));
1068 printf(" spi=");
1077 printf(" orig=(");
1090 printf("replay detection %sabled",
1105 printf(")");
1109 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_N));
1125 printf("%s:", NPSTR(ISAKMP_NPTYPE_D));
1133 printf(" doi=%u", doi);
1134 printf(" proto=%u", proto);
1136 printf(" doi=ipsec");
1137 printf(" proto=%s", PROTOIDSTR(proto));
1139 printf(" spilen=%u", d.spi_size);
1140 printf(" nspi=%u", ntohs(d.num_spi));
1141 printf(" spi=");
1145 printf(",");
1152 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_D));
1164 printf("%s:", NPSTR(ISAKMP_NPTYPE_VID));
1168 printf(" len=%d", ntohs(e.len) - 4);
1170 printf(" ");
1176 printf(" [|%s]", NPSTR(ISAKMP_NPTYPE_VID));
1209 printf("%s", NPSTR(np));
1215 printf(" [|isakmp]");
1237 printf("\n");
1239 printf(" ");
1240 printf("(");
1242 printf(")");
1255 printf(" [|%s]", NPSTR(np));
1295 printf("[|isakmp]");
1301 printf("isakmp");
1307 printf(" %d.%d", major, minor);
1311 printf(" msgid ");
1316 printf(" cookie ");
1318 printf("->");
1321 printf(":");
1325 printf(" phase %d", phase);
1327 printf(" phase %d/others", phase);
1333 printf(" I");
1337 printf(" ?");
1340 printf(" I");
1342 printf(" R");
1344 printf(" ?");
1347 printf(" %s", ETYPESTR(base.etype));
1349 printf("[%s%s]", base.flags & ISAKMP_FLAG_E ? "E" : "",
1359 printf(" [|%s]", NPSTR(np)); \
1363 printf(":");
1371 printf(" [encrypted %s]", NPSTR(base.np));
1386 printf(" (len mismatch: isakmp %u/ip %u)",
1438 printf("[|isakmp]");