Lines Matching refs:protp
86 const struct protent *protp;
113 for (i = 0; (protp = protocols[i]) != NULL; ++i)
114 if (protp->demand_conf != NULL)
115 ((*protp->demand_conf)(pcb));
118 if (!((*protp->demand_conf)(pcb)))
131 const struct protent *protp;
133 for (i = 0; (protp = protocols[i]) != NULL; ++i)
134 if (protp->demand_conf != NULL)
135 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_QUEUE);
148 const struct protent *protp;
150 for (i = 0; (protp = protocols[i]) != NULL; ++i)
151 if (protp->demand_conf != NULL)
152 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_ERROR);
174 const struct protent *protp;
176 for (i = 0; (protp = protocols[i]) != NULL; ++i)
177 if (protp->demand_conf != NULL)
178 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_PASS);
439 const struct protent *protp;
455 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
457 if (protp->active_pkt == NULL)
459 return (*protp->active_pkt)(p, len);