Lines Matching refs:us_serverstate
151 u->us_serverstate = UPAPSS_INITIAL;
203 if (u->us_serverstate == UPAPSS_INITIAL ||
204 u->us_serverstate == UPAPSS_PENDING) {
205 u->us_serverstate = UPAPSS_PENDING;
209 u->us_serverstate = UPAPSS_LISTEN;
249 if (u->us_serverstate != UPAPSS_LISTEN)
253 u->us_serverstate = UPAPSS_BADAUTH;
274 if (u->us_serverstate == UPAPSS_INITIAL)
275 u->us_serverstate = UPAPSS_CLOSED;
276 else if (u->us_serverstate == UPAPSS_PENDING) {
277 u->us_serverstate = UPAPSS_LISTEN;
298 if (u->us_serverstate == UPAPSS_LISTEN && u->us_reqtimeout > 0)
302 u->us_serverstate = UPAPSS_INITIAL;
321 if (u->us_serverstate == UPAPSS_LISTEN) {
401 if (u->us_serverstate < UPAPSS_LISTEN) {
403 pap_sstate(u->us_serverstate));
411 if (u->us_serverstate == UPAPSS_OPEN) {
416 if (u->us_serverstate == UPAPSS_BADAUTH) {
459 u->us_serverstate = UPAPSS_OPEN;
462 u->us_serverstate = UPAPSS_BADAUTH;