Searched refs:servent (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getservent.c | 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 …]
|
D | getservbyport.c | 32 struct servent * 36 struct servent* s; in getservbyport() 45 struct servent* s = getservent_r(rs); in getservbyport()
|
D | getservbyname.c | 33 struct servent * 37 struct servent* s; in getservbyname() 46 struct servent* s = getservent_r(rs); in getservbyname()
|
D | getservbyport_r.c | 46 struct servent * 47 getservbyport_r(int port, const char *proto, struct servent *sp, in getservbyport_r() 50 struct servent *s; in getservbyport_r()
|
D | getservbyname_r.c | 48 struct servent * 49 getservbyname_r(const char *name, const char *proto, struct servent *sp, in getservbyname_r() 52 struct servent *s; in getservbyname_r()
|
D | servent.h | 44 struct servent* getservent_r(res_static rs);
|
D | getservent_r.c | 81 struct servent * 82 getservent_r(struct servent *sp, struct servent_data *sd) in getservent_r()
|
D | getnameinfo.c | 143 struct servent *sp;
|
D | getaddrinfo.c | 888 struct servent *sp; in get_port()
|
/bionic/libc/private/ |
D | resolv_static.h | 26 struct servent servent; member
|
/bionic/libc/include/ |
D | netdb.h | 104 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/ |
D | ISSUES.TXT | 19 the 'struct servent' structure in host-byte-order, instead of
|
/bionic/libc/netbsd/resolv/ |
D | res_state.c | 86 free(rs->servent.s_aliases); in _res_static_done()
|