Lines Matching defs:protp
184 struct protent *protp;
219 for (i = 0; (protp = protocols[i]) != NULL; ++i)
220 (*protp->init)(0);
249 for (i = 0; (protp = protocols[i]) != NULL; ++i)
250 if (protp->check_options != NULL)
251 (*protp->check_options)();
638 struct protent *protp;
690 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
691 if (protp->protocol == protocol && protp->enabled_flag) {
692 (*protp->input)(0, p, len);
695 if (protocol == (protp->protocol & ~0x8000) && protp->enabled_flag
696 && protp->datainput != NULL) {
697 (*protp->datainput)(0, p, len);
1230 struct protent *protp;
1236 for (i = 0; (protp = protocols[i]) != NULL; ++i)
1237 if (proto == protp->protocol)
1239 if (protp != NULL) {
1240 printer(arg, "[%s", protp->name);
1241 n = (*protp->printpkt)(p, len, printer, arg);