Lines Matching defs:code
10 * 1. Redistributions of source code must retain the above copyright
130 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen);
307 u_char code, id;
311 * Parse header (code, id and length).
319 GETCHAR(code, inp);
333 * Action depends on code.
335 switch (code) {
350 default: /* XXX Need code reject */
567 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen) {
584 PUTCHAR(code, outp);
603 int code, id, len;
611 GETCHAR(code, p);
617 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(upap_codenames))
618 printer(arg, " %s", upap_codenames[code-1]);
620 printer(arg, " code=0x%x", code);
623 switch (code) {
669 GETCHAR(code, p);
670 printer(arg, " %.2x", code);