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

12345678

/freebsd-10-stable/contrib/tcp_wrappers/
H A Dscaffold.h12 extern struct hostent *find_inet_addr();
H A Dscaffold.c43 /* 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 Dsm_gethost.c33 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 Dnetdb.h94 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 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-10-stable/tools/regression/lib/libc/nss/
H A Dtest-gethostby.c66 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 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 *);
H A Dgethostnamadr.c58 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 Dgethostbynis.c52 _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 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.c192 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 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-10-stable/contrib/tcpdump/missing/
H A Daddrinfo.h83 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 Dconnecttcp.c19 struct hostent *host;
/freebsd-10-stable/usr.bin/talk/
H A Dget_addrs.c49 struct hostent *hp;
/freebsd-10-stable/contrib/ntp/libntp/
H A Dnumtohost.c25 struct hostent *hp;
/freebsd-10-stable/contrib/apr-util/include/
H A Dapr_uri.h106 struct hostent *hostent; member in struct:apr_uri_t
/freebsd-10-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-10-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-10-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 130 milliseconds

12345678