Lines Matching refs:us_serverstate
144 pcb->upap.us_serverstate = UPAPSS_INITIAL; in upap_init()
186 if (pcb->upap.us_serverstate == UPAPSS_INITIAL || in upap_authpeer()
187 pcb->upap.us_serverstate == UPAPSS_PENDING) { in upap_authpeer()
188 pcb->upap.us_serverstate = UPAPSS_PENDING; in upap_authpeer()
192 pcb->upap.us_serverstate = UPAPSS_LISTEN; in upap_authpeer()
226 if (pcb->upap.us_serverstate != UPAPSS_LISTEN) in upap_reqtimeout()
230 pcb->upap.us_serverstate = UPAPSS_BADAUTH; in upap_reqtimeout()
249 if (pcb->upap.us_serverstate == UPAPSS_INITIAL) in upap_lowerup()
250 pcb->upap.us_serverstate = UPAPSS_CLOSED; in upap_lowerup()
251 else if (pcb->upap.us_serverstate == UPAPSS_PENDING) { in upap_lowerup()
252 pcb->upap.us_serverstate = UPAPSS_LISTEN; in upap_lowerup()
270 if (pcb->upap.us_serverstate == UPAPSS_LISTEN && pcb->settings.pap_req_timeout > 0) in upap_lowerdown()
276 pcb->upap.us_serverstate = UPAPSS_INITIAL; in upap_lowerdown()
293 if (pcb->upap.us_serverstate == UPAPSS_LISTEN) { in upap_protrej()
368 if (pcb->upap.us_serverstate < UPAPSS_LISTEN) in upap_rauthreq()
375 if (pcb->upap.us_serverstate == UPAPSS_OPEN) { in upap_rauthreq()
379 if (pcb->upap.us_serverstate == UPAPSS_BADAUTH) { in upap_rauthreq()
441 pcb->upap.us_serverstate = UPAPSS_OPEN; in upap_rauthreq()
445 pcb->upap.us_serverstate = UPAPSS_BADAUTH; in upap_rauthreq()