Lines Matching refs:protp
82 struct protent *protp; in demand_conf() local
109 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_conf()
110 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_conf()
111 if (!((*protp->demand_conf)(0))) in demand_conf()
123 struct protent *protp; in demand_block() local
125 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_block()
126 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_block()
127 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_QUEUE); in demand_block()
140 struct protent *protp; in demand_discard() local
142 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_discard()
143 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_discard()
144 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_ERROR); in demand_discard()
166 struct protent *protp; in demand_unblock() local
168 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_unblock()
169 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_unblock()
170 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_PASS); in demand_unblock()
338 struct protent *protp; local
354 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
355 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
356 if (!protp->enabled_flag)
358 if (protp->active_pkt == NULL)
360 return (*protp->active_pkt)(p, len);