/dragonfly/contrib/tcp_wrappers/ |
H A D | scaffold.c | 62 + (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 D | workarounds.c | 245 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 D | getrpcport.c | 66 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 D | name6.c | 423 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 D | map_v4v6.c | 97 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 D | gethostnamadr.c | 106 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 D | gethostbydns.c | 355 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 D | gethostbyht.c | 131 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 D | get_addrs.c | 50 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length); in get_addrs()
|
H A D | io.c | 67 hp2->h_length == sizeof(his_machine_addr)) in talk()
|
/dragonfly/lib/libdmsg/ |
H A D | subs.c | 124 bcopy(hen->h_addr, &lsin.sin_addr, hen->h_length); in dmsg_connect()
|
/dragonfly/test/stress/stress2/testcases/udp/ |
H A D | udp.c | 82 bcopy(host->h_addr, &sock_in.sin_addr, host->h_length); in test()
|
/dragonfly/contrib/smbfs/lib/smb/ |
H A D | nb_net.c | 84 if (h->h_length != 4) { in nb_resolvehost_in()
|
/dragonfly/include/ |
H A D | netdb.h | 109 int h_length; /* length of address */ member
|
/dragonfly/sbin/rconfig/ |
H A D | client.c | 88 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doClient()
|
H A D | server.c | 71 bcopy(hp->h_addr_list[0], &sain.sin_addr, hp->h_length); in doServer()
|
/dragonfly/sbin/ifconfig/ |
H A D | af_inet.c | 159 MIN((size_t)hp->h_length, sizeof(sin->sin_addr))); in in_getaddr()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | wpa_ctrl.c | 414 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 D | nos-tun.c | 102 bcopy(hp->h_addr, (caddr_t)&my_sin->sin_addr, hp->h_length); in Set_address()
|
/dragonfly/games/hunt/hunt/ |
H A D | list.c | 243 memcpy(&sin.sin_addr, he->h_addr, he->h_length); in probe_drivers()
|
/dragonfly/usr.sbin/ppp/ |
H A D | defs.c | 160 memcpy(&ipaddr, hp->h_addr, hp->h_length); in GetIpAddr()
|
/dragonfly/test/stress/webstress/ |
H A D | webstress.c | 278 bcopy(hen->h_addr, &node->url_sin.sin_addr, hen->h_length); in add_url()
|
/dragonfly/lib/libbluetooth/ |
H A D | bluetooth.c | 129 host.h_length = sizeof(host_addr); in bt_gethostent()
|
/dragonfly/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 338 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length); in main()
|
/dragonfly/sbin/ping/ |
H A D | ping.c | 495 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()
|