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