Home
last modified time | relevance | path

Searched refs:servent (Results 1 – 13 of 13) 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()
Dgetservbyport_r.c46 struct servent *
47 getservbyport_r(int port, const char *proto, struct servent *sp, in getservbyport_r()
50 struct servent *s; in getservbyport_r()
Dgetservbyname_r.c48 struct servent *
49 getservbyname_r(const char *name, const char *proto, struct servent *sp, in getservbyname_r()
52 struct servent *s; in getservbyname_r()
Dservent.h44 struct servent* getservent_r(res_static rs);
Dgetservent_r.c81 struct servent *
82 getservent_r(struct servent *sp, struct servent_data *sd) in getservent_r()
Dgetnameinfo.c143 struct servent *sp;
Dgetaddrinfo.c888 struct servent *sp; in get_port()
/bionic/libc/private/
Dresolv_static.h26 struct servent servent; member
/bionic/libc/include/
Dnetdb.h104 struct servent { struct
235 struct servent *getservbyname(const char *, const char *);
236 struct servent *getservbyport(int, const char *);
237 struct servent *getservent(void);
/bionic/libc/docs/
DISSUES.TXT19 the 'struct servent' structure in host-byte-order, instead of
/bionic/libc/netbsd/resolv/
Dres_state.c86 free(rs->servent.s_aliases); in _res_static_done()