Searched defs:he (Results 1 - 7 of 7) sorted by relevance

/bind-9.11.3/bin/tests/
H A Dgxba_test.c22 print_he(struct hostent *he, int error, const char *fun, const char *name) { argument
26 if (he != NULL) {
28 printf("\tname = %s\n", he->h_name);
29 printf("\taddrtype = %d\n", he->h_addrtype);
30 printf("\tlength = %d\n", he->h_length);
31 c = he->h_aliases;
38 c = he->h_addr_list;
42 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf));
55 struct hostent *he; local
80 he
[all...]
H A Dgxbn_test.c22 print_he(struct hostent *he, int error, const char *fun, const char *name) { argument
26 if (he != NULL) {
28 printf("\tname = %s\n", he->h_name);
29 printf("\taddrtype = %d\n", he->h_addrtype);
30 printf("\tlength = %d\n", he->h_length);
31 c = he->h_aliases;
38 c = he->h_addr_list;
42 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf));
55 struct hostent *he; local
61 he
[all...]
/bind-9.11.3/lib/bind9/
H A Dgetaddresses.c52 struct hostent *he; local
183 he = gethostbyname(hostname);
184 if (he == NULL) {
198 if (he->h_addrtype != AF_INET && he->h_addrtype != AF_INET6)
201 if (he->h_addrtype == AF_INET) {
203 inp = (struct in_addr *)(he->h_addr_list[i]);
209 in6p = (struct in6_addr *)(he->h_addr_list[i]);
/bind-9.11.3/lib/lwres/
H A Dgethost.c160 static struct hostent *he = NULL; variable in typeref:struct:hostent
167 if (he != NULL)
168 lwres_freehostent(he);
170 he = lwres_getipnodebyname(name, AF_INET, 0, &lwres_h_errno);
171 return (he);
177 if (he != NULL)
178 lwres_freehostent(he);
180 he = lwres_getipnodebyname(name, af, 0, &lwres_h_errno);
181 return (he);
188 if (he !
[all...]
H A Dgetipnode.c194 struct hostent he, *he1 = NULL, *he2 = NULL, *he3 = NULL; local
248 he.h_name = mappedname;
250 he.h_name = u.deconst_name;
251 he.h_addr_list = addr_list;
252 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6;
253 he.h_addr_list[1] = NULL;
254 he.h_aliases = aliases;
255 he.h_aliases[0] = NULL;
256 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ;
257 he
455 lwres_freehostent(struct hostent *he) argument
837 struct hostent *he = NULL; local
1002 struct hostent *he; local
1078 struct hostent *he; local
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dparser.cpp240 read(impl::parser< header::tokenizer >& p, impl::header_entry& he) argument
246 he = impl::header_entry();
274 he = impl::header_entry(hdr_name, hdr_value, attrs);
281 write(std::ostream& os, const impl::header_entry& he) argument
283 std::string line = he.name() + ": " + he.value();
284 impl::attrs_map as = he.attrs();
325 header_entry he; local
326 if (!header::read(p, he).good() || he
372 const header_entry& he = (*iter).second; local
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dresolver.c537 static struct hostent he; local
554 &he, buf.data, sizeof(buf),
565 static struct hostent he; local
582 &he, buf.data, sizeof(buf),
593 static struct hostent he; local
603 &he, buf.data, sizeof(buf),
622 struct hostent he; local
653 n = REAL(gethostbyname_r)(name, &he, data, datalen, rp, errp);
680 struct hostent he; local
710 n = REAL(gethostbyname2_r)(name, af, &he, dat
736 struct hostent he; local
789 struct hostent *hp, he; local
840 struct hostent *hp, he; local
[all...]

Completed in 17 milliseconds