Home
last modified time | relevance | path

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

/freebsd/libexec/getty/
H A Dmain.c508 int ppp_state = 0; in getname() local
549 ppp_state = 1; in getname()
550 } else if (ppp_state == 1 && cs == PPP_STATION) { in getname()
551 ppp_state = 2; in getname()
552 } else if (ppp_state == 2 && cs == PPP_ESCAPE) { in getname()
553 ppp_state = 3; in getname()
554 } else if ((ppp_state == 2 && cs == PPP_CONTROL) in getname()
555 || (ppp_state == 3 && cs == PPP_CONTROL_ESCAPED)) { in getname()
556 ppp_state = 4; in getname()
557 } else if (ppp_state == 4 && cs == PPP_LCP_HI) { in getname()
[all …]