Searched refs:he (Results 1 - 25 of 264) sorted by relevance

1234567891011

/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/
H A Dgxbn_test.c32 print_he(struct hostent *he, int error, const char *fun, const char *name) { argument
36 if (he != NULL) {
38 printf("\tname = %s\n", he->h_name);
39 printf("\taddrtype = %d\n", he->h_addrtype);
40 printf("\tlength = %d\n", he->h_length);
41 c = he->h_aliases;
48 c = he->h_addr_list;
52 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf));
65 struct hostent *he; local
71 he
[all...]
H A Dgxba_test.c32 print_he(struct hostent *he, int error, const char *fun, const char *name) { argument
36 if (he != NULL) {
38 printf("\tname = %s\n", he->h_name);
39 printf("\taddrtype = %d\n", he->h_addrtype);
40 printf("\tlength = %d\n", he->h_length);
41 c = he->h_aliases;
48 c = he->h_addr_list;
52 inet_ntop(he->h_addrtype, *c, buf, sizeof(buf));
65 struct hostent *he; local
90 he
[all...]
/netbsd-6-1-5-RELEASE/distrib/syspkg/sets/base/base-locale-he/
H A DMakefile3 PKGBASE=base-locale-he
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dgethost.c168 static struct hostent *he = NULL; variable in typeref:struct:hostent
175 if (he != NULL)
176 lwres_freehostent(he);
178 he = lwres_getipnodebyname(name, AF_INET, 0, &lwres_h_errno);
179 return (he);
185 if (he != NULL)
186 lwres_freehostent(he);
188 he = lwres_getipnodebyname(name, af, 0, &lwres_h_errno);
189 return (he);
196 if (he !
234 struct hostent *he; local
255 struct hostent *he; local
298 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) argument
[all...]
H A Dgetipnode.c205 struct hostent he, *he1 = NULL, *he2 = NULL, *he3 = NULL; local
259 he.h_name = mappedname;
261 he.h_name = u.deconst_name;
262 he.h_addr_list = addr_list;
263 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6;
264 he.h_addr_list[1] = NULL;
265 he.h_aliases = aliases;
266 he.h_aliases[0] = NULL;
267 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ;
268 he
466 lwres_freehostent(struct hostent *he) argument
845 struct hostent *he = NULL; local
1009 struct hostent *he; local
1085 struct hostent *he; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dhostent_find_fqdn.c41 * Try to find a fqdn (with `.') in he if possible, else return h_name
45 hostent_find_fqdn (const struct hostent *he) argument
47 const char *ret = he->h_name;
51 for (h = (const char **)he->h_aliases; *h != NULL; ++h) {
H A Droken_gethostby.c52 struct hostent *he = gethostbyname(address); local
53 if(he) {
54 unsigned char *p = (unsigned char*)he->h_addr;
189 static struct hostent he; local
194 he.h_name = p;
195 he.h_aliases = NULL;
196 he.h_addrtype = AF_INET;
197 he.h_length = 4;
210 he.h_addr_list = addr_list;
211 return &he;
218 struct hostent *he; local
230 struct hostent *he; local
[all...]
H A Dgetaddrinfo.c228 struct hostent *he, int *flags)
238 tmp_canon = hostent_find_fqdn (he);
242 he2 = getipnodebyaddr (he->h_addr_list[0], he->h_length,
243 he->h_addrtype, &error);
259 for (h = he->h_addr_list; *h != NULL; ++h) {
332 struct hostent *he; local
334 he = getipnodebyname (nodename, PF_INET6, 0, &error);
336 if (he != NULL) {
338 &current, const_v6, he,
225 add_hostent(int port, int protocol, int socktype, struct addrinfo ***current, int (*func)(struct addrinfo *, void *data, int port), struct hostent *he, int *flags) argument
344 struct hostent *he; local
[all...]
H A Dgetnameinfo.c54 struct hostent *he = gethostbyaddr (addr, local
57 if (he != NULL) {
58 strlcpy (host, hostent_find_fqdn(he), hostlen);
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dgethostent_r.c44 struct hostent *he = gethostbyname(name); local
54 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
61 if (he == NULL)
64 return (copy_hostent(he, hptr, HOST_R_COPY));
71 struct hostent *he = gethostbyaddr(addr, len, type); local
81 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
88 if (he == NULL)
91 return (copy_hostent(he, hpt
103 struct hostent *he = gethostent(); local
161 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
221 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
[all...]
H A Dgethostent.c261 struct hostent he, *he1 = NULL, *he2 = NULL, *he3; local
300 DE_CONST(name, he.h_name);
301 he.h_addr_list = addr_list;
302 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6;
303 he.h_addr_list[1] = NULL;
304 he.h_aliases = aliases;
305 he.h_aliases[0] = NULL;
306 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ;
307 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6;
308 return (copyandmerge(&he, NUL
422 freehostent(struct hostent *he) argument
796 struct hostent *he = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c66 struct hostent *he; local
98 he = gethostbyname (nodename);
99 if (!he || he->h_addr_list[0] == NULL)
102 switch (he->h_addrtype)
124 switch (he->h_addrtype)
134 if (he->h_length != sizeof (sinp->sin6_addr))
137 memcpy (&sinp->sin6_addr, he->h_addr_list[0], he->h_length);
153 if (he
[all...]
/netbsd-6-1-5-RELEASE/bin/sh/
H A Dhistedit.c180 HistEvent he; local
186 history(hist, &he, H_SETSIZE, histsize);
187 history(hist, &he, H_SETUNIQUE, 1);
231 HistEvent he; local
399 history(hist, &he, H_FIRST);
400 retval = history(hist, &he, H_NEXT_EVENT, first);
401 for (;retval != -1; retval = history(hist, &he, direction)) {
404 out1fmt("%5d ", he.num);
405 out1str(he.str);
408 fc_replace(he
489 HistEvent he; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/btkey/
H A Dbtkey.c55 struct hostent *he; local
68 he = bt_gethostbyname(optarg);
69 if (he == NULL)
73 bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
88 he = bt_gethostbyname(optarg);
89 if (he == NULL)
93 bdaddr_copy(&laddr, (bdaddr_t *)he->h_addr);
289 struct hostent *he; local
295 else if ((he = bt_gethostbyaddr((const char *)addr,
297 printf(" (%s)", he
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c++/detail/
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...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/
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...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/bind9/
H A Dgetaddresses.c64 struct hostent *he; local
195 he = gethostbyname(hostname);
196 if (he == NULL) {
210 if (he->h_addrtype != AF_INET && he->h_addrtype != AF_INET6)
213 if (he->h_addrtype == AF_INET) {
215 inp = (struct in_addr *)(he->h_addr_list[i]);
221 in6p = (struct in6_addr *)(he->h_addr_list[i]);
/netbsd-6-1-5-RELEASE/usr.bin/ypwhich/
H A Dypwhich.c103 struct hostent *he; local
174 he = gethostbyaddr((void *)&inaddr->s_addr,
176 if (he)
177 (void)printf("%s\n", he->h_name);
229 struct hostent *he; local
231 he = gethostbyname(host);
232 if (he == NULL)
234 (void)memmove(&sin.sin_addr, he->h_addr, sizeof(sin.sin_addr));
276 struct hostent *he; local
294 he
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.bootparamd/
H A Dbootparamd.c79 struct hostent *he; local
96 he = gethostbyname(optarg);
97 if (he == 0) {
101 memmove(&route_addr.s_addr, he->h_addr, he->h_length);
157 struct hostent *he; local
177 he = gethostbyaddr((char *) &haddr, sizeof(haddr), AF_INET);
178 if (he) {
179 (void)strlcpy(askname, he->h_name, sizeof(askname));
229 struct hostent *he; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Di128.c83 int xd, int yd, int wi, int he, int rop)
94 ys += he - 1;
95 yd += he - 1;
102 bus_space_write_4(tag, regh, XY2_WH, (wi << 16) | he);
110 int wi, int he, uint32_t color)
118 bus_space_write_4(tag, regh, XY2_WH, (wi << 16) | he);
82 i128_bitblt(bus_space_tag_t tag, bus_space_handle_t regh, int xs, int ys, int xd, int yd, int wi, int he, int rop) argument
109 i128_rectfill(bus_space_tag_t tag, bus_space_handle_t regh, int x, int y, int wi, int he, uint32_t color) argument
/netbsd-6-1-5-RELEASE/usr.bin/sdpquery/
H A Dsdpquery.c89 struct hostent *he = NULL; local
91 if ((he = bt_gethostbyname(optarg)) == NULL)
95 bdaddr_copy(&remote_addr, (bdaddr_t *)he->h_addr);
/netbsd-6-1-5-RELEASE/gnu/dist/bc/
H A Dmissing28 -h|--h|--he|--hel|--help)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/
H A Dmove-if-change51 --help | --hel | --he | --h)
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/src/
H A Dgettext.sh.in66 --help | --hel | --he | --h )
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/tx/
H A Dtx39icu.c439 struct txintr_high_entry *he; local
463 TAILQ_FOREACH(he, &sc->sc_he_head[i], he_link) {
464 set = he->he_set;
465 he_mask = he->he_mask;
479 (*he->he_fun)(he->he_arg);
504 struct txintr_high_entry *he; local
511 if (!(he = malloc(sizeof(struct txintr_high_entry),
515 memset(he, 0, sizeof(struct txintr_high_entry));
516 he
533 struct txintr_high_entry *he; local
[all...]

Completed in 199 milliseconds

1234567891011