Lines Matching refs:protp
80 struct protent *protp;
106 for (i = 0; (protp = protocols[i]) != NULL; ++i)
107 if (protp->enabled_flag && protp->demand_conf != NULL)
108 if (!((*protp->demand_conf)(0)))
120 struct protent *protp;
122 for (i = 0; (protp = protocols[i]) != NULL; ++i)
123 if (protp->enabled_flag && protp->demand_conf != NULL)
124 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_QUEUE);
137 struct protent *protp;
139 for (i = 0; (protp = protocols[i]) != NULL; ++i)
140 if (protp->enabled_flag && protp->demand_conf != NULL)
141 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);
193 struct protent *protp;
195 for (i = 0; (protp = protocols[i]) != NULL; ++i)
196 if (protp->enabled_flag && protp->demand_conf != NULL)
197 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_PASS);
365 struct protent *protp;
378 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
379 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
380 if (!protp->enabled_flag)
382 if (protp->active_pkt == NULL)
384 return (*protp->active_pkt)(p, len);