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

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

Completed in 256 milliseconds