Lines Matching refs:phase
219 LWIP_ASSERT("pcb->phase == PPP_PHASE_DEAD", pcb->phase == PPP_PHASE_DEAD);
242 LWIP_ASSERT("pcb->phase == PPP_PHASE_DEAD", pcb->phase == PPP_PHASE_DEAD);
259 notify_phase_cb(pcb, pcb->phase, pcb->ctx_cb);
266 * This can only be called if PPP is in the dead phase.
276 if (pcb->phase != PPP_PHASE_DEAD) {
298 * This can only be called if PPP is in the dead phase.
305 if (pcb->phase != PPP_PHASE_DEAD) {
340 /* holdoff phase, cancel the reconnection */
341 if (pcb->phase == PPP_PHASE_HOLDOFF) {
346 /* dead phase, nothing to do, call the status callback to be consistent */
347 if (pcb->phase == PPP_PHASE_DEAD) {
353 if (pcb->phase >= PPP_PHASE_TERMINATE) {
358 if (pcb->phase < PPP_PHASE_ESTABLISH) {
365 * Only accept carrier lost signal on the stable running phase in order
366 * to prevent changing the PPP phase FSM in transition phases.
371 if (nocarrier && pcb->phase == PPP_PHASE_RUNNING) {
389 * This can only be called if PPP is in the dead phase.
399 if (pcb->phase != PPP_PHASE_DEAD) {
461 LWIP_ASSERT("pcb->phase == PPP_PHASE_DEAD || pcb->phase == PPP_PHASE_HOLDOFF", pcb->phase == PPP_PHASE_DEAD || pcb->phase == PPP_PHASE_HOLDOFF);
809 * Until we get past the authentication phase, toss all packets
812 if (pcb->phase <= PPP_PHASE_AUTHENTICATE
827 ppp_dbglog("discarding proto 0x%x in phase %d", protocol, pcb->phase);
1008 * the PPP interface or change the PPP phase.
1012 * new_phase - signal the start of a new phase of pppd's operation.
1015 pcb->phase = p;
1016 PPPDEBUG(LOG_DEBUG, ("ppp phase changed[%d]: phase=%d\n", pcb->netif->num, pcb->phase));