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

12345678

/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dscaffold.h12 extern struct hostent *find_inet_addr();
H A Dscaffold.c47 /* dup_hostent - create hostent in one memory block */
49 static struct hostent *dup_hostent(hp)
50 struct hostent *hp;
53 struct hostent host;
121 struct hostent *find_inet_addr(host)
125 struct hostent *hp;
126 static struct hostent h;
176 struct hostent *hp;
/freebsd-9.3-release/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-9.3-release/contrib/bind9/lib/lwres/
H A Dgethost.c26 * They use a struct hostent which is usually defined in <namedb.h>.
29 * struct hostent {
72 * Successful calls of the functions return a struct hostent for the name
80 * *error. resbuf is a pointer to a struct hostent which is initialised
83 * h_addr_list elements of the struct hostent returned in resbuf.
85 * pointer to the struct hostent it created.
92 * a struct hostent which is initialised by a successful call to
95 * struct hostent returned in resbuf. Successful calls to
97 * struct hostent it created.
128 * lwres_gethostbyaddr_r() return resbuf, a pointer to the struct hostent
[all...]
/freebsd-9.3-release/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-9.3-release/crypto/heimdal/lib/roken/
H A Dgetipnodebyaddr.c43 * to a malloced struct hostent or NULL.
46 struct hostent * ROKEN_LIB_FUNCTION
49 struct hostent *tmp;
H A Dgetipnodebyname.c47 * to a malloced struct hostent or NULL.
50 struct hostent * ROKEN_LIB_FUNCTION
53 struct hostent *tmp;
H A Dhostent_find_fqdn.c46 hostent_find_fqdn (const struct hostent *he)
H A Dcopyhostent.c45 struct hostent * ROKEN_LIB_FUNCTION
46 copyhostent (const struct hostent *h)
48 struct hostent *res;
H A Dfreehostent.c42 * free a malloced hostent
46 freehostent (struct hostent *h)
H A Droken_gethostby.c53 struct hostent *he = gethostbyname(address);
136 static struct hostent*
185 /* make a hostent to return */
187 static struct hostent he;
213 struct hostent*
216 struct hostent *he;
223 struct hostent* ROKEN_LIB_FUNCTION
228 struct hostent *he;
255 struct hostent *he;
/freebsd-9.3-release/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-9.3-release/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);
136 struct hostent *_gethostbynisaddr(const void *, socklen_t, int);
137 struct hostent *_gethostbynisname(const char *, int);
139 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)
202 struct hostent *
206 struct hostent *he;
229 struct hostent *
233 struct hostent *he;
265 struct hostent *hptr, he;
271 hptr = va_arg(ap, struct hostent *);
277 *((struct hostent **)rva
[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.c195 static struct hostent *_hpcopy(struct hostent *, int *);
196 static struct hostent *_hpaddr(int, const char *, void *, int *);
198 static struct hostent *_hpmerge(struct hostent *, struct hostent *, int *);
199 static struct hostent *_hpmapv6(struct hostent *, int *);
201 static struct hostent *_hpsort(struct hostent *, res_stat
[all...]
/freebsd-9.3-release/lib/bind/lwres/lwres/
H A Dnetdb.h422 struct hostent *lwres_gethostbyaddr(const char *, int, int);
423 struct hostent *lwres_gethostbyname(const char *);
424 struct hostent *lwres_gethostbyname2(const char *, int);
425 struct hostent *lwres_gethostent(void);
426 struct hostent *lwres_getipnodebyname(const char *, int, int, int *);
427 struct hostent *lwres_getipnodebyaddr(const void *, size_t, int, int *);
431 void lwres_freehostent(struct hostent *);
461 struct hostent *lwres_gethostbyaddr_r(const char *, int, int, struct hostent *,
463 struct hostent *lwres_gethostbyname_
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/ipfilter/lib/
H A Dgethost.c17 struct hostent *h;
/freebsd-9.3-release/usr.bin/talk/
H A Dget_addrs.c49 struct hostent *hp;
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dnumtohost.c25 struct hostent *hp;
/freebsd-9.3-release/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-9.3-release/crypto/heimdal/lib/krb5/
H A Dget_addrs.c53 struct hostent *hostent; local
60 hostent = roken_gethostbyname (hostname);
61 if (hostent == NULL) {
73 res->val[0].addr_type = hostent->h_addrtype;
77 hostent->h_addr,
78 hostent->h_length);
/freebsd-9.3-release/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 289 milliseconds

12345678