Home | History | Annotate | Download | only in pppd

Lines Matching refs:protp

82     struct protent *protp;
109 for (i = 0; (protp = protocols[i]) != NULL; ++i)
110 if (protp->enabled_flag && protp->demand_conf != NULL)
111 if (!((*protp->demand_conf)(0)))
123 struct protent *protp;
125 for (i = 0; (protp = protocols[i]) != NULL; ++i)
126 if (protp->enabled_flag && protp->demand_conf != NULL)
127 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_QUEUE);
140 struct protent *protp;
142 for (i = 0; (protp = protocols[i]) != NULL; ++i)
143 if (protp->enabled_flag && protp->demand_conf != NULL)
144 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_ERROR);
166 struct protent *protp;
168 for (i = 0; (protp = protocols[i]) != NULL; ++i)
169 if (protp->enabled_flag && protp->demand_conf != NULL)
170 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_PASS);
338 struct protent *protp;
351 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
352 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
353 if (!protp->enabled_flag)
355 if (protp->active_pkt == NULL)
357 return (*protp->active_pkt)(p, len);