Lines Matching full:protp
481 struct protent *protp;
487 for (i = 0; (protp = protocols[i]) != NULL; ++i)
488 if (proto == protp->protocol)
490 if (protp != NULL) {
491 printer(arg, "[%s", protp->name);
492 n = (*protp->printpkt)(p, len, printer, arg);
497 for (i = 0; (protp = protocols[i]) != NULL; ++i)
498 if (proto == (protp->protocol & ~0x8000))
500 if (protp != 0 && protp->data_name != 0) {
501 printer(arg, "[%s data]", protp->data_name);