Searched defs:hp (Results 1 - 10 of 10) sorted by relevance

/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dquery-loc.c24 struct hostent *hp; local
70 hp = (struct hostent *) gethostbyaddr
72 if (hp)
76 hp->h_name);
77 loc = getlocbyname (hp->h_name, FALSE);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Ddump.c78 dumpHost(const struct hostent FAR *hp, char *buff, size_t size) { argument
82 if (strlen(hp->h_name) + 1 < size) {
83 sprintf(p, "%s ", hp->h_name);
87 dumpAddr(hp->h_addr_list[0], hp->h_length, p, size);
H A Dhook.c84 HOOKPTR hp; local
86 for (hp = hookList.next ; hp != &hookList ; hp = hp->next) {
87 if (hp->hWnd == hWnd && hp->wMsg == wMsg) {
88 return (hp);
96 HOOKPTR hp, prev, next; local
98 if ((hp
120 hookListDelete(HOOKPTR hp) argument
135 HOOKPTR hp; local
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetnameinfo.c95 struct hostent *hp; local
193 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error);
195 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
199 if (hp) {
201 p = strchr(hp->h_name, '.');
204 if (strlen(hp->h_name) > hostlen) {
206 freehostent(hp);
210 strcpy(host, hp->h_name);
212 freehostent(hp);
H A Dgetaddrinfo.c451 struct hostent *hp; local
454 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
455 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
456 GET_AI(cur, afd, hp->h_addr_list[0], port);
457 GET_CANONNAME(cur, hp->h_name);
546 struct hostent *hp; local
561 hp
[all...]
/bind-9.6-ESV-R11/bin/tests/system/lwresd/
H A Dlwtest.c231 struct hostent *hp; local
235 hp = gethostbyname(name);
236 if (hp == NULL) {
253 if (memcmp(hp->h_addr_list[0], addrbuf, hp->h_length) != 0) {
255 (void)inet_ntop(AF_INET, hp->h_addr_list[0],
267 struct hostent *hp; local
271 hp = gethostbyname2(name, af);
272 if (hp == NULL) {
293 if (hp
317 struct hostent *hp; local
375 struct hostent *hp; local
414 struct hostent *hp; local
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c333 idn_stub_freehostent(struct hostent *hp) { argument
334 static void (*fp)(struct hostent *hp);
339 (*fp)(hp);
H A Dresolver.c127 static struct hostent *copy_decode_hostent_static(struct hostent *hp,
132 static struct hostent *copy_decode_hostent_dynamic(struct hostent *hp,
134 static void free_copied_hostent(struct hostent *hp);
218 copy_decode_hostent_static(struct hostent *hp, struct hostent *newhp, argument
222 * Copy "struct hostent" data referenced by 'hp' to 'newhp'.
223 * It's a deep-copy, meaning all the data referenced by 'hp' are
225 * The domain names ('hp->h_name' and 'hp->h_aliases') are
233 if (hp == NULL)
236 *newhp = *hp;
393 copy_decode_hostent_dynamic(struct hostent *hp, int *errp) argument
481 free_copied_hostent(struct hostent *hp) argument
539 struct hostent *hp; local
567 struct hostent *hp; local
594 struct hostent *hp; local
789 struct hostent *hp, he; local
840 struct hostent *hp, he; local
884 struct hostent *hp; local
915 struct hostent *hp; local
939 freehostent(struct hostent *hp) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dloc_29.c35 unsigned char hp; local
66 hp = 0x16; /* 10000.00 m */
383 hp = (man << 4) + exp;
439 RETERR(mem_tobuffer(target, &hp, 1));
472 unsigned char size, hp, vp; local
490 hp = sr.base[2];
491 INSIST((hp&0x0f) < 10 && (hp>>4) < 10);
492 if ((hp&0x0f)> 1)
493 sprintf(hbuf, "%lum", (hp>>
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/
H A Dqueryperf.c1406 HEADER *hp = (HEADER *)packet_buffer; local
1415 hp->rd = recurse;

Completed in 34 milliseconds