Searched refs:hptr (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/mail/
H A Ddumpaff.c41 struct hdrs *hptr; local
73 for (hptr = hdrlines[H_AFWDFROM].head;
74 hptr != (struct hdrs *)NULL;
75 hptr = hptr->next) {
76 printhdr(type, H_AFWDFROM, hptr, f);
H A Ddumprcv.c41 struct hdrs *hptr; local
66 for (hptr = hdrlines[H_RECEIVED].head;
67 hptr != (struct hdrs *)NULL;
68 hptr = hptr->next) {
69 printhdr(type, H_RECEIVED, hptr, f);
H A Dprinthdr.c35 printhdr(int type, int hdrtype, struct hdrs *hptr, FILE *fp) argument
42 if (hptr == NULL)
49 header[hdrtype].tag, hptr->value);
57 contptr = hptr;
H A Dgendeliv.c42 register struct hdrs *hptr; local
114 if ((hptr = hdrlines[H_DATE].head) != (struct hdrs *)NULL) {
115 Dout(pn, 0,"date from H_DATE = '%s'\n", hptr->value);
116 fprintf(outfile,"%s\n", hptr->value);
120 if ((hptr = hdrlines[H_FROM1].tail) == (struct hdrs *)NULL) {
121 hptr = hdrlines[H_FROM].tail;
123 Dout(pn, 0,"date from H_FROM = '%s'\n", hptr->value);
124 (void) strlcpy(buf, hptr->value, sizeof (buf));
157 if ((hptr = hdrlines[H_SUBJ].head) != (struct hdrs *)NULL) {
159 header[H_SUBJ].tag, hptr
[all...]
H A Dsendmail.c53 struct hdrs *hptr; local
258 if ((hptr = hdrlines[H_MIMEVERS].head) !=
266 if ((hptr = hdrlines[H_CTYPE].head) !=
274 if ((hptr = hdrlines[H_CLEN].head) !=
294 if ((hptr = hdrlines[H_MIMEVERS].head) !=
302 if ((hptr = hdrlines[H_CTYPE].head) !=
310 if ((hptr = hdrlines[H_CLEN].head) !=
403 if ((hptr = hdrlines[H_MIMEVERS].head) != (struct hdrs *)NULL) {
404 if (strlen(hptr->value) == 0) {
405 (void) strlcpy(hptr
[all...]
H A Dcopylet.c92 struct hdrs *hptr; local
124 if ((hptr = hdrlines[H_CLEN].head) !=
126 clen = atol (hptr->value);
206 if ((hptr = hdrlines[H_TCOPY].head) !=
212 if ((hptr = hdrlines[H_RECEIVED].head) !=
219 if ((hptr = hdrlines[H_MIMEVERS].head) !=
223 if ((hptr = hdrlines[H_CTYPE].head) !=
227 if ((hptr = hdrlines[H_CLEN].head) !=
257 if (printhdr (type, htype, hptr, f) < 0) {
313 hptr
[all...]
H A Dmail.h329 extern int printhdr (int type, int hdrtype, struct hdrs *hptr, FILE *fp);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c37 gethostbyname_r(const char *name, struct hostent *hptr, HOST_R_ARGS) { argument
48 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
51 *answerp = hptr;
58 return (copy_hostent(he, hptr, HOST_R_COPY));
64 struct hostent *hptr, HOST_R_ARGS) {
75 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
78 *answerp = hptr;
85 return (copy_hostent(he, hptr, HOST_R_COPY));
96 gethostent_r(struct hostent *hptr, HOST_R_ARGS) { argument
107 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COP
63 gethostbyaddr_r(const char *addr, int len, int type, struct hostent *hptr, HOST_R_ARGS) argument
155 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
215 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c202 struct hostent *hptr
207 ASSERT(hptr != NULL);
208 if (hptr) {
209 buffer = (mybuffer_t *)((char *)hptr - sizeof (mybuffer_t));
249 struct hostent *hptr; local
264 * +--------------------+ <--- hptr
284 hptr = (struct hostent *)((char *)buffer + sizeof (mybuffer_t));
285 req = (getipnodebyname_req_t *)((char *)hptr + hostent_size);
286 cnf = (getipnodebyname_cnf_t *)((char *)hptr + hostent_size);
298 hptr
[all...]
H A Discsi_ioctl.c429 struct hostent *hptr; local
550 hptr = kgetipnodebyname(addr_str, type,
552 if (!hptr) {
569 kfreehostent(hptr);
578 curr_ste->ste_ipaddr.a_addr.i_insize = hptr->h_length;
579 bcopy(*hptr->h_addr_list,
582 kfreehostent(hptr);
H A Discsi_login.c1987 struct hostent *hptr; local
2002 hptr = kgetipnodebyname(addr_str, type, AI_ALL, &error_num);
2003 if (!hptr) {
2015 iscsid_addr_to_sockaddr(hptr->h_length, *hptr->h_addr_list,
2018 kfreehostent(hptr);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsol.c39 tnrhc_hash_t **hptr; member in struct:tnrh_walk_s
114 twp->hptr = twp->tnrhc_table;
130 if (*twp->hptr == NULL || twp->idx >= TNRHC_SIZE) {
131 twp->hptr++;
132 if (twp->hptr == twp->tnrhc_table +
134 twp->hptr = twp->tnrhc_table_v6;
135 else if (twp->hptr == twp->tnrhc_table_v6 +
140 wsp->walk_addr = (uintptr_t)(*twp->hptr)[twp->idx++].
/illumos-gate/usr/src/uts/common/io/
H A Dksyms.c83 ksyms_buflist_hdr_t *hptr = (ksyms_buflist_hdr_t *)ptr; local
85 if (hptr->cur == NULL)
89 sz = MIN(rsize, (BUF_SIZE - hptr->curbuf_off));
90 bcopy(src, (hptr->cur->buf + hptr->curbuf_off), sz);
92 hptr->curbuf_off += sz;
93 if (hptr->curbuf_off == BUF_SIZE) {
94 hptr->curbuf_off = 0;
95 hptr->cur = list_next(&hptr
220 void *hptr = NULL; local
[all...]
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1494 print(struct blk *hptr) argument
1500 rewind(hptr);
1501 while (sfeof(hptr) == 0) {
1502 if (sgetc(hptr) > 99) {
1503 rewind(hptr);
1504 while (sfeof(hptr) == 0) {
1505 printf("%c", sgetc(hptr));
1511 fsfile(hptr);
1512 sc = sbackc(hptr); /* read scale off end of blk */
1513 if (sfbeg(hptr) !
2163 copy(struct blk *hptr, int size) argument
2200 sdump(char *s1, struct blk *hptr) argument
2216 seekc(struct blk *hptr, int n) argument
2246 salterwd(struct wblk *hptr, struct blk *n) argument
2256 more(struct blk *hptr) argument
[all...]
H A Ddc.h131 void print(struct blk *hptr);
134 void seekc(struct blk *hptr, int n);
137 void more(struct blk *hptr);
140 void sdump(char *s1, struct blk *hptr);
141 void salterwd(struct wblk *hptr, struct blk *n);
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c460 struct hostent *hptr; local
487 hptr = getipnodebyname(
493 if (hptr) {
506 cnf->h_addrlen = (uint32_t)hptr->h_length;
507 cnf->h_addrtype = (uint32_t)hptr->h_addrtype;
510 if (*hptr->h_addr_list != NULL) {
513 *hptr->h_addr_list,
514 hptr->h_length);
517 cnf_len += hptr->h_length;
520 cnf->h_size_needed += hptr
[all...]
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_netdb.h88 struct hostent *hptr, char *buf,
93 struct hostent *gethostbyname_r __P((const char *name, struct hostent *hptr,
98 struct hostent *gethostent_r __P((struct hostent *hptr, char *buf, int buflen,
H A Dport_before.h105 #define HOST_R_OK hptr
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c388 iphtable_t *hptr; local
542 iphtable_t *hptr; local
588 hptr = tables[role];
589 while (hptr != NULL) {
590 hptr = printhash(hptr, kmemcpywrap,
595 hptr = tables[role];
596 while (hptr != NULL) {
597 hptr = printhash(hptr, kmemcpywra
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c261 uintptr_t hptr = (uintptr_t)NULL; local
360 hptr = d[DI_HASH]->d_un.d_ptr;
362 hptr += addr;
364 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) {
366 (long)(hptr));
631 if ((hptr == (uintptr_t)NULL) || (hnbuckets == 0) ||
640 hash = &((uint_t *)hptr)[2 + htmp];
668 hash = &((uint_t *)hptr)[2 + hnbuckets + ndx];
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_door.h137 struct hostent *hptr
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_sadb.c664 isaf_t *hptr; local
727 hptr = INBOUND_BUCKET(sp, ah->ah_spi);
728 mutex_enter(&hptr->isaf_lock);
729 assoc = ipsec_getassocbyspi(hptr, ah->ah_spi, src_ptr, dst_ptr, af);
730 mutex_exit(&hptr->isaf_lock);
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c703 char *volatile hptr, **thisargv, *ebuf; local
747 hptr = &(holder[strlen(holder)]);
750 hptr[-2] = ' ';
758 (void) strncpy(hptr, ibuf,
759 (size_t)(&(holder[IBUF_SIZE]) - hptr));
766 if (hptr[strlen(hptr) - 2] == CONT_CHAR) {
768 hptr += strlen(hptr);
771 hptr[
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c3020 ns_hash_t *hptr; local
3200 for (hptr = cfg->llHead; hptr; hptr = hptr->h_llnext) {
3201 if (hptr->h_type != NS_HASH_AMAP) {
3215 mptr = hptr->h_map;
3231 for (hptr = cfg->llHead; hptr; hptr
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c300 getXbyY_to_dbop_t *hptr; local
351 hptr = &getXbyY_to_dbop[idx];
352 if (hptr->dbop != dbop || strcmp(name, hptr->name) != 0)

Completed in 321 milliseconds

12