Lines Matching refs:code
113 * Callbacks for fsm code. (CI = Configuration Information)
404 * lcp_extcode - Handle a LCP-specific code.
407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len)
411 switch( code ){
779 #define NAKCIVOID(opt, neg, code) \
787 code \
789 #define NAKCICHAP(opt, neg, code) \
799 code \
801 #define NAKCICHAR(opt, neg, code) \
810 code \
812 #define NAKCISHORT(opt, neg, code) \
821 code \
823 #define NAKCILONG(opt, neg, code) \
832 code \
834 #define NAKCILQR(opt, neg, code) \
844 code \
1236 int rc = CONFACK; /* Final packet return code */
1237 int orc; /* Individual option return code */
1605 * code would go here. The extra NAKs would go at *nakp.
1632 return (rc); /* Return final code */
1774 int code, id, len, olen;
1783 GETCHAR(code, p);
1790 if (code >= 1 && code <= sizeof(lcp_codenames) / sizeof(char *)) {
1791 printer(arg, " %s", lcp_codenames[code-1]);
1793 printer(arg, " code=0x%x", code);
1797 switch (code) {
1804 GETCHAR(code, p);
1813 switch (code) {
1894 GETCHAR(code, p);
1895 printer(arg, " %.2x", code);
1925 GETCHAR(code, p);
1926 printer(arg, " %.2x", code);