Lines Matching refs:protp
411 struct protent *protp;
419 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
420 if (!protp->enabled_flag)
422 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL)
423 (*protp->lowerdown)(unit);
424 if (protp->protocol < 0xC000 && protp->close != NULL)
425 (*protp->close)(unit, "LCP down");
446 struct protent *protp;
451 for (i = 0; (protp = protocols[i]) != NULL; ++i)
452 if (protp->protocol != PPP_LCP && protp->enabled_flag
453 && protp->lowerup != NULL)
454 (*protp->lowerup)(unit);
548 struct protent *protp;
566 for (i = 0; (protp = protocols[i]) != NULL; ++i)
567 if (protp->protocol < 0xC000 && protp->enabled_flag
568 && protp->open != NULL) {
569 (*protp->open)(0);
570 if (protp->protocol != PPP_CCP)