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

/bind-9.11.3/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.11.3/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.11.3/lib/dns/rdata/generic/
H A Dloc_29.c26 unsigned char hp; local
57 hp = 0x16; /* 10000.00 m */
374 hp = (man << 4) + exp;
430 RETERR(mem_tobuffer(target, &hp, 1));
463 unsigned char size, hp, vp; local
488 hp = sr.base[2];
489 INSIST((hp&0x0f) < 10 && (hp>>4) < 10);
490 if ((hp&0x0f)> 1) {
492 "%lum", (hp>>
[all...]
/bind-9.11.3/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.11.3/bin/tests/system/lwresd/
H A Dlwtest.c224 struct hostent *hp; local
228 hp = gethostbyname(name);
229 if (hp == NULL) {
246 if (memcmp(hp->h_addr_list[0], addrbuf, hp->h_length) != 0) {
248 (void)inet_ntop(AF_INET, hp->h_addr_list[0],
260 struct hostent *hp; local
264 hp = gethostbyname2(name, af);
265 if (hp == NULL) {
286 if (hp
310 struct hostent *hp; local
368 struct hostent *hp; local
407 struct hostent *hp; local
[all...]
/bind-9.11.3/contrib/queryperf/
H A Dqueryperf.c1406 HEADER *hp = (HEADER *)packet_buffer; local
1415 hp->rd = recurse;

Completed in 29 milliseconds