Lines Matching refs:pe
883 struct protoent *pe = getprotobynumber(proto); in print_port() local
885 se = getservbyport(htons(port), pe ? pe->p_name : NULL); in print_port()
986 struct protoent *pe = NULL; in strtoport() local
990 pe = getprotobynumber(proto); in strtoport()
992 se = getservbyname(buf, pe ? pe->p_name : NULL); in strtoport()
1470 struct protoent *pe; in print_instruction() local
1533 pe = getprotobynumber(cmd->arg1); in print_instruction()
1536 if (pe != NULL) in print_instruction()
1537 bprintf(bp, " %s", pe->p_name); in print_instruction()
2281 struct protoent *pe; in show_dyn_state() local
2309 if ((pe = getprotobynumber(d->id.proto)) != NULL) in show_dyn_state()
2310 bprintf(bp, " %s", pe->p_name); in show_dyn_state()
3604 struct protoent *pe; in add_proto0() local
3610 if ((pe = getprotobyname(av)) == NULL) in add_proto0()
3612 proto = pe->p_proto; in add_proto0()