Home | History | Annotate | Download | only in tcpdump

Lines Matching full:printf

241 		printf("%c", *dat++);
250 printf("%02x", *dat++);
257 printf("%u", EXTRACT_16BITS(dat));
263 printf("%lu", (u_long)EXTRACT_32BITS(dat));
274 printf("%s", tok2str(l2tp_msgtype2str, "MSGTYPE-#%u",
283 printf("%u", EXTRACT_16BITS(ptr)); ptr++; /* Result Code */
285 printf("/%u", EXTRACT_16BITS(ptr)); ptr++;
288 printf(" ");
296 printf("%u.%u", (EXTRACT_16BITS(dat) >> 8),
306 printf("A");
309 printf("S");
319 printf("A");
322 printf("D");
330 printf(", %02x", dat[2]);
332 printf(" ");
343 printf("A");
346 printf("D");
356 printf("A");
359 printf("S");
366 printf("obsolete");
374 printf("%s", tok2str(l2tp_authentype2str,
383 printf("%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK);
396 printf("CRCErr=%u ", (val_h<<16) + val_l);
400 printf("FrameErr=%u ", (val_h<<16) + val_l);
404 printf("HardOver=%u ", (val_h<<16) + val_l);
408 printf("BufOver=%u ", (val_h<<16) + val_l);
412 printf("Timeout=%u ", (val_h<<16) + val_l);
416 printf("AlignErr=%u ", (val_h<<16) + val_l);
429 printf("send=%08x ", (val_h<<16) + val_l);
433 printf("recv=%08x ", (val_h<<16) + val_l);
441 printf("%04x, ", EXTRACT_16BITS(ptr)); ptr++; /* Disconnect Code */
442 printf("%04x ", EXTRACT_16BITS(ptr)); ptr++; /* Control Protocol Number */
443 printf("%s", tok2str(l2tp_cc_direction2str,
447 printf(" ");
464 printf(" ");
484 printf("*");
488 printf("?");
494 printf("VENDOR%04x:", EXTRACT_16BITS(ptr)); ptr++;
495 printf("ATTR%04x", EXTRACT_16BITS(ptr)); ptr++;
496 printf("(");
498 printf(")");
503 printf("%s", tok2str(l2tp_avp2str, "AVP-#%u", attr_type));
504 printf("(");
506 printf("???");
595 printf(")");
602 printf("|...");
619 printf(" l2tp:");
621 printf(" l2f:");
624 printf(" Unknown Version, neither L2F(1) nor L2TP(2)");
628 printf("[");
631 printf("T");
635 printf("L");
639 printf("S");
643 printf("O");
646 printf("P");
647 printf("]");
661 printf("(%u/", EXTRACT_16BITS(ptr)); ptr++;
664 printf("%u)", EXTRACT_16BITS(ptr)); ptr++;
669 printf("Ns=%u,", EXTRACT_16BITS(ptr)); ptr++;
672 printf("Nr=%u", EXTRACT_16BITS(ptr)); ptr++;
685 printf(" Length %u larger than packet", l2tp_len);
691 printf(" Length %u smaller than header length", length);
696 printf(" No length");
700 printf(" ZLB");
705 printf(" {");
707 printf("}");
713 printf("%s", tstr);