Lines Matching defs:pe
296 __copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf,
306 for (i = 0; pe->p_aliases[i]; i++, numptr++) {
307 len += strlen(pe->p_aliases[i]) + 1;
309 len += strlen(pe->p_name) + 1;
318 pptr->p_proto = pe->p_proto;
323 n = strlen(pe->p_name) + 1;
324 strcpy(cp, pe->p_name);
330 for (i = 0 ; pe->p_aliases[i]; i++) {
331 n = strlen(pe->p_aliases[i]) + 1;
332 strcpy(cp, pe->p_aliases[i]);
362 __getprotoent_p(struct protoent *pe, struct protoent_data *ped)
378 pe->p_name = p;
391 pe->p_proto = l;
392 q = pe->p_aliases = ped->aliases;
414 struct protoent pe;
432 if (__getprotoent_p(&pe, ped) != 0) {
437 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {