Lines Matching refs:printer
526 * calling `printer(arg, format, ...)' to output it.
529 format_packet(p, len, printer, arg)
532 void (*printer) __P((void *, const char *, ...));
547 printer(arg, "[%s", protp->name);
548 n = (*protp->printpkt)(p, len, printer, arg);
549 printer(arg, "]");
557 printer(arg, "[%s data] %8.*B", protp->data_name, len, p);
560 printer(arg, "[proto=0x%x]", proto);
564 printer(arg, "%32.*B", len, p);
597 * printer.
600 print_string(p, len, printer, arg)
603 void (*printer) __P((void *, const char *, ...));
608 printer(arg, "\"");
613 printer(arg, "\\");
614 printer(arg, "%c", c);
618 printer(arg, "\\n");
621 printer(arg, "\\r");
624 printer(arg, "\\t");
627 printer(arg, "\\%.3o", c);
631 printer(arg, "\"");