Lines Matching refs:code
65 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len);
320 u_char code, id; in fsm_input() local
332 GETCHAR(code, inp); in fsm_input()
354 switch (code) { in fsm_input()
365 fsm_rconfnakrej(f, code, id, inp, len); in fsm_input()
382 || !(*f->callbacks->extcode)(f, code, id, inp, len) ) in fsm_input()
393 int code, reject_if_disagree; in fsm_rconfreq() local
427 code = (*f->callbacks->reqci)(f, inp, &len, reject_if_disagree); in fsm_rconfreq()
429 code = CONFREJ; /* Reject all CI */ in fsm_rconfreq()
431 code = CONFACK; in fsm_rconfreq()
434 fsm_sdata(f, code, id, inp, len); in fsm_rconfreq()
436 if (code == CONFACK) { in fsm_rconfreq()
450 if( code == CONFNAK ) in fsm_rconfreq()
515 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len) { in fsm_rconfnakrej() argument
522 if (code == CONFNAK) { in fsm_rconfnakrej()
646 u_char code, id; in fsm_rcoderej() local
652 GETCHAR(code, inp); in fsm_rcoderej()
654 ppp_warn("%s: Rcvd Code-Reject for code %d, id %d", PROTO_NAME(f), code, id); in fsm_rcoderej()
770 void fsm_sdata(fsm *f, u_char code, u_char id, const u_char *data, int datalen) { in fsm_sdata() argument
793 PUTCHAR(code, outp); in fsm_sdata()