Home
last modified time | relevance | path

Searched refs:servent (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/netbsd/net/
Dgetservent.c50 struct servent *
82 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
87 rs->servent.s_aliases = (char**) p2; in getservent_r()
89 rs->servent.s_name = p2; in getservent_r()
91 rs->servent.s_proto = p2; in getservent_r()
94 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r()
95 rs->servent.s_name[namelen] = 0; in getservent_r()
102 rs->servent.s_port = htons(port); in getservent_r()
103 rs->servent.s_proto = p[2] == 't' ? "tcp" : "udp"; in getservent_r()
108 rs->servent.s_aliases[nn] = p2; in getservent_r()
[all …]
Dgetservbyport.c32 struct servent *
36 struct servent* s; in getservbyport()
45 struct servent* s = getservent_r(rs); in getservbyport()
Dgetservbyname.c33 struct servent *
37 struct servent* s; in getservbyname()
46 struct servent* s = getservent_r(rs); in getservbyname()
Dservent.h44 struct servent* getservent_r(res_static rs);
Dgetnameinfo.c185 struct servent *sp; in getnameinfo_inet()
Dgetaddrinfo.c1142 struct servent *sp; in get_port()
/bionic/libc/private/
Dresolv_static.h26 struct servent servent; member
/bionic/libc/include/
Dnetdb.h100 struct servent { struct
234 struct servent *getservbyname(const char *, const char *);
235 struct servent *getservbyport(int, const char *);
236 struct servent *getservent(void);
/bionic/libc/netbsd/resolv/
Dres_state.c92 free(rs->servent.s_aliases); in _res_static_done()