Searched refs:hostent (Results 1 - 25 of 185) sorted by relevance

12345678

/freebsd-11-stable/contrib/tcp_wrappers/
H A Dscaffold.h12 extern struct hostent *find_inet_addr(char *host);
H A Dscaffold.c44 /* dup_hostent - create hostent in one memory block */
46 static struct hostent *dup_hostent(hp)
47 struct hostent *hp;
50 struct hostent host;
118 struct hostent *find_inet_addr(host)
122 struct hostent *hp;
123 static struct hostent h;
173 struct hostent *hp;
/freebsd-11-stable/lib/libcasper/services/cap_dns/
H A Dcap_dns.h38 struct hostent;
40 struct hostent *cap_gethostbyname(cap_channel_t *chan, const char *name);
41 struct hostent *cap_gethostbyname2(cap_channel_t *chan, const char *name,
43 struct hostent *cap_gethostbyaddr(cap_channel_t *chan, const void *addr,
/freebsd-11-stable/include/
H A Dnetdb.h104 struct hostent { struct
232 struct hostent *gethostbyaddr(const void *, socklen_t, int);
233 struct hostent *gethostbyname(const char *);
235 struct hostent *gethostent(void);
259 void freehostent(struct hostent *);
260 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *,
261 char *, size_t, struct hostent **, int *);
262 int gethostbyname_r(const char *, struct hostent *, char *, size_t,
263 struct hostent **, int *);
264 struct hostent *gethostbyname
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetipnodebyaddr.c40 * to a malloced struct hostent or NULL.
43 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
46 struct hostent *tmp;
H A Dgetipnodebyname.c44 * to a malloced struct hostent or NULL.
47 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
50 struct hostent *tmp;
H A Dhostent_find_fqdn.c43 hostent_find_fqdn (const struct hostent *he)
H A Dfreehostent.c39 * free a malloced hostent
43 freehostent (struct hostent *h)
H A Dcopyhostent.c42 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
43 copyhostent (const struct hostent *h)
45 struct hostent *res;
H A Droken_gethostby.c50 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-11-stable/contrib/sendmail/libmilter/
H A Dsm_gethost.c33 static struct hostent *sm_getipnodebyname __P((const char *, int, int, int *));
45 static struct hostent *
52 struct hostent *h;
95 struct hostent *h;
108 struct hostent *
113 struct hostent *h = NULL;
116 static struct hostent hp;
118 extern struct hostent *_switch_gethostbyname_r();
122 extern struct hostent *__switch_gethostbyname();
/freebsd-11-stable/lib/libc/net/
H A Dgethostnamadr.c51 static int gethostbyname_internal(const char *, int, struct hostent *, char *,
52 size_t, struct hostent **, int *, res_state);
66 NETDB_THREAD_ALLOC(hostent)
95 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf,
263 struct hostent *ht;
265 struct hostent new_ht;
283 ht = va_arg(ap, struct hostent *);
285 desired_size = _ALIGNBYTES + sizeof(struct hostent) + sizeof(char *);
315 memcpy(&new_ht, ht, sizeof(struct hostent));
[all...]
H A Dnetdb_private.h104 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 *);
143 struct hostent *__dns_getanswer(const char *, int, const char *, int);
H A Dgethostbynis.c52 _gethostbynis(const char *name, char *map, int af, struct hostent *he,
165 _gethostbynisname_r(const char *name, int af, struct hostent *he,
183 struct hostent *he, struct hostent_data *hed)
211 struct hostent *hptr, he;
217 hptr = va_arg(ap, struct hostent *);
223 *((struct hostent **)rval) = NULL;
242 *((struct hostent **)rval) = hptr;
245 *((struct hostent **)rval) = NULL;
260 struct hostent *hptr, he;
267 hptr = va_arg(ap, struct hostent *);
[all...]
H A Dgethostbyht.c91 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 Dname6.c191 static struct hostent *_hpcopy(struct hostent *, int *);
192 static struct hostent *_hpaddr(int, const char *, void *, int *);
194 static struct hostent *_hpmerge(struct hostent *, struct hostent *, int *);
195 static struct hostent *_hpmapv6(struct hostent *, int *);
197 static struct hostent *_hpsort(struct hostent *, res_stat
[all...]
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgethostby_test.c62 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-11-stable/contrib/ntp/libntp/
H A Dnumtohost.c25 struct hostent *hp;
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dconnecttcp.c19 struct hostent *host;
/freebsd-11-stable/usr.bin/talk/
H A Dget_addrs.c49 struct hostent *hp;
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_uri.h106 struct hostent *hostent; member in struct:apr_uri_t
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-tcp.c63 struct hostent *hostent; local
89 hostent = gethostbyname (hostname);
90 if (!hostent)
107 memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr,
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Db_sock.c112 struct hostent *ent;
119 static void ghbn_free(struct hostent *a);
120 static struct hostent *ghbn_dup(struct hostent *a);
127 struct hostent *he = NULL;
130 struct hostent hostent; local
156 memset(&hostent, 0x00, sizeof(hostent));
158 gethostbyname_r(str, &hostent, bu
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dget_addrs.c51 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-11-stable/contrib/ntp/include/
H A Dntp_machine.h137 struct hostent { struct
156 struct hostent *gethostbyname (char * netnum);
157 struct hostent *gethostbyaddr (char * netnum, int size, int addr_type);

Completed in 295 milliseconds

12345678