Searched refs:hp2 (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/usr.bin/talk/
H A Dio.c66 struct hostent *hp, *hp2; local
76 hp2 = gethostbyname(hp->h_name);
77 if (hp2 != NULL && hp2->h_addrtype == AF_INET &&
78 hp2->h_length == sizeof(his_machine_addr))
79 for (addr = hp2->h_addr_list; *addr != NULL; addr++)
/freebsd-9.3-release/tools/regression/lib/libc/resolv/
H A Dresolv.c139 struct hostent *hp, *hp2; local
150 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype);
151 if (hp2 && debug) {
153 "%p: reverse %s\n", self, hp2->h_name);
164 struct hostent *hp, *hp2; local
175 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype,
177 if (hp2 && debug) {
179 "%p: reverse %s\n", self, hp2->h_name);
182 if (hp2)
183 freehostent(hp2);
[all...]
/freebsd-9.3-release/usr.sbin/nscd/
H A Dcachelib.c78 struct cache_ht_item_data_ *hp1, *hp2; local
83 hp2 = (struct cache_ht_item_data_ *)p2;
86 assert(hp2->key != NULL);
88 if (hp1->key_size != hp2->key_size) {
89 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size :
90 hp2->key_size;
91 result = memcmp(hp1->key, hp2->key, min_size);
94 return ((hp1->key_size < hp2->key_size) ? -1 : 1);
98 return (memcmp(hp1->key, hp2->key, hp1->key_size));
104 struct cache_ht_item_data_ *hp1, *hp2; local
[all...]
/freebsd-9.3-release/lib/libc/net/
H A Dname6.c296 struct hostent *hp2 = gethostbyname2(name, AF_INET); local
298 if (hp2 == NULL)
301 hp = _hpmapv6(hp2, errp);
303 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) {
305 hp = _hpmerge(hpb, hp2, errp);
504 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument
514 return _hpcopy(hp2, errp);
515 if (hp2 == NULL)
518 #define HP(i) (i == 1 ? hp1 : hp2)
[all...]
/freebsd-9.3-release/libexec/bootpd/
H A Dreadfile.c1419 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1420 hp->MEMBER = hp2->MEMBER; \
1428 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1429 assert(hp2->MEMBER); \
1430 hp->MEMBER = hp2->MEMBER; \
1449 struct host *hp2;
1455 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring);
1457 if (hp2 == NULL) {
1481 if ((hp->flags.vm_cookie = hp2->flags.vm_cookie)) {
1482 bcopy(hp2
1437 struct host *hp2; local
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dhooks.c285 struct hookproc *hp, *hp2; local
297 TAILQ_FOREACH_SAFE(hp, &hookprocs, hp_next, hp2) {
/freebsd-9.3-release/contrib/cvs/
H A Ddepcomp293 hp2)
/freebsd-9.3-release/contrib/ntp/sntp/libevent/build-aux/
H A Ddepcomp305 hp2)
/freebsd-9.3-release/contrib/openpam/
H A Ddepcomp435 hp2)
/freebsd-9.3-release/contrib/file/
H A Ddepcomp435 hp2)
/freebsd-9.3-release/usr.sbin/mountd/
H A Dmountd.c2351 struct hostlist *hp2; local
2354 hp2 = hp;
2356 free((caddr_t)hp2);

Completed in 265 milliseconds