Lines Matching full:protp
683 struct protent *protp;
685 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
686 if (!protp->enabled_flag)
688 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL)
689 (*protp->lowerdown)(unit);
690 if (protp->protocol < 0xC000 && protp->close != NULL)
691 (*protp->close)(unit, "LCP down");
710 struct protent *protp;
716 for (i = 0; (protp = protocols[i]) != NULL; ++i)
717 if (protp->protocol != PPP_LCP && protp->enabled_flag
718 && protp->lowerup != NULL)
719 (*protp->lowerup)(unit);
830 struct protent *protp;
850 for (i = 0; (protp = protocols[i]) != NULL; ++i)
851 if ((protp->protocol == PPP_ECP || protp->protocol == PPP_CCP)
852 && protp->enabled_flag && protp->open != NULL)
853 (*protp->open)(0);
869 struct protent *protp;
874 for (i = 0; (protp = protocols[i]) != NULL; ++i)
875 if (protp->protocol < 0xC000
876 && protp->protocol != PPP_CCP && protp->protocol != PPP_ECP
877 && protp->enabled_flag && protp->open != NULL) {
878 (*protp->open)(0);