/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/include/netinet/ |
H A D | in.h | 8 int h_length; /* length of address */ member in struct:hostent
|
/macosx-10.9.5/postfix-252/postfix/src/local/ |
H A D | biff_notify.c | 72 if ((int) hp->h_length > (int) sizeof(sin.sin_addr)) { 73 msg_warn("bad address size %d for localhost", hp->h_length); 78 memcpy((char *) &sin.sin_addr, hp->h_addr_list[0], hp->h_length);
|
/macosx-10.9.5/Heimdal-323.92.1/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 | 199 he.h_length = 4; 267 he = gethostbyaddr(he->h_addr, he->h_length, AF_INET);
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | find_inet.c | 73 if (hp->h_length != sizeof(addr)) 74 msg_fatal("unexpected address length %d", hp->h_length); 75 memcpy((char *) &addr, hp->h_addr, hp->h_length);
|
/macosx-10.9.5/Libinfo-449.1.3/rpc.subproj/ |
H A D | getrpcport.c | 83 bcopy(hp->h_addr, (char *) &addr.sin_addr, hp->h_length);
|
H A D | clnt_generic.c | 110 bcopy(h->h_addr, (char*)&sin.sin_addr, h->h_length);
|
H A D | clnt_simple.c | 123 bcopy(hp->h_addr, (char *)&server_addr.sin_addr, hp->h_length);
|
/macosx-10.9.5/remote_cmds-41.90.1/talk.tproj/ |
H A D | get_addrs.c | 63 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length);
|
H A D | io.c | 87 hp2->h_length == sizeof(his_machine_addr))
|
/macosx-10.9.5/Libinfo-449.1.3/gen.subproj/ |
H A D | map_v4v6.c | 109 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) 112 hp->h_length = IN6ADDRSZ;
|
/macosx-10.9.5/autofs-234/automountlib/ |
H A D | selfcheck.c | 127 hostinfo->h_length) == 0) { 136 hostinfo->h_length) == 0) {
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ |
H A D | netdb.h | 60 /* $Copyright:
*
* Copyright 1998-2000 by the Massachusetts Institute of Technology.
*
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the software
* without specific, written prior permission. Furthermore if you modify
* this software you must label your software as modified software and not
* distribute it in such a fashion that it might be confused with the
* original MIT software. M.I.T. makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Individual source code files are copyright MIT, Cygnus Support,
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.
*
* Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
* and Zephyr are trademarks of the Massachusetts Institute of Technology
* (MIT). No commercial use of these trademarks may be made without prior
* written permission of MIT.
*
* "Commercial use" means use of a name in a product or other for-profit
* manner. It does NOT prevent a commercial firm from referring to the MIT
* trademarks in order to convey information (although in doing so,
* recognition of their trademark status should be given).
* $
*/
/* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/netdb.h,v 1.4 2005/01/10 19:10:48 snsimon Exp $ */
/* MIT Sockets Library
* netdb.h
* macdev@mit.edu
*/
#ifndef _NETDB_H
#define _NETDB_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
struct hostent
{
char *h_name; /* official (cannonical) name of host */
char **h_aliases; /* pointer to array of pointers of alias names */
int h_addrtype; /* host address type: AF_INET or AF_INET6 */
int h_length; /* length of address: 4 or 16 */
char **h_addr_list; /* pointer to array of pointers wi (…) 1 /* $Copyright member in struct:hostent
|
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/ |
H A D | gethost.c | 33 * int h_length; // length of address 51 * \li h_length: 308 len += he->h_length; 324 n = hptr->h_length = he->h_length;
|
H A D | getipnode.c | 32 * int h_length; // length of address 51 * \li h_length: 265 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ; 977 he->h_length = (af == AF_INET) ? INADDRSZ : IN6ADDRSZ; 1021 he->h_length = INADDRSZ; 1024 he->h_length = IN6ADDRSZ; 1056 he->h_addr_list[0] = malloc(he->h_length); 1059 memcpy(he->h_addr_list[0], src, he->h_length); 1098 he->h_length = INADDRSZ; 1101 he->h_length [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | gxbn_test.c | 38 printf("\tlength = %d\n", he->h_length);
|
H A D | gxba_test.c | 38 printf("\tlength = %d\n", he->h_length);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | dump.c | 87 dumpAddr(hp->h_addr_list[0], hp->h_length, p, size);
|
/macosx-10.9.5/remote_cmds-41.90.1/rlogin.tproj/ |
H A D | kcmd.c | 154 bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length); 156 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); 185 hp->h_length);
|
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timedc.tproj/ |
H A D | cmds.c | 207 bcopy(hp->h_addr, &server.sin_addr.s_addr, hp->h_length); 238 hp->h_length); 308 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length); 409 bcopy(hp->h_addr, &sin.sin_addr.s_addr, hp->h_length); 460 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length);
|
/macosx-10.9.5/Libinfo-449.1.3/lookup.subproj/ |
H A D | mdns_module.c | 393 h.host.h_length = 4; 398 h.host.h_length = 16; 418 out = (si_item_t *)LI_ils_create("L4488s*44a", (unsigned long)si, CATEGORY_HOST_IPV4, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length, h.host.h_addr_list); 421 out = (si_item_t *)LI_ils_create("L4488s*44c", (unsigned long)si, CATEGORY_HOST_IPV6, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length, h.host.h_addr_list); 456 h.host.h_length = 4; 462 h.host.h_length = 16; 481 status = _mdns_hostent_append_addr(&h, addr, h.host.h_length); 489 out = (si_item_t *)LI_ils_create("L4488s*44a", (unsigned long)si, cat, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length, h.host.h_addr_list); 532 h4.host.h_length = 4; 534 h6.host.h_length [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/os/ |
H A D | os_addrinfo.c | 122 hostaddr->h_addr, (size_t)hostaddr->h_length);
|
/macosx-10.9.5/apache-786.1/httpd/test/ |
H A D | test_limits.c | 128 bcopy(he->h_addr, (char *)&sin.sin_addr, he->h_length);
|
/macosx-10.9.5/procmail-14/procmail/src/ |
H A D | comsat.c | 89 tmemmove(&newaddr.sin_addr,host->h_0addr_list,host->h_length);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | resolver.c | 279 sz = hp->h_length * naddrs; 285 memcpy(buf, hp->h_addr_list[i], hp->h_length); 286 buf += hp->h_length; 426 hp->h_length * naddrs; 443 newhp->h_length = hp->h_length; 466 memcpy(p, hp->h_addr_list[i], hp->h_length); 467 p += hp->h_length;
|