Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c126 chap_cstate(int clientstate) in chap_cstate() argument
131 if (clientstate < 0 || clientstate >= Dim(cstate)) { in chap_cstate()
132 (void) slprintf(buf, sizeof(buf), "#%d", clientstate); in chap_cstate()
135 return cstate[clientstate]; in chap_cstate()
162 cstate->clientstate = CHAPCS_INITIAL;
187 if (cstate->clientstate == CHAPCS_INITIAL ||
188 cstate->clientstate == CHAPCS_PENDING) {
190 cstate->clientstate = CHAPCS_PENDING;
199 cstate->clientstate = CHAPCS_LISTEN;
267 if (cstate->clientstate != CHAPCS_RESPONSE)
[all …]
H A Dupap.c110 pap_cstate(clientstate) in pap_cstate() argument
111 int clientstate; in pap_cstate()
116 if (clientstate < 0 || clientstate >= Dim(cstate)) {
117 (void) slprintf(buf, sizeof (buf), "Cli#%d", clientstate);
120 return (cstate[clientstate]);
H A Dchap.h76 int clientstate; /* Client state */ member