Searched defs:host (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_makeaddr.c | 36 * 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;
|
/bionic/libc/dns/include/ |
H A D | resolv_static.h | 27 struct hostent host; member in struct:res_static
|
/bionic/tests/ |
H A D | netdb_test.cpp | 33 // It's okay for the host argument to be NULL, as long as service isn't. 42 // It's okay for the service argument to be NULL, as long as host isn't. 145 char host[NI_MAXHOST]; local 150 host, sizeof(host), NULL, 0, 0)); 151 ASSERT_STREQ(host, "localhost"); 163 char host[NI_MAXHOST]; local 168 host, sizeof(host), NULL, 0, 0)); 169 VerifyLocalhostName(host); [all...] |
H A D | ifaddrs_test.cpp | 172 char host[NI_MAXHOST]; local 176 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); 179 strcpy(host, "???"); 181 printf("\t\t%s: <%s>\n", what, host);
|
/bionic/libc/dns/net/ |
H A D | getnameinfo.c | 109 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...] |
Completed in 158 milliseconds