Searched refs:servent (Results 1 – 9 of 9) sorted by relevance
50 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 …]
32 struct servent *36 struct servent* s; in getservbyport()45 struct servent* s = getservent_r(rs); in getservbyport()
33 struct servent *37 struct servent* s; in getservbyname()46 struct servent* s = getservent_r(rs); in getservbyname()
44 struct servent* getservent_r(res_static rs);
185 struct servent *sp; in getnameinfo_inet()
1142 struct servent *sp; in get_port()
26 struct servent servent; member
100 struct servent { struct234 struct servent *getservbyname(const char *, const char *);235 struct servent *getservbyport(int, const char *);236 struct servent *getservent(void);
92 free(rs->servent.s_aliases); in _res_static_done()