Lines Matching refs:protp
410 struct protent *protp;
418 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
419 if (!protp->enabled_flag) {
422 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL) {
423 (*protp->lowerdown)(unit);
425 if (protp->protocol < 0xC000 && protp->close != NULL) {
426 (*protp->close)(unit, "LCP down");
447 struct protent *protp;
458 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
459 if (protp->protocol != PPP_LCP && protp->enabled_flag && protp->lowerup != NULL) {
460 (*protp->lowerup)(unit);
528 struct protent *protp;
551 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
552 if (protp->protocol < 0xC000 && protp->enabled_flag && protp->open != NULL) {
553 (*protp->open)(unit);
554 if (protp->protocol != PPP_CCP) {