Lines Matching refs:printer
472 * calling `printer(arg, format, ...)' to output it.
475 format_packet(p, len, printer, arg)
478 void (*printer) __P((void *, char *, ...));
493 printer(arg, "[%s", protp->name);
494 n = (*protp->printpkt)(p, len, printer, arg);
495 printer(arg, "]");
503 printer(arg, "[%s data]", protp->data_name);
505 printer(arg, "%.8B ...", p);
507 printer(arg, "%.*B", len, p);
510 printer(arg, "[proto=0x%x]", proto);
515 printer(arg, "%.32B ...", p);
517 printer(arg, "%.*B", len, p);
551 * pr_log - printer routine for outputting to syslog
610 * printer.
613 print_string(p, len, printer, arg)
616 void (*printer) __P((void *, char *, ...));
621 printer(arg, "\"");
626 printer(arg, "\\");
627 printer(arg, "%c", c);
631 printer(arg, "\\n");
634 printer(arg, "\\r");
637 printer(arg, "\\t");
640 printer(arg, "\\%.3o", c);
644 printer(arg, "\"");