Lines Matching refs:protp
316 struct protent *protp; local
352 for (i = 0; (protp = protocols[i]) != NULL; ++i)
353 (*protp->init)(0);
425 for (i = 0; (protp = protocols[i]) != NULL; ++i)
426 if (protp->check_options != NULL)
427 (*protp->check_options)();
1052 struct protent *protp; in get_input() local
1110 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input()
1111 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
1112 (*protp->input)(0, p, len); in get_input()
1115 if (protocol == (protp->protocol & ~0x8000) && protp->enabled_flag in get_input()
1116 && protp->datainput != NULL) { in get_input()
1117 (*protp->datainput)(0, p, len); in get_input()