Lines Matching refs:code
385 u_char code, id; in fsm_input() local
397 GETCHAR(code, inp); in fsm_input()
417 FSMDEBUG(LOG_INFO, ("fsm_input(%s):%d,%d,%d\n", PROTO_NAME(f), code, id, l)); in fsm_input()
421 switch (code) { in fsm_input()
432 fsm_rconfnakrej(f, code, id, inp, len); in fsm_input()
450 !(*f->callbacks->extcode)(f, code, id, inp, len) ) { in fsm_input()
464 int code, reject_if_disagree; in fsm_rconfreq() local
498 code = (*f->callbacks->reqci)(f, inp, &len, reject_if_disagree); in fsm_rconfreq()
500 code = CONFREJ; /* Reject all CI */ in fsm_rconfreq()
502 code = CONFACK; in fsm_rconfreq()
506 fsm_sdata(f, (u_char)code, id, inp, len); in fsm_rconfreq()
508 if (code == CONFACK) { in fsm_rconfreq()
524 if( code == CONFNAK ) { in fsm_rconfreq()
594 fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len) in fsm_rconfnakrej() argument
605 proc = (code == CONFNAK)? f->callbacks->nakci: f->callbacks->rejci; in fsm_rconfnakrej()
609 PROTO_NAME(f), (code==CONFNAK? "Nak": "reject"), len)); in fsm_rconfnakrej()
735 u_char code, id; in fsm_rcoderej() local
744 GETCHAR(code, inp); in fsm_rcoderej()
747 PROTO_NAME(f), code, id)); in fsm_rcoderej()
867 fsm_sdata( fsm *f, u_char code, u_char id, u_char *data, int datalen) in fsm_sdata() argument
882 PUTCHAR(code, outp); in fsm_sdata()
887 PROTO_NAME(f), code, id, outlen)); in fsm_sdata()