Lines Matching defs:protp
450 const struct protent *protp;
455 for (i = 0; (protp = protocols[i]) != NULL; ++i)
456 if (proto == protp->protocol)
458 if (protp != NULL) {
459 printer(arg, "[%s", protp->name);
460 n = (*protp->printpkt)(p, len, printer, arg);
465 for (i = 0; (protp = protocols[i]) != NULL; ++i)
466 if (proto == (protp->protocol & ~0x8000))
468 if (protp != 0 && protp->data_name != 0) {
469 printer(arg, "[%s data]", protp->data_name);