Home
last modified time | relevance | path

Searched refs:h_name (Results 1 – 22 of 22) sorted by relevance

/external/openssh/openbsd-compat/
Dfake-rfc2553.c75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo()
/external/tcpdump/missing/
Dgetnameinfo.c256 p = strchr(hp->h_name, '.');
259 if (strlen(hp->h_name) + 1 > hostlen) {
265 strcpy(host, hp->h_name);
/external/libpcap/Win32/Src/
Dgetaddrinfo.c594 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0)
936 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
940 GET_CANONNAME(cur, hp->h_name);
948 if ((cn = strdup(hp->h_name)) == NULL) {
/external/iputils/
Dtracepath.c185 if (h && idna_to_unicode_lzlz(h->h_name, &idn, 0) != IDNA_SUCCESS) in recverr()
189 print_host(abuf, h ? (idn ? idn : h->h_name) : abuf, show_both); in recverr()
191 print_host(h ? (idn ? idn : h->h_name) : abuf, abuf, show_both); in recverr()
Dtraceroute6.c461 hostname = (char *)hp->h_name; in main()
917 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS) in print()
922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa); in print()
Dping.c297 if (idna_to_unicode_lzlz(hp->h_name, &hnamebuf, 0) != IDNA_SUCCESS) { in main()
298 hnamebuf = strdup(hp->h_name); in main()
305 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1); in main()
1325 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS) in pr_addr()
1330 snprintf(buf, sizeof(buf), "%s (%s)", s ? s : hp->h_name, in pr_addr()
Dclockdiff.c607 myname = strdup(hp->h_name); in main()
614 hisname = strdup(hp->h_name); in main()
Dping6.c1828 || idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS in pr_addr()
1833 return hp ? (s ? s : hp->h_name) : pr_addr_n(addr); in pr_addr()
Drdisc.c707 snprintf(buf, sizeof(buf), "%s (%s)", phe->h_name, inet_ntoa(addr)); in pr_name()
/external/ppp/pppd/plugins/radius/
Dip_util.c113 return ((hp==NULL)?"unknown":hp->h_name); in rc_ip_hostname()
/external/tcpdump/
Daddrtoname.c112 host.h_name = hostbuf; in win32_gethostbyaddr()
125 strcpy(host.h_name, hname); in win32_gethostbyaddr()
253 p->name = strdup(hp->h_name); in getname()
304 p->name = strdup(hp->h_name); in getname6()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c959 result->hostent->h_name [0] = 0; in mdns_lookup_addr()
1447 result->hostent->h_name = in add_hostname_len()
1476 char * hostname = result->hostent->h_name; in add_hostname_or_alias()
1523 result->hostent->h_name = result->header->hostname; in init_result()
/external/libvncserver/x11vnc/
Dinet.c101 str = strdup(hp->h_name); in raw2host()
131 str = strdup(hp->h_name); in ip2host()
/external/iproute2/lib/
Dutils.c591 n->name = strdup(h_ent->h_name); in resolve_address()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h610 char *h_name; member
Dsanitizer_platform_limits_posix.cc947 CHECK_SIZE_AND_OFFSET(hostent, h_name);
Dsanitizer_common_interceptors.inc1845 if (h->h_name)
1846 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, h->h_name, REAL(strlen)(h->h_name) + 1);
/external/lldb/source/Host/common/
DHost.cpp1170 s.assign (h->h_name); in GetHostname()
/external/iptables/libxtables/
Dxtables.c1195 return host->h_name; in ipaddr_to_host()
/external/blktrace/
Dblktrace.c972 strcpy(hostname, hent->h_name); in net_setup_addr()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc962 ASSERT_NE((void *) 0, (he)->h_name); \
965 EXPECT_NOT_POISONED(strlen((he)->h_name)); \
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch16865 + str = strdup(hp->h_name);