Lines Matching refs:cstate
276 if (info->cstate != PPTP_CALL_OUT_REQ &&
277 info->cstate != PPTP_CALL_OUT_CONF)
288 info->cstate = PPTP_CALL_OUT_CONF;
292 info->cstate = PPTP_CALL_NONE;
302 info->cstate = PPTP_CALL_IN_REQ;
310 if (info->cstate != PPTP_CALL_IN_REP &&
311 info->cstate != PPTP_CALL_IN_CONF)
321 info->cstate = PPTP_CALL_IN_CONF;
331 info->cstate = PPTP_CALL_NONE;
354 "cstate=%d sstate=%d pns_cid=%u pac_cid=%u\n",
356 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate,
394 info->cstate = PPTP_CALL_OUT_REQ;
403 if (info->cstate != PPTP_CALL_IN_REQ &&
404 info->cstate != PPTP_CALL_IN_REP)
416 info->cstate = PPTP_CALL_IN_REP;
419 info->cstate = PPTP_CALL_NONE;
429 info->cstate = PPTP_CALL_CLEAR_REQ;
449 "cstate=%d sstate=%d pns_cid=%u pac_cid=%u\n",
451 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate,
534 oldcstate = info->cstate;
546 DEBUGP("sstate: %d->%d, cstate: %d->%d\n",
547 oldsstate, info->sstate, oldcstate, info->cstate);