Searched defs:host (Results 1 - 3 of 3) sorted by last modified time

/bionic/libc/dns/include/
H A Dresolv_static.h27 struct hostent host; member in struct:res_static
/bionic/libc/dns/net/
H A Dgetnameinfo.c109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, argument
112 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags,
116 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, argument
123 return getnameinfo_inet(sa, salen, host, hostlen,
126 return getnameinfo_local(sa, salen, host, hostlen,
140 char *host, socklen_t hostlen, char *serv, socklen_t servlen,
153 if (host && hostlen > 0)
154 strlcpy(host, sun->sun_path,
166 char *host, socklen_t hostlen,
181 /* host ma
139 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags __attribute__((unused))) argument
165 getnameinfo_inet(const struct sockaddr* sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags, unsigned netid, unsigned mark) argument
354 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, socklen_t hostlen, int flags) argument
[all...]
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_makeaddr.c36 * Formulate an Internet address from network + host. Used in
40 inet_makeaddr(in_addr_t net, in_addr_t host) argument
45 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
47 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
49 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
51 addr = net | host;

Completed in 4 milliseconds