Lines Matching defs:protp
206 struct protent *protp;
212 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
213 if (!protp->enabled_flag)
215 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL)
216 (*protp->lowerdown)(unit);
217 if (protp->protocol < 0xC000 && protp->close != NULL)
218 (*protp->close)(unit, "LCP down");
238 struct protent *protp;
243 for (i = 0; (protp = protocols[i]) != NULL; ++i)
244 if (protp->protocol != PPP_LCP && protp->enabled_flag
245 && protp->lowerup != NULL)
246 (*protp->lowerup)(unit);
295 struct protent *protp;
322 for (i = 0; (protp = protocols[i]) != NULL; ++i)
323 if (protp->protocol < 0xC000 && protp->enabled_flag
324 && protp->open != NULL) {
325 (*protp->open)(unit);
326 if (protp->protocol != PPP_CCP)