Lines Matching defs:pe
134 ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe,
146 if (pe == NULL)
148 tgt->f_srcport = ParsePort(argv[2], pe->p_name);
161 if (pe == NULL)
163 tgt->f_dstport = ParsePort(argv[2], pe->p_name);
170 if (pe && pe->p_proto == IPPROTO_TCP) {
246 struct protoent *pe;
307 pe = NULL;
308 else if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) {
344 if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) {
368 fe.f_proto = (pe == NULL) ? 0 : pe->p_proto;
377 val = ParseUdpOrTcp(argc, argv, pe, &fe);
453 struct protoent *pe;
472 if ((pe = getprotobynumber(fp->f_proto)) == NULL)
475 prompt_Printf(prompt, "%s", pe->p_name);