Home | History | Annotate | Download | only in pppd

Lines Matching full:state

2  * fsm.c - {Link, IP} Control Protocol Finite State Machine.
77 * Initialize fsm state.
83 f->state = INITIAL;
101 switch( f->state ){
103 f->state = CLOSED;
108 f->state = STOPPED;
112 f->state = REQSENT;
117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state));
131 switch( f->state ){
133 f->state = INITIAL;
137 f->state = STARTING;
143 f->state = INITIAL;
151 f->state = STARTING;
158 f->state = STARTING;
162 FSMDEBUG(("%s: Down event in state %d!", PROTO_NAME(f), f->state));
174 switch( f->state ){
176 f->state = STARTING;
183 f->state = STOPPED;
187 f->state = REQSENT;
192 f->state = STOPPING;
215 if( f->state != OPENED )
231 f->state = nextstate == CLOSING ? CLOSED : STOPPED;
240 f->state = nextstate;
247 * the CLOSED state.
256 switch( f->state ){
258 f->state = INITIAL;
261 f->state = CLOSED;
264 f->state = CLOSING;
286 switch (f->state) {
293 f->state = (f->state == CLOSING)? CLOSED: STOPPED;
310 f->state = STOPPED;
319 if( f->state == ACKRCVD )
320 f->state = REQSENT;
325 FSMDEBUG(("%s: Timeout event in state %d!", PROTO_NAME(f), f->state));
365 if( f->state == INITIAL || f->state == STARTING ){
366 FSMDEBUG(("fsm_input(%x): Rcvd packet in state %d.",
367 f->protocol, f->state));
421 switch( f->state ){
435 f->state = REQSENT;
441 f->state = REQSENT;
461 if (f->state == ACKRCVD) {
463 f->state = OPENED;
467 f->state = ACKSENT;
472 if (f->state != ACKRCVD)
473 f->state = REQSENT;
501 switch (f->state) {
508 f->state = ACKRCVD;
516 f->state = REQSENT;
521 f->state = OPENED;
532 f->state = REQSENT;
573 switch (f->state) {
584 f->state = STOPPED; /* kludge for stopping CCP */
593 f->state = REQSENT;
601 f->state = REQSENT;
617 switch (f->state) {
620 f->state = REQSENT; /* Start over but keep trying */
629 f->state = STOPPING;
647 switch (f->state) {
650 f->state = CLOSED;
656 f->state = STOPPED;
662 f->state = REQSENT;
669 f->state = REQSENT;
694 if( f->state == ACKRCVD )
695 f->state = REQSENT;
708 switch( f->state ){
713 f->state = CLOSED;
725 f->state = STOPPED;
735 FSMDEBUG(("%s: Protocol-reject event in state %d!",
736 PROTO_NAME(f), f->state));
752 if( f->statestate != ACKRCVD && f->state != ACKSENT ){