Home
last modified time | relevance | path

Searched refs:serverstate (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c139 chap_sstate(int serverstate) in chap_sstate() argument
144 if (serverstate < 0 || serverstate >= Dim(sstate)) { in chap_sstate()
145 (void) slprintf(buf, sizeof(buf), "#%d", serverstate); in chap_sstate()
148 return sstate[serverstate]; in chap_sstate()
163 cstate->serverstate = CHAPSS_INITIAL;
217 if (cstate->serverstate == CHAPSS_INITIAL ||
218 cstate->serverstate == CHAPSS_PENDING) {
220 cstate->serverstate = CHAPSS_PENDING;
226 cstate->serverstate = CHAPSS_INITIAL_CHAL;
241 if (cstate->serverstate != CHAPSS_INITIAL_CHAL &&
[all …]
H A Dupap.c124 pap_sstate(serverstate) in pap_sstate() argument
125 int serverstate; in pap_sstate()
130 if (serverstate < 0 || serverstate >= Dim(sstate)) {
131 (void) slprintf(buf, sizeof (buf), "Srv#%d", serverstate);
134 return (sstate[serverstate]);
H A Dchap.h77 int serverstate; /* Server state */ member