Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/talk/
H A Dio.c69 struct hostent *hp, *hp2; in talk() local
80 hp2 = gethostbyname(hp->h_name); in talk()
81 if (hp2 != NULL && hp2->h_addrtype == AF_INET && in talk()
82 hp2->h_length == sizeof(his_machine_addr)) in talk()
83 for (addr = hp2->h_addr_list; *addr != NULL; addr++) in talk()
/freebsd-14.2/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-14.2/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()
88 hp2->key_size; in ht_items_cmp_func()
89 result = memcmp(hp1->key, hp2->key, min_size); in ht_items_cmp_func()
102 struct cache_ht_item_data_ *hp1, *hp2; in ht_items_fixed_size_left_cmp_func() local
107 hp2 = (struct cache_ht_item_data_ *)p2; in ht_items_fixed_size_left_cmp_func()
110 assert(hp2->key != NULL); in ht_items_fixed_size_left_cmp_func()
112 if (hp1->key_size != hp2->key_size) { in ht_items_fixed_size_left_cmp_func()
[all …]
/freebsd-14.2/libexec/bootpd/
H A Dreadfile.c1378 if ((hp->flags.MEMBER = hp2->flags.MEMBER) != 0) { \
1379 hp->MEMBER = hp2->MEMBER; \
1388 assert(hp2->MEMBER); \
1389 hp->MEMBER = hp2->MEMBER; \
1406 struct host *hp2; in fill_defaults() local
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()
1444 hp->flags.send_name = hp2->flags.send_name; in fill_defaults()
1448 if ((hp->flags.bootsize = hp2->flags.bootsize)) { in fill_defaults()
[all …]
/freebsd-14.2/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-14.2/sbin/hastd/
H A Dhooks.c284 struct hookproc *hp, *hp2; in hook_check() local
296 TAILQ_FOREACH_SAFE(hp, &hookprocs, hp_next, hp2) { in hook_check()
/freebsd-14.2/sys/fs/nfs/
H A Dnfs_commonsubs.c3392 struct nfsrv_lughash *hp, *hp2; in nfsv4_strtouid() local
3454 hp2 = NFSUSERHASH(usrp->lug_uid); in nfsv4_strtouid()
3455 mtx_lock(&hp2->mtx); in nfsv4_strtouid()
3460 mtx_unlock(&hp2->mtx); in nfsv4_strtouid()
3616 struct nfsrv_lughash *hp, *hp2; in nfsv4_strtogid() local
3676 hp2 = NFSGROUPHASH(usrp->lug_gid); in nfsv4_strtogid()
3677 mtx_lock(&hp2->mtx); in nfsv4_strtogid()
3682 mtx_unlock(&hp2->mtx); in nfsv4_strtogid()
4306 struct nfsrv_lughash *hp, *hp2; in nfsrv_cleanusergroup() local
4317 hp2 = NFSUSERNAMEHASH(usrp->lug_name, in nfsrv_cleanusergroup()
[all …]
/freebsd-14.2/share/doc/smm/02.config/
H A Dspell.ok171 hp2
/freebsd-14.2/contrib/sqlite3/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/file/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/ntp/sntp/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/openpam/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/openbsm/config/
H A Ddepcomp435 hp2)
/freebsd-14.2/contrib/libevent/build-aux/
H A Ddepcomp435 hp2)
/freebsd-14.2/usr.sbin/mountd/
H A Dmountd.c3084 struct hostlist *hp2; in free_host() local
3087 hp2 = hp; in free_host()
3089 free((caddr_t)hp2); in free_host()
/freebsd-14.2/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-14.2/contrib/ncurses/
H A DNEWS2646 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
/freebsd-14.2/
H A DObsoleteFiles.inc5435 OLD_FILES+=usr/share/terminfo/h/hp2