Home
last modified time | relevance | path

Searched refs:h_addr_list (Results 1 – 25 of 35) sorted by last modified time

12

/dragonfly/sbin/ping/
H A Dping.c498 memcpy(&sock_in.sin_addr, hp->h_addr_list[0], in main()
523 memcpy(&to->sin_addr, hp->h_addr_list[0], sizeof to->sin_addr); in main()
/dragonfly/sbin/ipfw/
H A Dipfw2.c1822 *ipaddr = *(struct in_addr *)he->h_addr_list[0]; in lookup_host()
/dragonfly/sbin/ipfw3/
H A Dipfw3table.c89 *ipaddr = *(struct in_addr *)he->h_addr_list[0]; in lookup_host()
/dragonfly/sbin/route/
H A Droute.c829 hp != NULL && hp->h_addr_list[1] != NULL) { in newroute()
831 hp->h_addr_list++; in newroute()
833 hp->h_addr_list[0], in newroute()
/dragonfly/crypto/openssh/
H A Dsession.c2621 memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr)); in session_setup_x11fwd()
/dragonfly/contrib/libpcap/
H A Dnametoaddr.c188 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
190 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
/dragonfly/usr.sbin/ypbind/
H A Dypbind.c978 bcopy (h->h_addr_list[0], &restricted_addrs[i], in yp_restricted_mode()
/dragonfly/usr.sbin/ypset/
H A Dypset.c76 bcopy (hp->h_addr_list[0], in bind_tohost()
139 bcopy(&hent->h_addr_list[0], &sin.sin_addr, in main()
/dragonfly/usr.sbin/sliplogin/
H A Dsliplogin.c114 ipaddr = ntohl(*(long *)he->h_addr_list[0]); in make_ipaddr()
/dragonfly/usr.sbin/traceroute/
H A Dtraceroute.c489 if (hp->h_addr_list[1] != NULL) in main()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c620 target_ipaddr = choose_ipaddr((in_addr_t **)hp->h_addr_list, in rarp_process()
/dragonfly/usr.sbin/pppctl/
H A Dpppctl.c322 ifsin.sin_addr.s_addr = *(u_long *)h->h_addr_list[0]; in main()
/dragonfly/usr.bin/ypwhich/
H A Dypwhich.c190 bcopy((char *)hent->h_addr_list[0], in main()
/dragonfly/usr.bin/talk/
H A Dio.c68 for (addr = hp2->h_addr_list; *addr != NULL; addr++) in talk()
/dragonfly/share/examples/find_interface/
H A Dfind_interface.c75 memcpy(&remote.sin_addr, hp->h_addr_list[0], sizeof remote.sin_addr); in main()
/dragonfly/sbin/rconfig/
H A Dserver.c71 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doServer()
H A Dclient.c88 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doClient()
/dragonfly/sbin/ip6fw/
H A Dip6fw.c544 memcpy(addr, he->h_addr_list[0], he->h_length); in lookup_host()
/dragonfly/lib/libutil/
H A Drealhostname.c66 else for (; ; hp->h_addr_list++) { in realhostname()
67 if (*hp->h_addr_list == NULL) { in realhostname()
71 if (!memcmp(*hp->h_addr_list, ip, sizeof(*ip))) { in realhostname()
/dragonfly/lib/libipfw3/basic/
H A Dipfw3_basic.c148 *ipaddr = *(struct in_addr *)he->h_addr_list[0]; in lookup_host()
/dragonfly/lib/libc/rpc/
H A Dauth_time.c165 dummy.h_addr_list = ptr; in get_server()
172 for (i = 0, ep = eps; (he->h_addr_list[i] != NULL) && (num_ep < maxep); in get_server()
176 a = (struct in_addr *)he->h_addr_list[i]; in get_server()
187 for (i = 0; (he->h_addr_list[i] != NULL) && (num_ep < maxep); in get_server()
191 a = (struct in_addr *)he->h_addr_list[i]; in get_server()
/dragonfly/lib/libc/net/
H A Dmap_v4v6.c101 for (ap = hp->h_addr_list; *ap; ap++) { in _map_v4v6_hostent()
H A Dname6.c424 if ((pp = hp->h_addr_list) != NULL) { in _hpcopy()
457 nhp->h_addr_list = (char **)cp; in _hpcopy()
458 if ((pp = hp->h_addr_list) != NULL) { in _hpcopy()
461 nhp->h_addr_list[i++] = cp; in _hpcopy()
466 nhp->h_addr_list[naddr] = NULL; in _hpcopy()
484 hp->h_addr_list = addrs; in _hpaddr()
535 hp->h_addr_list = addrs; in _hpmerge()
538 if ((pp = HP(i)->h_addr_list) == NULL) in _hpmerge()
614 pp = (u_char **)hp->h_addr_list; in _hpsort()
680 ap = hp->h_addr_list[i]; in _hpreorder()
[all …]
H A Dgethostnamadr.c105 for (i = 0; he->h_addr_list[i]; i++, nptr++) { in __copy_hostent()
127 hptr->h_addr_list = ptr; in __copy_hostent()
129 memcpy(cp, he->h_addr_list[i], n); in __copy_hostent()
130 hptr->h_addr_list[i] = cp; in __copy_hostent()
133 hptr->h_addr_list[i] = NULL; in __copy_hostent()
299 if (ht->h_addr_list != NULL) { in host_marshal_func()
301 for (iter = ht->h_addr_list; *iter; ++iter) in host_marshal_func()
343 if (new_ht.h_addr_list != NULL) { in host_marshal_func()
346 new_ht.h_addr_list = (char **)p; in host_marshal_func()
418 if (ht->h_addr_list != NULL) { in host_unmarshal_func()
[all …]
H A Dgethostbydns.c208 he->h_addr_list = hed->h_addr_ptrs; in gethostanswer()
657 for (haddr = rhe->h_addr_list; *haddr; haddr++) in _dns_gethostbyaddr()

12