Lines Matching refs:pe
30 struct protoent *pe; in inet_proto_n2a() local
35 pe = getprotobynumber(proto); in inet_proto_n2a()
36 if (pe) { in inet_proto_n2a()
40 ncache = strdup(pe->p_name); in inet_proto_n2a()
41 strlcpy(buf, pe->p_name, len); in inet_proto_n2a()
52 struct protoent *pe; in inet_proto_a2n() local
61 pe = getprotobyname(buf); in inet_proto_a2n()
62 if (pe) { in inet_proto_a2n()
65 icache = pe->p_proto; in inet_proto_a2n()
66 ncache = strdup(pe->p_name); in inet_proto_a2n()
67 return pe->p_proto; in inet_proto_a2n()