/freebsd-10-stable/contrib/tcp_wrappers/ |
H A D | scaffold.h | 12 extern struct hostent *find_inet_addr();
|
H A D | scaffold.c | 43 /* dup_hostent - create hostent in one memory block */ 45 static struct hostent *dup_hostent(hp) 46 struct hostent *hp; 49 struct hostent host; 117 struct hostent *find_inet_addr(host) 121 struct hostent *hp; 122 static struct hostent h; 172 struct hostent *hp;
|
/freebsd-10-stable/contrib/sendmail/libmilter/ |
H A D | sm_gethost.c | 33 static struct hostent *sm_getipnodebyname __P((const char *, int, int, int *)); 45 static struct hostent * 53 struct hostent *h; 82 struct hostent *h; 95 struct hostent * 100 struct hostent *h = NULL; 103 static struct hostent hp; 105 extern struct hostent *_switch_gethostbyname_r(); 109 extern struct hostent *__switch_gethostbyname();
|
/freebsd-10-stable/include/ |
H A D | netdb.h | 94 struct hostent { struct 220 struct hostent *gethostbyaddr(const void *, socklen_t, int); 221 struct hostent *gethostbyname(const char *); 223 struct hostent *gethostent(void); 247 void freehostent(struct hostent *); 248 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, 249 char *, size_t, struct hostent **, int *); 250 int gethostbyname_r(const char *, struct hostent *, char *, size_t, 251 struct hostent **, int *); 252 struct hostent *gethostbyname [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | getipnodebyaddr.c | 40 * to a malloced struct hostent or NULL. 43 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 46 struct hostent *tmp;
|
H A D | getipnodebyname.c | 44 * to a malloced struct hostent or NULL. 47 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 50 struct hostent *tmp;
|
H A D | hostent_find_fqdn.c | 43 hostent_find_fqdn (const struct hostent *he)
|
H A D | freehostent.c | 39 * free a malloced hostent 43 freehostent (struct hostent *h)
|
H A D | copyhostent.c | 42 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 43 copyhostent (const struct hostent *h) 45 struct hostent *res;
|
H A D | roken_gethostby.c | 50 struct hostent *he = gethostbyname(address); 135 static struct hostent* 188 /* make a hostent to return */ 190 static struct hostent he; 216 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL 219 struct hostent *he; 226 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL 231 struct hostent *he; 258 struct hostent *he;
|
/freebsd-10-stable/tools/regression/lib/libc/nss/ |
H A D | test-gethostby.c | 66 DECLARE_TEST_DATA(hostent) 67 DECLARE_TEST_FILE_SNAPSHOT(hostent) 68 DECLARE_1PASS_TEST(hostent) 69 DECLARE_2PASS_TEST(hostent) 73 static struct hostent *__gethostbyname2(const char *, int); 74 static struct hostent *__gethostbyaddr(const void *, socklen_t, int); 75 static void __freehostent(struct hostent *); 77 static void clone_hostent(struct hostent *, struct hostent const *); 78 static int compare_hostent(struct hostent *, struc [all...] |
/freebsd-10-stable/lib/libc/net/ |
H A D | netdb_private.h | 104 struct hostent host; 119 struct hostent *__hostent_init(void); 125 int __copy_hostent(struct hostent *, struct hostent *, char *, size_t); 137 void _map_v4v6_hostent(struct hostent *, char **, char *);
|
H A D | gethostnamadr.c | 58 static int gethostbyname_internal(const char *, int, struct hostent *, char *, 59 size_t, struct hostent **, int *, res_state); 73 NETDB_THREAD_ALLOC(hostent) 102 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, 270 struct hostent *ht; 272 struct hostent new_ht; 290 ht = va_arg(ap, struct hostent *); 292 desired_size = _ALIGNBYTES + sizeof(struct hostent) + sizeof(char *); 322 memcpy(&new_ht, ht, sizeof(struct hostent)); [all...] |
H A D | gethostbynis.c | 52 _gethostbynis(const char *name, char *map, int af, struct hostent *he, 164 _gethostbynisname_r(const char *name, int af, struct hostent *he, 182 struct hostent *he, struct hostent_data *hed) 210 struct hostent *hptr, he; 216 hptr = va_arg(ap, struct hostent *); 222 *((struct hostent **)rval) = NULL; 241 *((struct hostent **)rval) = hptr; 244 *((struct hostent **)rval) = NULL; 259 struct hostent *hptr, he; 266 hptr = va_arg(ap, struct hostent *); [all...] |
H A D | gethostbyht.c | 91 gethostent_p(struct hostent *he, struct hostent_data *hed, int mapped, 176 gethostent_r(struct hostent *hptr, char *buffer, size_t buflen, 177 struct hostent **result, int *h_errnop) 180 struct hostent he; 205 struct hostent * 209 struct hostent *rval; 228 struct hostent *hptr, he; 236 hptr = va_arg(ap, struct hostent *); 242 *((struct hostent **)rval) = NULL; 280 *((struct hostent **)rva [all...] |
H A D | name6.c | 192 static struct hostent *_hpcopy(struct hostent *, int *); 193 static struct hostent *_hpaddr(int, const char *, void *, int *); 195 static struct hostent *_hpmerge(struct hostent *, struct hostent *, int *); 196 static struct hostent *_hpmapv6(struct hostent *, int *); 198 static struct hostent *_hpsort(struct hostent *, res_stat [all...] |
/freebsd-10-stable/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 62 DECLARE_TEST_DATA(hostent) 63 DECLARE_TEST_FILE_SNAPSHOT(hostent) 64 DECLARE_1PASS_TEST(hostent) 65 DECLARE_2PASS_TEST(hostent) 69 static struct hostent *__gethostbyname2(const char *, int); 70 static struct hostent *__gethostbyaddr(const void *, socklen_t, int); 71 static void __freehostent(struct hostent *); 73 static void clone_hostent(struct hostent *, struct hostent const *); 74 static int compare_hostent(struct hostent *, struc [all...] |
/freebsd-10-stable/contrib/tcpdump/missing/ |
H A D | addrinfo.h | 83 extern void freehostent (struct hostent *); 86 extern struct hostent *getipnodebyaddr (const void *, size_t, int, int *); 87 extern struct hostent *getipnodebyname (const char *, int, int, int *);
|
/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | connecttcp.c | 19 struct hostent *host;
|
/freebsd-10-stable/usr.bin/talk/ |
H A D | get_addrs.c | 49 struct hostent *hp;
|
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | numtohost.c | 25 struct hostent *hp;
|
/freebsd-10-stable/contrib/apr-util/include/ |
H A D | apr_uri.h | 106 struct hostent *hostent; member in struct:apr_uri_t
|
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | ser-tcp.c | 63 struct hostent *hostent; local 89 hostent = gethostbyname (hostname); 90 if (!hostent) 107 memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr,
|
/freebsd-10-stable/crypto/heimdal/lib/krb5/ |
H A D | get_addrs.c | 51 struct hostent *hostent; local 58 hostent = roken_gethostbyname (hostname); 59 if (hostent == NULL) { 71 res->val[0].addr_type = hostent->h_addrtype; 75 hostent->h_addr, 76 hostent->h_length);
|
/freebsd-10-stable/contrib/ntp/include/ |
H A D | ntp_machine.h | 137 struct hostent { struct 156 struct hostent *gethostbyname (char * netnum); 157 struct hostent *gethostbyaddr (char * netnum, int size, int addr_type);
|