Home | History | Annotate | Download | only in missing

Lines Matching full:servent

342     struct servent *servent;
385 servent = getservbyname(servname, "udp");
387 servent = getservbyname(servname, "tcp");
389 servent = getservbyname(servname, "tcp");
395 if (servent == NULL) {
399 port = servent->s_port;
528 struct servent *servent;
549 servent = NULL;
551 servent = getservbyport(sa_in->sin_port, "udp");
553 servent = getservbyport(sa_in->sin_port, "tcp");
555 if (servent != NULL) {
556 if (servlen <= strlen(servent->s_name)) {
560 strcpy(serv, servent->s_name);