/freebsd-10-stable/lib/libc/rpc/ |
H A D | getrpcport.c | 69 if (hp->h_length > addr.sin_len) 70 hp->h_length = addr.sin_len; 71 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
|
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | copyhostent.c | 55 res->h_length = h->h_length; 90 res->h_addr_list[i] = malloc (h->h_length); 95 memcpy (res->h_addr_list[i], h->h_addr_list[i], h->h_length);
|
H A D | roken_gethostby.c | 198 he.h_length = 4; 266 he = gethostbyaddr(he->h_addr, he->h_length, AF_INET);
|
/freebsd-10-stable/usr.bin/talk/ |
H A D | get_addrs.c | 57 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length);
|
H A D | io.c | 82 hp2->h_length == sizeof(his_machine_addr))
|
/freebsd-10-stable/lib/libc/net/ |
H A D | map_v4v6.c | 91 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) 94 hp->h_length = IN6ADDRSZ;
|
H A D | name6.c | 429 addrsize = ALIGN(hp->h_length); 462 nhp->h_length = hp->h_length; 468 memcpy(cp, *pp, hp->h_length); 489 hp->h_length = ADDRLEN(af); 533 if (hp1->h_length != hp2->h_length) { 535 hp->h_length = sizeof(struct in6_addr); 538 hp->h_length = hp1->h_length; [all...] |
H A D | gethostbydns.c | 361 if (n != he->h_length) { 453 he->h_length = NS_IN6ADDRSZ; 458 he->h_length = NS_INADDRSZ; 501 he.h_length = NS_INADDRSZ; 505 he.h_length = NS_IN6ADDRSZ; 696 he.h_length = len; 703 he.h_length = NS_IN6ADDRSZ;
|
H A D | gethostnamadr.c | 114 len += he->h_length; 129 n = hptr->h_length = he->h_length; 312 desired_size += addr_size * _ALIGN(ht->h_length); 357 size = _ALIGN(new_ht.h_length); 467 he.h_length = NS_INADDRSZ; 470 he.h_length = NS_IN6ADDRSZ;
|
H A D | gethostbyht.c | 135 he->h_length = len; 258 he.h_length = IN6ADDRSZ; 322 he.h_length = IN6ADDRSZ;
|
/freebsd-10-stable/tools/regression/lib/libc/nss/ |
H A D | test-gethostby.c | 164 dest->h_length = src->h_length; 197 (char *)malloc(src->h_length); 200 src->h_addr_list[offset], src->h_length); 243 (ht1->h_length != ht2->h_length) || 302 if (memcmp(*c1, *ct, ht1->h_length) == 0) { 319 if (memcmp(*c2, *ct, ht1->h_length) == 0) { 407 rv = check_addrinfo_for_addr(ai, *cp, he->h_length, 431 ht->h_name, ht->h_addrtype, ht->h_length); [all...] |
/freebsd-10-stable/contrib/tcp_wrappers/ |
H A D | scaffold.c | 61 + (hp->h_length + sizeof(char *)) * count)) == 0) { 66 hb->host.h_length = hp->h_length; 72 hb->host.h_addr_list[count] = data + hp->h_length * count; 73 memcpy(hb->host.h_addr_list[count], addr, hp->h_length); 131 h.h_length = sizeof(addr);
|
H A D | workarounds.c | 246 memcpy(*n_addr_list++, (char *) &addr, hp->h_length); 252 memcpy(*n_addr_list++, *o_addr_list, hp->h_length);
|
/freebsd-10-stable/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 157 dest->h_length = src->h_length; 183 dest->h_addr_list[offset] = malloc(src->h_length); 186 src->h_addr_list[offset], src->h_length); 229 ht1->h_length != ht2->h_length || 286 if (memcmp(*c1, *ct, ht1->h_length) == 0) { 302 if (memcmp(*c2, *ct, ht1->h_length) == 0) { 388 rv = check_addrinfo_for_addr(ai, *cp, he->h_length, 411 ht->h_name, ht->h_addrtype, ht->h_length); [all...] |
/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | gethost.c | 45 (h->h_length == sizeof(addr))) {
|
/freebsd-10-stable/tools/regression/lib/libc/resolv/ |
H A D | resolv.c | 152 memcpy(buf, hp->h_addr, hp->h_length); 153 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype); 177 memcpy(buf, hp->h_addr, hp->h_length); 178 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype,
|
/freebsd-10-stable/usr.sbin/timed/timedc/ |
H A D | cmds.c | 199 bcopy(hp->h_addr, &server.sin_addr.s_addr, hp->h_length); 230 hp->h_length); 297 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length); 396 bcopy(hp->h_addr, &sin.sin_addr.s_addr, hp->h_length); 445 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 57 const int af = h->h_length == NS_INADDRSZ ? AF_INET : AF_INET6; 60 h->h_name, h->h_length, h->h_addrtype);
|
/freebsd-10-stable/contrib/amd/amd/ |
H A D | ops_lustre.c | 117 if (hp->h_length != sizeof(addr.s_addr)) { 119 sizeof(addr), hp->h_length, ptr);
|
/freebsd-10-stable/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 135 memcpy(buf, hp->h_addr, hp->h_length); 136 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype); 158 memcpy(buf, hp->h_addr, hp->h_length); 159 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype,
|
/freebsd-10-stable/contrib/smbfs/lib/smb/ |
H A D | nb_net.c | 85 if (h->h_length != 4) {
|
/freebsd-10-stable/contrib/ntp/include/ |
H A D | ntp_machine.h | 141 int h_length; /* length of address */ member in struct:hostent
|
/freebsd-10-stable/crypto/openssl/crypto/bio/ |
H A D | b_sock.c | 322 ret->h_length = a->h_length; 325 if ((ret->h_addr_list[i] = OPENSSL_malloc(a->h_length)) == NULL) 327 memcpy(ret->h_addr_list[i], a->h_addr_list[i], a->h_length);
|
/freebsd-10-stable/include/ |
H A D | netdb.h | 98 int h_length; /* length of address */ member in struct:hostent
|
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | machines.c | 47 host1->h_length = 4; 61 host1->h_length = 4;
|