Home
last modified time | relevance | path

Searched refs:h_length (Results 1 – 25 of 35) sorted by relevance

12

/dragonfly/contrib/tcp_wrappers/
H A Dscaffold.c62 + (hp->h_length + sizeof(char *)) * count)) == 0) {
67 hb->host.h_length = hp->h_length;
73 hb->host.h_addr_list[count] = data + hp->h_length * count;
74 memcpy(hb->host.h_addr_list[count], addr, hp->h_length);
132 h.h_length = sizeof(addr);
H A Dworkarounds.c245 memcpy(*n_addr_list++, (char *) &addr, hp->h_length);
251 memcpy(*n_addr_list++, *o_addr_list, hp->h_length);
/dragonfly/lib/libc/rpc/
H A Dgetrpcport.c66 if (hp->h_length > addr.sin_len) in getrpcport()
67 hp->h_length = addr.sin_len; in getrpcport()
68 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); in getrpcport()
/dragonfly/lib/libc/net/
H A Dname6.c423 addrsize = ALIGN(hp->h_length); in _hpcopy()
456 nhp->h_length = hp->h_length; in _hpcopy()
462 memcpy(cp, *pp, hp->h_length); in _hpcopy()
483 hp->h_length = ADDRLEN(af); in _hpaddr()
527 if (hp1->h_length != hp2->h_length) { in _hpmerge()
529 hp->h_length = sizeof(struct in6_addr); in _hpmerge()
532 hp->h_length = hp1->h_length; in _hpmerge()
540 if (HP(i)->h_length == hp->h_length) { in _hpmerge()
573 hp6.h_length = sizeof(struct in6_addr); in _hpmapv6()
604 for (n = 0; n < hp->h_length; n++) { in _hpsort()
[all …]
H A Dmap_v4v6.c97 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in _map_v4v6_hostent()
100 hp->h_length = IN6ADDRSZ; in _map_v4v6_hostent()
H A Dgethostnamadr.c106 len += he->h_length; in __copy_hostent()
121 n = hptr->h_length = he->h_length; in __copy_hostent()
304 desired_size += addr_size * _ALIGN(ht->h_length); in host_marshal_func()
349 size = _ALIGN(new_ht.h_length); in host_marshal_func()
459 he.h_length = NS_INADDRSZ; in fakeaddr()
462 he.h_length = NS_IN6ADDRSZ; in fakeaddr()
H A Dgethostbydns.c355 if (n != he->h_length) { in gethostanswer()
447 he->h_length = NS_IN6ADDRSZ; in __dns_getanswer()
452 he->h_length = NS_INADDRSZ; in __dns_getanswer()
496 he.h_length = NS_INADDRSZ; in _dns_gethostbyname()
500 he.h_length = NS_IN6ADDRSZ; in _dns_gethostbyname()
673 he.h_length = len; in _dns_gethostbyaddr()
680 he.h_length = NS_IN6ADDRSZ; in _dns_gethostbyaddr()
H A Dgethostbyht.c131 he->h_length = len; in gethostent_p()
252 he.h_length = IN6ADDRSZ; in _ht_gethostbyname()
315 he.h_length = IN6ADDRSZ; in _ht_gethostbyaddr()
/dragonfly/usr.bin/talk/
H A Dget_addrs.c50 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length); in get_addrs()
H A Dio.c67 hp2->h_length == sizeof(his_machine_addr)) in talk()
/dragonfly/lib/libdmsg/
H A Dsubs.c124 bcopy(hen->h_addr, &lsin.sin_addr, hen->h_length); in dmsg_connect()
/dragonfly/test/stress/stress2/testcases/udp/
H A Dudp.c82 bcopy(host->h_addr, &sock_in.sin_addr, host->h_length); in test()
/dragonfly/contrib/smbfs/lib/smb/
H A Dnb_net.c84 if (h->h_length != 4) { in nb_resolvehost_in()
/dragonfly/include/
H A Dnetdb.h109 int h_length; /* length of address */ member
/dragonfly/sbin/rconfig/
H A Dclient.c88 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doClient()
H A Dserver.c71 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doServer()
/dragonfly/sbin/ifconfig/
H A Daf_inet.c159 MIN((size_t)hp->h_length, sizeof(sin->sin_addr))); in in_getaddr()
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_ctrl.c414 os_memcpy(&ctrl->dest.sin6_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
417 os_memcpy(&ctrl->dest.sin_addr.s_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
/dragonfly/sbin/nos-tun/
H A Dnos-tun.c102 bcopy(hp->h_addr, (caddr_t)&my_sin->sin_addr, hp->h_length); in Set_address()
/dragonfly/games/hunt/hunt/
H A Dlist.c243 memcpy(&sin.sin_addr, he->h_addr, he->h_length); in probe_drivers()
/dragonfly/usr.sbin/ppp/
H A Ddefs.c160 memcpy(&ipaddr, hp->h_addr, hp->h_length); in GetIpAddr()
/dragonfly/test/stress/webstress/
H A Dwebstress.c278 bcopy(hen->h_addr, &node->url_sin.sin_addr, hen->h_length); in add_url()
/dragonfly/lib/libbluetooth/
H A Dbluetooth.c129 host.h_length = sizeof(host_addr); in bt_gethostent()
/dragonfly/libexec/bootpd/tools/bootptest/
H A Dbootptest.c338 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length); in main()
/dragonfly/sbin/ping/
H A Dping.c495 if ((unsigned)hp->h_length > sizeof(sock_in.sin_addr) || in main()
496 hp->h_length < 0) in main()
521 if ((unsigned)hp->h_length > sizeof(to->sin_addr)) in main()

12