Home
last modified time | relevance | path

Searched refs:hostent (Results 1 – 25 of 4129) sorted by relevance

12345678910>>...166

/dports/dns/ares/ares-1.1.1/
H A Dares__get_hostent.c35 struct hostent *hostent = NULL; in ares__get_hostent() local
88 hostent = malloc(sizeof(struct hostent)); in ares__get_hostent()
89 if (!hostent) in ares__get_hostent()
94 if (!hostent->h_name) in ares__get_hostent()
103 if (!hostent->h_aliases) in ares__get_hostent()
137 *host = hostent; in ares__get_hostent()
146 if (hostent) in ares__get_hostent()
149 if (hostent->h_aliases) in ares__get_hostent()
154 free(hostent->h_aliases); in ares__get_hostent()
155 if (hostent->h_addr_list) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c36 struct hostent *hostent; in ares_parse_ptr_reply() local
118 hostent = malloc(sizeof(struct hostent)); in ares_parse_ptr_reply()
119 if (hostent) in ares_parse_ptr_reply()
122 if (hostent->h_addr_list) in ares_parse_ptr_reply()
125 if (hostent->h_addr_list[0]) in ares_parse_ptr_reply()
128 if (hostent->h_aliases) in ares_parse_ptr_reply()
131 hostent->h_name = hostname; in ares_parse_ptr_reply()
137 *host = hostent; in ares_parse_ptr_reply()
141 free(hostent->h_addr_list[0]); in ares_parse_ptr_reply()
143 free(hostent->h_addr_list); in ares_parse_ptr_reply()
[all …]
/dports/dns/py-pycares/pycares-3.1.1/deps/c-ares/src/
H A Dares__get_hostent.c41 struct hostent *hostent = NULL; in ares__get_hostent() local
167 hostent = ares_malloc(sizeof(struct hostent)); in ares__get_hostent()
168 if (!hostent) in ares__get_hostent()
172 hostent->h_aliases = NULL; in ares__get_hostent()
177 if (!hostent->h_name) in ares__get_hostent()
182 if (!hostent->h_addr_list) in ares__get_hostent()
195 if (!hostent->h_aliases) in ares__get_hostent()
227 *host = hostent; in ares__get_hostent()
239 if (hostent) in ares__get_hostent()
241 if (hostent->h_name) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c56 struct hostent *hostent; in ares_parse_ptr_reply() local
194 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_ptr_reply()
195 if (hostent) in ares_parse_ptr_reply()
198 if (hostent->h_addr_list) in ares_parse_ptr_reply()
201 if (hostent->h_addr_list[0]) in ares_parse_ptr_reply()
204 if (hostent->h_aliases) in ares_parse_ptr_reply()
207 hostent->h_name = hostname; in ares_parse_ptr_reply()
214 hostent->h_addr_list[1] = NULL; in ares_parse_ptr_reply()
215 *host = hostent; in ares_parse_ptr_reply()
222 ares_free(hostent->h_addr_list); in ares_parse_ptr_reply()
[all …]
/dports/dns/c-ares/c-ares-1.17.2/src/lib/
H A Dares__get_hostent.c41 struct hostent *hostent = NULL; in ares__get_hostent() local
166 hostent = ares_malloc(sizeof(struct hostent)); in ares__get_hostent()
167 if (!hostent) in ares__get_hostent()
171 hostent->h_aliases = NULL; in ares__get_hostent()
176 if (!hostent->h_name) in ares__get_hostent()
181 if (!hostent->h_addr_list) in ares__get_hostent()
194 if (!hostent->h_aliases) in ares__get_hostent()
226 *host = hostent; in ares__get_hostent()
238 if (hostent) in ares__get_hostent()
240 if (hostent->h_name) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c45 struct hostent *hostent = NULL; in ares_parse_ptr_reply() local
176 hostent = ares_malloc(sizeof(*hostent)); in ares_parse_ptr_reply()
177 if (!hostent) in ares_parse_ptr_reply()
181 memset(hostent, 0, sizeof(*hostent)); in ares_parse_ptr_reply()
184 if (!hostent->h_addr_list) in ares_parse_ptr_reply()
190 if (!hostent->h_addr_list[0]) in ares_parse_ptr_reply()
197 if (!hostent->h_aliases) in ares_parse_ptr_reply()
201 hostent->h_name = hostname; in ares_parse_ptr_reply()
209 hostent->h_addr_list[1] = NULL; in ares_parse_ptr_reply()
210 *host = hostent; in ares_parse_ptr_reply()
[all …]
H A Dares_parse_aaaa_reply.c55 struct hostent *hostent = NULL; in ares_parse_aaaa_reply() local
76 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_aaaa_reply()
77 if (!hostent) in ares_parse_aaaa_reply()
122 if (!hostent->h_addr_list) in ares_parse_aaaa_reply()
129 hostent->h_addr_list[i] = NULL; in ares_parse_aaaa_reply()
139 hostent->h_name = question_hostname; in ares_parse_aaaa_reply()
142 hostent->h_aliases = aliases; in ares_parse_aaaa_reply()
143 hostent->h_addrtype = AF_INET6; in ares_parse_aaaa_reply()
188 *host = hostent; in ares_parse_aaaa_reply()
192 ares_free_hostent(hostent); in ares_parse_aaaa_reply()
[all …]
H A Dares_parse_a_reply.c53 struct hostent *hostent = NULL; in ares_parse_a_reply() local
74 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_a_reply()
75 if (!hostent) in ares_parse_a_reply()
120 if (!hostent->h_addr_list) in ares_parse_a_reply()
127 hostent->h_addr_list[i] = NULL; in ares_parse_a_reply()
137 hostent->h_name = question_hostname; in ares_parse_a_reply()
140 hostent->h_aliases = aliases; in ares_parse_a_reply()
141 hostent->h_addrtype = AF_INET; in ares_parse_a_reply()
185 *host = hostent; in ares_parse_a_reply()
189 ares_free_hostent(hostent); in ares_parse_a_reply()
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/c-ares-809d5e84/src/lib/
H A Dares__get_hostent.c41 struct hostent *hostent = NULL; in ares__get_hostent() local
166 hostent = ares_malloc(sizeof(struct hostent)); in ares__get_hostent()
167 if (!hostent) in ares__get_hostent()
171 hostent->h_aliases = NULL; in ares__get_hostent()
176 if (!hostent->h_name) in ares__get_hostent()
181 if (!hostent->h_addr_list) in ares__get_hostent()
194 if (!hostent->h_aliases) in ares__get_hostent()
226 *host = hostent; in ares__get_hostent()
238 if (hostent) in ares__get_hostent()
240 if (hostent->h_name) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c45 struct hostent *hostent = NULL;
176 hostent = ares_malloc(sizeof(*hostent));
177 if (!hostent)
181 memset(hostent, 0, sizeof(*hostent));
184 if (!hostent->h_addr_list)
190 if (!hostent->h_addr_list[0])
197 if (!hostent->h_aliases)
201 hostent->h_name = hostname;
209 hostent->h_addr_list[1] = NULL;
210 *host = hostent;
[all …]
H A Dares_parse_a_reply.c53 struct hostent *hostent = NULL;
74 hostent = ares_malloc(sizeof(struct hostent));
75 if (!hostent)
120 if (!hostent->h_addr_list)
127 hostent->h_addr_list[i] = NULL;
137 hostent->h_name = question_hostname;
140 hostent->h_aliases = aliases;
141 hostent->h_addrtype = AF_INET;
185 *host = hostent;
189 ares_free_hostent(hostent);
[all …]
H A Dares_parse_aaaa_reply.c55 struct hostent *hostent = NULL; in ares_parse_aaaa_reply() local
76 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_aaaa_reply()
77 if (!hostent) in ares_parse_aaaa_reply()
122 if (!hostent->h_addr_list) in ares_parse_aaaa_reply()
129 hostent->h_addr_list[i] = NULL; in ares_parse_aaaa_reply()
139 hostent->h_name = question_hostname; in ares_parse_aaaa_reply()
142 hostent->h_aliases = aliases; in ares_parse_aaaa_reply()
143 hostent->h_addrtype = AF_INET6; in ares_parse_aaaa_reply()
188 *host = hostent; in ares_parse_aaaa_reply()
192 ares_free_hostent(hostent); in ares_parse_aaaa_reply()
[all …]
/dports/www/node10/node-v10.24.1/deps/cares/src/
H A Dares__get_hostent.c41 struct hostent *hostent = NULL; in ares__get_hostent() local
167 hostent = ares_malloc(sizeof(struct hostent)); in ares__get_hostent()
168 if (!hostent) in ares__get_hostent()
172 hostent->h_aliases = NULL; in ares__get_hostent()
177 if (!hostent->h_name) in ares__get_hostent()
182 if (!hostent->h_addr_list) in ares__get_hostent()
195 if (!hostent->h_aliases) in ares__get_hostent()
227 *host = hostent; in ares__get_hostent()
239 if (hostent) in ares__get_hostent()
241 if (hostent->h_name) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c51 struct hostent *hostent; in ares_parse_ptr_reply() local
179 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_ptr_reply()
180 if (hostent) in ares_parse_ptr_reply()
183 if (hostent->h_addr_list) in ares_parse_ptr_reply()
186 if (hostent->h_addr_list[0]) in ares_parse_ptr_reply()
189 if (hostent->h_aliases) in ares_parse_ptr_reply()
192 hostent->h_name = hostname; in ares_parse_ptr_reply()
199 hostent->h_addr_list[1] = NULL; in ares_parse_ptr_reply()
200 *host = hostent; in ares_parse_ptr_reply()
207 ares_free(hostent->h_addr_list); in ares_parse_ptr_reply()
[all …]
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/cares/cares/
H A Dares__get_hostent.c41 struct hostent *hostent = NULL; in ares__get_hostent() local
167 hostent = ares_malloc(sizeof(struct hostent)); in ares__get_hostent()
168 if (!hostent) in ares__get_hostent()
172 hostent->h_aliases = NULL; in ares__get_hostent()
177 if (!hostent->h_name) in ares__get_hostent()
182 if (!hostent->h_addr_list) in ares__get_hostent()
195 if (!hostent->h_aliases) in ares__get_hostent()
227 *host = hostent; in ares__get_hostent()
239 if (hostent) in ares__get_hostent()
241 if (hostent->h_name) in ares__get_hostent()
[all …]
H A Dares_parse_ptr_reply.c51 struct hostent *hostent; in ares_parse_ptr_reply() local
179 hostent = ares_malloc(sizeof(struct hostent)); in ares_parse_ptr_reply()
180 if (hostent) in ares_parse_ptr_reply()
183 if (hostent->h_addr_list) in ares_parse_ptr_reply()
186 if (hostent->h_addr_list[0]) in ares_parse_ptr_reply()
189 if (hostent->h_aliases) in ares_parse_ptr_reply()
192 hostent->h_name = hostname; in ares_parse_ptr_reply()
199 hostent->h_addr_list[1] = NULL; in ares_parse_ptr_reply()
200 *host = hostent; in ares_parse_ptr_reply()
207 ares_free(hostent->h_addr_list); in ares_parse_ptr_reply()
[all …]
/dports/net/dante/dante-1.4.3/lib/
H A DRgethostbyname.c55 struct hostent *
64 struct hostent *hostent; local
86 return hostent;
151 return hostent;
154 struct hostent *
387 struct hostent *
396 struct hostent *hostent; local
449 if ((hostent = malloc(sizeof(struct hostent))) == NULL) {
460 free(hostent);
537 return hostent;
[all …]
/dports/dns/idnkit/idnkit-1.0-src/tools/runidn/
H A Dstub.h7 extern struct hostent *
16 struct hostent **rp, int *errp);
20 extern struct hostent *
27 extern struct hostent *
36 struct hostent **rp, int *errp);
41 extern struct hostent *
49 struct hostent *result, char *buffer,
54 extern struct hostent *
56 struct hostent *result, char *buffer,
62 extern struct hostent *
[all …]
H A Dstub.c169 struct hostent *
182 struct hostent *
195 struct hostent *
214 struct hostent **rp, int *errp) in idn_stub_gethostbyname_r()
218 struct hostent **rp, int *errp); in idn_stub_gethostbyname_r()
232 struct hostent **rp, int *errp) in idn_stub_gethostbyname2_r()
268 struct hostent *
272 static struct hostent *(*fp)(const char *name, struct hostent *result, in idn_stub_gethostbyname_r()
284 struct hostent *
304 struct hostent *
[all …]
/dports/dns/bind911/bind-9.11.37/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h7 extern struct hostent *
16 struct hostent **rp, int *errp);
20 extern struct hostent *
27 extern struct hostent *
36 struct hostent **rp, int *errp);
41 extern struct hostent *
49 struct hostent *result, char *buffer,
54 extern struct hostent *
56 struct hostent *result, char *buffer,
62 extern struct hostent *
[all …]
H A Dstub.c169 struct hostent *
182 struct hostent *
195 struct hostent *
214 struct hostent **rp, int *errp) in idn_stub_gethostbyname_r()
218 struct hostent **rp, int *errp); in idn_stub_gethostbyname_r()
232 struct hostent **rp, int *errp) in idn_stub_gethostbyname2_r()
268 struct hostent *
272 static struct hostent *(*fp)(const char *name, struct hostent *result, in idn_stub_gethostbyname_r()
284 struct hostent *
304 struct hostent *
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/erl_interface/src/connect/
H A Dei_resolve.c314 struct hostent dest; in my_gethostbyname_r()
315 struct hostent *src; in my_gethostbyname_r()
380 struct hostent dest; in my_gethostbyaddr_r()
381 struct hostent *src; in my_gethostbyaddr_r()
464 static struct hostent h; in my_gethostbyname()
490 static struct hostent h; in my_gethostbyaddr()
516 struct hostent *h = NULL; in ei_gethostbyname()
549 struct hostent *hostp, in ei_gethostbyaddr_r()
615 struct hostent *hostp, in ei_gethostbyaddr_r()
628 struct hostent *result; in ei_gethostbyaddr_r()
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/erl_interface/src/connect/
H A Dei_resolve.c314 struct hostent dest; in my_gethostbyname_r()
315 struct hostent *src; in my_gethostbyname_r()
380 struct hostent dest; in my_gethostbyaddr_r()
381 struct hostent *src; in my_gethostbyaddr_r()
464 static struct hostent h; in my_gethostbyname()
490 static struct hostent h; in my_gethostbyaddr()
516 struct hostent *h = NULL; in ei_gethostbyname()
549 struct hostent *hostp, in ei_gethostbyaddr_r()
615 struct hostent *hostp, in ei_gethostbyaddr_r()
628 struct hostent *result; in ei_gethostbyaddr_r()
[all …]
/dports/www/squid/squid-4.15/compat/os/
H A Dopensolaris_10_netdb.h106 struct hostent { struct
242 struct hostent *gethostbyname_r
244 struct hostent *gethostbyaddr_r
249 struct hostent *gethostent_r(struct hostent *, char *, int, int *h_errnop);
274 struct hostent *gethostent(void);
365 struct hostent *gethostbyname_r();
370 struct hostent *gethostent_r();
384 struct hostent *gethostbyname();
385 struct hostent *gethostbyaddr();
386 struct hostent *gethostent();
[all …]
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/
H A Dnetdb.h84 struct hostent { struct
204 struct hostent *gethostbyaddr(const char *, int, int);
205 struct hostent *gethostbyname(const char *);
206 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
207 struct hostent *gethostbyname2(const char *, int);
208 struct hostent *gethostent(void);
229 void freehostent(struct hostent *);
230 int gethostbyaddr_r(const char *, int, int, struct hostent *, char *, size_t, struct hostent **, in…
231 int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *);
232 int gethostent_r(struct hostent *, char *, size_t, struct hostent **, int *);
[all …]

12345678910>>...166