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

/freebsd-current/usr.bin/talk/
H A Dio.c66 struct hostent *hp, *hp2; local
77 hp2 = gethostbyname(hp->h_name);
78 if (hp2 != NULL && hp2->h_addrtype == AF_INET &&
79 hp2->h_length == sizeof(his_machine_addr))
80 for (addr = hp2->h_addr_list; *addr != NULL; addr++)
/freebsd-current/lib/libc/tests/resolv/
H A Dresolv_test.c131 struct hostent *hp, *hp2; local
137 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype);
138 if (hp2) {
139 DBG("T%ld: reverse %s\n", threadnum, hp2->h_name);
152 struct hostent *hp, *hp2; local
159 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype,
161 if (hp2) {
162 DBG("T%ld: reverse %s\n", threadnum, hp2->h_name);
163 freehostent(hp2);
/freebsd-current/usr.sbin/nscd/
H A Dcachelib.c76 struct cache_ht_item_data_ *hp1, *hp2; local
81 hp2 = (struct cache_ht_item_data_ *)p2;
84 assert(hp2->key != NULL);
86 if (hp1->key_size != hp2->key_size) {
87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size :
88 hp2->key_size;
89 result = memcmp(hp1->key, hp2->key, min_size);
92 return ((hp1->key_size < hp2->key_size) ? -1 : 1);
96 return (memcmp(hp1->key, hp2->key, hp1->key_size));
102 struct cache_ht_item_data_ *hp1, *hp2; local
[all...]
/freebsd-current/lib/libc/net/
H A Dname6.c291 struct hostent *hp2 = gethostbyname2(name, AF_INET); local
293 if (hp2 == NULL)
296 hp = _hpmapv6(hp2, errp);
298 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) {
300 hp = _hpmerge(hpb, hp2, errp);
500 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument
510 return _hpcopy(hp2, errp);
511 if (hp2 == NULL)
514 #define HP(i) (i == 1 ? hp1 : hp2)
[all...]
/freebsd-current/libexec/bootpd/
H A Dreadfile.c1390 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1391 hp->MEMBER = hp2->MEMBER; \
1399 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1400 assert(hp2->MEMBER); \
1401 hp->MEMBER = hp2->MEMBER; \
1418 struct host *hp2;
1424 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring);
1426 if (hp2 == NULL) {
1450 if ((hp->flags.vm_cookie = hp2->flags.vm_cookie)) {
1451 bcopy(hp2
1406 struct host *hp2; local
[all...]
/freebsd-current/sbin/hastd/
H A Dhooks.c283 struct hookproc *hp, *hp2; local
295 TAILQ_FOREACH_SAFE(hp, &hookprocs, hp_next, hp2) {
/freebsd-current/sys/fs/nfs/
H A Dnfs_commonsubs.c3387 struct nfsrv_lughash *hp, *hp2; local
3449 hp2 = NFSUSERHASH(usrp->lug_uid);
3450 mtx_lock(&hp2->mtx);
3451 TAILQ_REMOVE(&hp2->lughead, usrp, lug_numhash);
3452 TAILQ_INSERT_TAIL(&hp2->lughead, usrp,
3455 mtx_unlock(&hp2->mtx);
3611 struct nfsrv_lughash *hp, *hp2; local
3671 hp2 = NFSGROUPHASH(usrp->lug_gid);
3672 mtx_lock(&hp2->mtx);
3673 TAILQ_REMOVE(&hp2
4301 struct nfsrv_lughash *hp, *hp2; local
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/sqlite3/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/file/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/openpam/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/ntp/sntp/libevent/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd-current/contrib/openbsm/config/
H A Ddepcomp435 hp2)
/freebsd-current/usr.sbin/mountd/
H A Dmountd.c3035 struct hostlist *hp2; local
3038 hp2 = hp;
3040 free((caddr_t)hp2);

Completed in 495 milliseconds