Lines Matching refs:ND_PRINT
282 ND_PRINT((ndo, "[%03X] ", i));
285 ND_PRINT((ndo, "%02X ", buf[i] & 0xff));
288 ND_PRINT((ndo, " "));
291 ND_PRINT((ndo, " "));
293 ND_PRINT((ndo, "\n"));
295 ND_PRINT((ndo, "[%03X] ", i));
302 ND_PRINT((ndo, " "));
304 ND_PRINT((ndo, " "));
306 ND_PRINT((ndo, " "));
310 ND_PRINT((ndo, " "));
314 ND_PRINT((ndo, "\n"));
319 ND_PRINT((ndo, "\n"));
320 ND_PRINT((ndo, "WARNING: Short packet. Try increasing the snap length\n"));
334 ND_PRINT((ndo, "%.*s ", (int)l, fmt));
499 ND_PRINT((ndo, "%u (0x%x)", x, x));
510 ND_PRINT((ndo, "%d (0x%x)", x, x));
521 ND_PRINT((ndo, "%d (0x%x)", x, x));
532 ND_PRINT((ndo, "%" PRIu64 " (0x%" PRIx64 ")", x, x));
548 ND_PRINT((ndo, "%" PRIu64 " (0x%" PRIx64 ")", x, x));
558 ND_PRINT((ndo, "0x%X", x));
569 ND_PRINT((ndo, "0x%X", x));
580 ND_PRINT((ndo, "0x%X", x));
593 ND_PRINT((ndo, "%u", stringlen));
601 ND_PRINT((ndo, "%u", stringlen));
609 ND_PRINT((ndo, "%u", stringlen));
627 ND_PRINT((ndo, "%s", s));
640 ND_PRINT((ndo, "Error! ASCIIZ buffer of type %u", *buf));
647 ND_PRINT((ndo, "%s", s));
656 ND_PRINT((ndo, "%-*.*s", l, l, buf));
666 ND_PRINT((ndo, "%-*.*s", (int)stringlen, (int)stringlen, buf));
679 ND_PRINT((ndo, "%s", s));
689 ND_PRINT((ndo, "%02x", *buf++));
712 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", nbuf, name_type,
718 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", buf, name_type,
771 ND_PRINT((ndo, "%s", tstring));
778 ND_PRINT((ndo, "%c", *fmt));
785 ND_PRINT((ndo, "END OF BUFFER\n"));
790 ND_PRINT((ndo, "\n"));
791 ND_PRINT((ndo, "WARNING: Short packet. Try increasing the snap length\n"));
856 ND_PRINT((ndo, "%c", *fmt));
863 ND_PRINT((ndo, "Data: (%lu bytes)\n", (unsigned long)len));