/src/lib/libc/rpc/ |
getrpcport.c | 79 if (hp->h_length > addr.sin_len) 80 hp->h_length = addr.sin_len; 81 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
|
/src/lib/libc/net/ |
sethostent.c | 182 hent.h_length = 0; /* XXX: gcc */ 186 info->hp->h_length = 0; 203 hent.h_length = hp->h_length; 219 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, 236 hp->h_length = hent.h_length; 242 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, 274 info->hp->h_length = va_arg(ap, int); 285 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) [all...] |
gethnamaddr.c | 421 if (n != hent->h_length) { 596 hp->h_length = (int)size; 793 if (hent->h_length != 0 && hent->h_length != len) 812 hent->h_length = len; 817 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, 868 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) 871 hp->h_length = NS_IN6ADDRSZ; 951 info->hp->h_length = NS_INADDRSZ; 955 info->hp->h_length = NS_IN6ADDRSZ [all...] |
/src/distrib/utils/libhack/ |
gethost.c | 193 if (hent->h_length != 0 && hent->h_length != len) 212 hent->h_length = len; 217 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf,
|
/src/lib/libcompat/4.3/ |
rexec.c | 97 if (hp->h_length > (int) sizeof(rsin.sin_addr)) 100 len = hp->h_length;
|
/src/tests/lib/libc/net/ |
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);
|
/src/usr.sbin/mrinfo/ |
mrinfo.c | 370 hp->h_length = sizeof(target_addr); 374 hp->h_addr_list[0] = malloc(hp->h_length); 377 memcpy(hp->h_addr_list[0], &target_addr, hp->h_length); 382 if (hp == NULL || hp->h_length != sizeof(target_addr)) {
|
/src/usr.sbin/yppoll/ |
yppoll.c | 183 (size_t)h->h_length);
|
/src/include/ |
netdb.h | 152 int h_length; /*%< length of address */ member in struct:hostent
|
/src/lib/libquota/ |
quota_nfs.c | 111 memmove(&server_addr.sin_addr, hp->h_addr, hp->h_length);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_platform_limits_openbsd.h | 300 int h_length; member in struct:__sanitizer::__sanitizer_hostent
|
sanitizer_platform_limits_solaris.h | 323 int h_length; member in struct:__sanitizer::__sanitizer_hostent
|
sanitizer_platform_limits_freebsd.h | 342 int h_length; member in struct:__sanitizer::__sanitizer_hostent
|
sanitizer_platform_limits_openbsd.cc | 169 CHECK_SIZE_AND_OFFSET(hostent, h_length);
|
sanitizer_platform_limits_solaris.cc | 224 CHECK_SIZE_AND_OFFSET(hostent, h_length);
|
sanitizer_platform_limits_freebsd.cc | 394 CHECK_SIZE_AND_OFFSET(hostent, h_length);
|
sanitizer_platform_limits_posix.h | 736 int h_length; member in struct:__sanitizer::__sanitizer_hostent
|
/src/lib/libbluetooth/ |
bluetooth.c | 132 host.h_length = sizeof(host_addr);
|
/src/usr.sbin/ypserv/common/ |
yplib_host.c | 88 h->h_length);
|
/src/usr.sbin/bootp/bootptest/ |
bootptest.c | 334 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length);
|
/src/libexec/mail.local/ |
mail.local.c | 344 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);
|
/src/usr.sbin/mrouted/ |
cfparse.y | 359 hp->h_length);
|
/src/usr.sbin/rpc.bootparamd/ |
bootparamd.c | 101 memmove(&route_addr.s_addr, he->h_addr, he->h_length);
|
/src/usr.sbin/altq/libaltq/ |
parser.c | 375 h->h_addrtype != AF_INET || h->h_length != 4) 377 bcopy(h->h_addr, &tmp, (size_t)h->h_length);
|
/src/sbin/route/ |
route.c | 655 hp->h_length); 971 memmove(&su->sin.sin_addr, hp->h_addr, hp->h_length);
|