Home
last modified time | relevance | path

Searched refs:hp2 (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.bin/talk/
H A Dio.c66 struct hostent *hp, *hp2; in talk() local
77 hp2 = gethostbyname(hp->h_name); in talk()
78 if (hp2 != NULL && hp2->h_addrtype == AF_INET && in talk()
79 hp2->h_length == sizeof(his_machine_addr)) in talk()
80 for (addr = hp2->h_addr_list; *addr != NULL; addr++) in talk()
/freebsd/lib/libc/tests/resolv/
H A Dresolv_test.c131 struct hostent *hp, *hp2; in resolv_gethostby() local
137 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype); in resolv_gethostby()
138 if (hp2) { in resolv_gethostby()
139 DBG("T%ld: reverse %s\n", threadnum, hp2->h_name); in resolv_gethostby()
152 struct hostent *hp, *hp2; in resolv_getipnodeby() local
159 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype, in resolv_getipnodeby()
161 if (hp2) { in resolv_getipnodeby()
162 DBG("T%ld: reverse %s\n", threadnum, hp2->h_name); in resolv_getipnodeby()
163 freehostent(hp2); in resolv_getipnodeby()
/freebsd/usr.sbin/nscd/
H A Dcachelib.c76 struct cache_ht_item_data_ *hp1, *hp2; in ht_items_cmp_func() local
81 hp2 = (struct cache_ht_item_data_ *)p2; in ht_items_cmp_func()
84 assert(hp2->key != NULL); in ht_items_cmp_func()
86 if (hp1->key_size != hp2->key_size) { in ht_items_cmp_func()
87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_cmp_func()
88 hp2->key_size; in ht_items_cmp_func()
89 result = memcmp(hp1->key, hp2->key, min_size); in ht_items_cmp_func()
92 return ((hp1->key_size < hp2->key_size) ? -1 : 1); in ht_items_cmp_func()
96 return (memcmp(hp1->key, hp2->key, hp1->key_size)); in ht_items_cmp_func()
102 struct cache_ht_item_data_ *hp1, *hp2; in ht_items_fixed_size_left_cmp_func() local
[all …]
/freebsd/libexec/bootpd/
H A Dreadfile.c1378 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1379 hp->MEMBER = hp2->MEMBER; \
1387 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1388 assert(hp2->MEMBER); \
1389 hp->MEMBER = hp2->MEMBER; \
1406 struct host *hp2; in fill_defaults() local
1412 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring); in fill_defaults()
1414 if (hp2 == NULL) { in fill_defaults()
1438 if ((hp->flags.vm_cookie = hp2->flags.vm_cookie)) { in fill_defaults()
1439 bcopy(hp2->vm_cookie, hp->vm_cookie, 4); in fill_defaults()
[all …]
/freebsd/lib/libc/net/
H A Dname6.c291 struct hostent *hp2 = gethostbyname2(name, AF_INET); in getipnodebyname() local
293 if (hp2 == NULL) in getipnodebyname()
296 hp = _hpmapv6(hp2, errp); in getipnodebyname()
298 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) { in getipnodebyname()
300 hp = _hpmerge(hpb, hp2, errp); in getipnodebyname()
500 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) in _hpmerge() argument
510 return _hpcopy(hp2, errp); in _hpmerge()
511 if (hp2 == NULL) in _hpmerge()
514 #define HP(i) (i == 1 ? hp1 : hp2) in _hpmerge()
516 hp->h_name = (hp1->h_name != NULL ? hp1->h_name : hp2->h_name); in _hpmerge()
[all …]
/freebsd/sbin/hastd/
H A Dhooks.c283 struct hookproc *hp, *hp2; in hook_check() local
295 TAILQ_FOREACH_SAFE(hp, &hookprocs, hp_next, hp2) { in hook_check()
/freebsd/sys/fs/nfs/
H A Dnfs_commonsubs.c3437 struct nfsrv_lughash *hp, *hp2; in nfsv4_strtouid() local
3499 hp2 = NFSUSERHASH(usrp->lug_uid); in nfsv4_strtouid()
3500 mtx_lock(&hp2->mtx); in nfsv4_strtouid()
3501 TAILQ_REMOVE(&hp2->lughead, usrp, lug_numhash); in nfsv4_strtouid()
3502 TAILQ_INSERT_TAIL(&hp2->lughead, usrp, in nfsv4_strtouid()
3505 mtx_unlock(&hp2->mtx); in nfsv4_strtouid()
3661 struct nfsrv_lughash *hp, *hp2; in nfsv4_strtogid() local
3721 hp2 = NFSGROUPHASH(usrp->lug_gid); in nfsv4_strtogid()
3722 mtx_lock(&hp2->mtx); in nfsv4_strtogid()
3723 TAILQ_REMOVE(&hp2->lughead, usrp, lug_numhash); in nfsv4_strtogid()
[all …]
/freebsd/share/doc/smm/02.config/
H A Dspell.ok171 hp2
/freebsd/contrib/openbsm/config/
H A Ddepcomp435 hp2)
/freebsd/contrib/openpam/
H A Ddepcomp435 hp2)
/freebsd/contrib/ntp/sntp/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd/contrib/ntp/sntp/libevent/
H A Ddepcomp435 hp2)
/freebsd/contrib/file/
H A Ddepcomp435 hp2)
/freebsd/contrib/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd/contrib/sqlite3/
H A Ddepcomp435 hp2)
/freebsd/usr.sbin/mountd/
H A Dmountd.c3111 struct hostlist *hp2; in free_host() local
3114 hp2 = hp; in free_host()
3116 free((caddr_t)hp2); in free_host()
/freebsd/contrib/ncurses/misc/
H A Dterminfo.src10254 hp2|hpex2|Hewlett-Packard extended capabilities newer version,
27017 # dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
/freebsd/contrib/ncurses/
H A DNEWS2646 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
/freebsd/
H A DObsoleteFiles.inc6233 OLD_FILES+=usr/share/terminfo/h/hp2