Lines Matching refs:protp
316 struct protent *protp; local
352 for (i = 0; (protp = protocols[i]) != NULL; ++i)
353 (*protp->init)(0);
448 for (i = 0; (protp = protocols[i]) != NULL; ++i)
449 if (protp->check_options != NULL)
450 (*protp->check_options)();
1075 struct protent *protp; in get_input() local
1133 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input()
1134 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
1135 (*protp->input)(0, p, len); in get_input()
1138 if (protocol == (protp->protocol & ~0x8000) && protp->enabled_flag in get_input()
1139 && protp->datainput != NULL) { in get_input()
1140 (*protp->datainput)(0, p, len); in get_input()