Lines Matching defs:arg
176 static int ccp_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg);
1522 static int ccp_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg) {
1537 printer(arg, " %s", ccp_codenames[code-1]);
1539 printer(arg, " code=0x%x", code);
1540 printer(arg, " id=0x%x", id);
1555 printer(arg, " <");
1565 printer(arg, "mppe %s %s %s %s %s %s%s",
1574 printer(arg, " (%.2x %.2x %.2x %.2x)",
1584 printer(arg, "deflate%s %d",
1588 printer(arg, " method %d", DEFLATE_METHOD(p[2]));
1590 printer(arg, " check %d", p[3]);
1598 printer(arg, "bsd v%d %d", BSD_VERSION(p[2]),
1607 printer(arg, "predictor 1");
1613 printer(arg, "predictor 2");
1622 printer(arg, " %.2x", *p++);
1623 printer(arg, ">");
1630 ppp_print_string(p, len, printer, arg);
1641 printer(arg, " %.2x", *p++);
1728 static void ccp_rack_timeout(void *arg) {
1729 fsm *f = (fsm*)arg;