OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:my_hostent
(Results
1 - 1
of
1
) sorted by null
/cts/tests/tests/net/jni/
NativeDnsJni.c
141
struct hostent *
my_hostent
= gethostbyname("www.youtube.com");
local
142
if (
my_hostent
== NULL) {
146
if ((
my_hostent
->h_addr_list == NULL) || (*
my_hostent
->h_addr_list == NULL)) {
151
char **current =
my_hostent
->h_addr_list;
154
inet_ntop(
my_hostent
->h_addrtype, *current, buf, sizeof(buf));
163
my_hostent
= gethostbyaddr(addr6, sizeof(addr6), AF_INET6);
164
if (
my_hostent
== NULL) {
170
my_hostent
->h_name ?
my_hostent
->h_name : "null")
[
all
...]
Completed in 39 milliseconds