Lines Matching refs:protp
483 struct protent *protp;
489 for (i = 0; (protp = protocols[i]) != NULL; ++i)
490 if (proto == protp->protocol)
492 if (protp != NULL) {
493 printer(arg, "[%s", protp->name);
494 n = (*protp->printpkt)(p, len, printer, arg);
499 for (i = 0; (protp = protocols[i]) != NULL; ++i)
500 if (proto == (protp->protocol & ~0x8000))
502 if (protp != 0 && protp->data_name != 0) {
503 printer(arg, "[%s data]", protp->data_name);