Lines Matching refs:protp
319 struct protent *protp; local
355 for (i = 0; (protp = protocols[i]) != NULL; ++i)
356 (*protp->init)(0);
451 for (i = 0; (protp = protocols[i]) != NULL; ++i)
452 if (protp->check_options != NULL)
453 (*protp->check_options)();
1078 struct protent *protp; in get_input() local
1136 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input()
1137 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
1138 (*protp->input)(0, p, len); in get_input()
1141 if (protocol == (protp->protocol & ~0x8000) && protp->enabled_flag in get_input()
1142 && protp->datainput != NULL) { in get_input()
1143 (*protp->datainput)(0, p, len); in get_input()