Lines Matching full:protp
488 struct protent *protp;
494 for (i = 0; (protp = protocols[i]) != NULL; ++i)
495 if (proto == protp->protocol)
497 if (protp != NULL) {
498 printer(arg, "[%s", protp->name);
499 n = (*protp->printpkt)(p, len, printer, arg);
504 for (i = 0; (protp = protocols[i]) != NULL; ++i)
505 if (proto == (protp->protocol & ~0x8000))
507 if (protp != 0 && protp->data_name != 0) {
508 printer(arg, "[%s data]", protp->data_name);