Searched refs:servent (Results 1 - 10 of 10) sorted by relevance

/bionic/libc/dns/net/
H A Dservent.h1 /* $NetBSD: servent.h,v 1.1 2005/04/18 19:39:45 kleink Exp $ */
44 struct servent* getservent_r(res_static rs);
H A Dgetservent.c33 #include "servent.h"
51 struct servent *
82 /* reallocate the thread-specific servent struct */
83 p2 = realloc( (char*)rs->servent.s_aliases, total );
88 rs->servent.s_aliases = (char**) p2;
90 rs->servent.s_name = p2;
92 rs->servent.s_proto = p2;
95 memcpy( rs->servent.s_name, p+1, namelen );
96 rs->servent.s_name[namelen] = 0;
103 rs->servent
[all...]
H A Dgetservbyname.c31 #include "servent.h"
33 struct servent* getservbyname(const char* name, const char* proto) {
36 struct servent* s;
H A Dgetservbyport.c30 #include "servent.h"
32 struct servent *
44 struct servent* s = getservent_r(rs);
H A Dgetnameinfo.c171 struct servent *sp;
H A Dgetaddrinfo.c1140 struct servent *sp;
/bionic/libc/dns/include/
H A Dresolv_static.h26 struct servent servent; member in struct:res_static
/bionic/libc/include/
H A Dnetdb.h97 struct servent { struct
231 struct servent *getservbyname(const char *, const char *);
232 struct servent *getservbyport(int, const char *);
233 struct servent *getservent(void);
/bionic/libc/dns/resolv/
H A Dres_state.c91 free(rs->servent.s_aliases);
/bionic/tests/
H A Dnetdb_test.cpp301 servent* s = getservbyname("smtp", NULL);

Completed in 72 milliseconds