Searched refs:hp (Results 101 - 125 of 155) sorted by relevance

1234567

/osnet-11/usr/src/lib/libinetutil/common/
H A Dinetutil.c51 struct in_addr hp, tp; local
56 hp.s_addr = htonl(n_addrp->s_addr);
57 if (getnetmaskbyaddr(hp, &tp) == 0) {
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c289 struct hostent *hp; local
313 hp = gethost_byname(fromhost);
314 strncpy(fromname, hp->h_name, MAXHOSTNAMELEN);
315 hp = gethost_byname(tohost);
316 strncpy(toname, hp->h_name, MAXHOSTNAMELEN);
/osnet-11/usr/src/lib/libmapid/common/
H A Dmapid.c381 HEADER *hp; local
406 hp = (HEADER *)&answer.hdr;
408 if (hp->rcode != NOERROR) {
415 qd_cnt = ntohs(hp->qdcount);
416 an_cnt = ntohs(hp->ancount);
417 ns_cnt = ntohs(hp->nscount);
418 ar_cnt = ntohs(hp->arcount);
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c262 di_prop_t hp = DI_PROP_NIL; local
265 while ((hp = di_prop_next(n, hp)) != DI_PROP_NIL) {
266 if (strcmp(di_prop_name(hp), propnm) == 0) {
267 if (di_prop_bytes(hp, &buf) < sizeof (uint_t))
291 di_prop_t hp = DI_PROP_NIL; local
297 while ((hp = di_prop_next(n, hp)) != DI_PROP_NIL) {
298 if (strcmp(di_prop_name(hp), pnm) == 0) {
299 if ((*sz = di_prop_bytes(hp, d
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_put.c79 __bam_iitem(dbc, hp, indxp, key, data, op, flags)
81 PAGE **hp;
99 h = *hp;
107 * Here's where the hp and indxp are important. The duplicate code
118 bk = GET_BKEYDATA(*hp, *indxp);
129 if ((ret = __db_ditem(dbc, *hp, *indxp, nbytes)) != 0)
134 if ((ret = __db_dput(dbc, data, hp, indxp, __bam_new)) != 0)
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dhesiod.c350 HEADER *hp; local
379 hp = (HEADER *) abuf;
380 ancount = ntohs(hp->ancount);
381 qdcount = ntohs(hp->qdcount);
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c83 HEADER *hp; local
103 hp = (HEADER *) buf;
105 hp->id = htons(statp->id);
106 hp->opcode = ns_o_update;
107 hp->rcode = NOERROR;
708 hp->qdcount = htons(counts[0]);
709 hp->ancount = htons(counts[1]);
710 hp->nscount = htons(counts[2]);
711 hp->arcount = htons(counts[3]);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c419 struct hostent *hp; local
421 if ((hp = gethostbyname(host)) == NULL)
423 (void) memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/Byte/
H A DByte.pm109 hp-roman8
/osnet-11/usr/src/lib/libldap4/common/
H A Dcldap.c90 struct hostent *hp; local
150 if ( (hp = gethostbyname_r( host, &hpret, hpbuf, NSS_BUFLEN_HOSTS, &hperrno)) == NULL ) {
155 if ( (hp = gethostbyname( host )) == NULL ) {
161 for ( i = 0; hp->h_addr_list[ i ] != 0; ++i ) {
163 (char *)hp->h_addr_list[ i ],
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c382 struct hostent *hp; local
397 if ((hp = gethostbyname(buf)) == NULL) {
399 } else if (hp->h_addrtype != AF_INET) {
402 } else if (*hp->h_addr_list == NULL) {
409 (void) memcpy(&in.s_addr, *hp->h_addr_list,
/osnet-11/usr/src/grub/grub-0.97/
H A Dconfig.guess585 echo m68k-hp-bsd
588 echo m68k-hp-bsd4.4
660 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
664 echo ia64-hp-hpux${HPUX_REV}
697 echo hppa1.1-hp-bsd
700 echo hppa1.0-hp-bsd
703 echo hppa1.0-hp-mpeix
706 echo hppa1.1-hp-osf
709 echo hppa1.0-hp-osf
719 echo hppa1.1-hp
[all...]
H A Ddepcomp77 if test "$depmode" = hp; then
147 hp)
/osnet-11/usr/src/grub/grub2/build-aux/
H A Dconfig.guess564 echo m68k-hp-bsd
567 echo m68k-hp-bsd4.4
632 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
633 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
637 # => hppa2.0w-hp-hpux11.23
639 # => hppa64-hp-hpux11.23
649 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
653 echo ia64-hp-hpux${HPUX_REV}
687 echo hppa1.1-hp-bsd
690 echo hppa1.0-hp
[all...]
H A Ddepcomp78 if test "$depmode" = hp; then
161 hp)
294 # The "hp" stanza above does not work with aCC (C++) and HP's ia64
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_standalone.c561 struct hostent *hp = NULL, hostEnt; local
607 hp = _filter_gethostbyaddr_r((char *)&in,
614 if (hp && hp->h_name) {
616 len = strlen(hp->h_name) + 1;
627 hp->h_name, port);
629 (void) strlcpy(*hostname, hp->h_name, len);
639 hp = _filter_gethostbyaddr_r((char *)&in6,
646 if (hp && hp
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmilter.c656 struct hostent *hp = NULL; local
957 hp = sm_gethostbyname(at, addr.sa.sa_family);
958 if (hp == NULL)
975 addr.sa.sa_family = hp->h_addrtype;
976 switch (hp->h_addrtype)
981 hp->h_addr, INADDRSZ);
991 hp->h_addr, IN6ADDRSZ);
1002 hp->h_addrtype);
1005 m->mf_name, at, hp->h_addrtype);
1010 hp
[all...]
H A Dmap.c5446 char **hp; local
5466 hp = hesiod_resolve(HesiodContext, np, map->map_file);
5468 hp = hes_resolve(np, map->map_file);
5478 hp = hesiod_resolve(HesiodContext, name, map->map_file);
5480 hp = hes_resolve(name, map->map_file);
5484 if (hp == NULL || *hp == NULL)
5500 if (hp != NULL)
5501 hesiod_free_list(HesiodContext, hp);
5505 if (hp
7391 struct hostent *hp = NULL; local
[all...]
H A Dmain.c179 struct hostent *hp; local
717 hp = myhostname(jbuf, sizeof(jbuf));
748 if (hp != NULL)
750 for (av = hp->h_aliases; av != NULL && *av != NULL; av++)
757 for (i = 0; i >= 0 && hp->h_addr_list[i] != NULL; i++)
770 switch (hp->h_addrtype)
774 if (hp->h_length != INADDRSZ)
777 memmove(&ia, hp->h_addr_list[i], INADDRSZ);
785 if (hp->h_length != IN6ADDRSZ)
788 memmove(&ia6, hp
3487 struct hostent *hp; local
[all...]
H A Dheaders.c80 HDR **hp; local
394 for (hp = hdrp; (h = *hp) != NULL; hp = &h->h_link)
429 *hp = h;
609 HDR **hp; local
613 for (hp = hdrlist; (h = *hp) != NULL; hp = &h->h_link)
621 h->h_link = *hp;
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dname.c3087 Dt_t *hp = 0; local
3092 if(!(hp=(Dt_t*)shp->st.prevst->save_tree))
3093 hp = dtvnext(shp->var_tree);
3109 if(!hp)
3110 hp = shp->var_tree;
3111 if(!(nr = nv_open(cp, hp, flags|NV_ARRAY|NV_NOREF|NV_NOSCOPE|NV_NOADD|NV_NOFAIL)))
3115 hp = nv_dict(shp->namespace);
3118 hp = shp->var_base;
3121 hp = shp->last_root;
3123 nr= nv_open(cp, hp, flag
3200 nv_setref(register Namval_t *np, Dt_t *hp, int flags) argument
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c62 struct hostent *hp, hrec; local
69 if ((hp = gethostbyname_r(host, &hrec, hostbuf,
73 (void) memcpy((char *)&sin.sin_addr, hp->h_addr,
74 hp->h_length);
/osnet-11/usr/src/lib/libcmd/common/
H A Dtail.c423 register Tail_t* hp; local
633 hp = 0;
659 if ((flags & (HEADERS|VERBOSE)) && hp != fp)
661 hp = fp;
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_delete.c137 * hp: pointer to current, pinned PAGE pointer
144 __bt_stkacq(t, hp, c)
146 PAGE **hp;
162 h = *hp;
276 return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Drelocator.c181 grub_mm_header_t h = newreg->first, hp = NULL; local
186 newreg, newreg->first, h, hp, hb);
191 newreg, newreg->first, h, hp, hb);
193 hp = h;
298 grub_mm_header_t h2, *hp; local
308 for (hp = &r2->first, h2 = *hp; h2->next != r2->first;
309 hp = &(h2->next), h2 = *hp)
316 *hp
[all...]

Completed in 2771 milliseconds

1234567