Searched refs:hbuf (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsasl.c243 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
261 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0)
269 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
270 >= sizeof(hbuf))
278 if (outlen < strlen(hbuf) + strlen(pbuf) + 2)
283 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
H A Ddaemon.c99 ** host_map_lookup(map, hbuf, avp, pstat)
100 ** Convert the entry in hbuf into a canonical form.
3407 static char hbuf[MAXNAME + MAXAUTHINFO + 11]; local
3426 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3429 sm_dprintf("getauthinfo: %s\n", hbuf);
3430 return hbuf;
3697 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3698 cleanstrcpy(&hbuf[
3927 char hbuf[MAXNAME + 1]; local
[all...]
H A Dheaders.c201 char hbuf[50]; local
203 (void) expand(fvalue, hbuf, sizeof(hbuf), e);
204 for (p = hbuf; isascii(*p) && isspace(*p); )
1107 char hbuf[MAXNAME + 1]; local
1138 name = hbuf;
1139 (void) sm_snprintf(hbuf, sizeof(hbuf), "%.80s", RealHostName);
1142 p = &hbuf[strlen(hbuf)];
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dbio.c37 uintptr_t bw_hbufbase; /* Base address of hbuf buckets */
38 struct hbuf *bw_hbufs; /* Snapshot of hbuf buckets */
39 size_t bw_nhbufs; /* Number of hbuf buckets */
40 size_t bw_hbufi; /* Current hbuf index */
47 struct hbuf *hbufs;
65 if (mdb_readvar(&hbuf_addr, "hbuf") == -1) {
66 mdb_warn("failed to read hbuf pointer");
70 nbytes = sizeof (struct hbuf) * v.v_hbuf;
101 * hbuf itsel
[all...]
H A Dmmd.c915 mblk_t hbuf, pbuf[MULTIDATA_MAX_PBUFS]; local
949 mdb_vread(&hbuf, sizeof (hbuf), (uintptr_t)mmd.mmd_hbuf) == -1) {
992 pdi->hdr_lim >= pdi->hdr_wptr && pdi->hdr_base >= hbuf.b_rptr &&
993 MBLKIN(&hbuf, (pdi->hdr_base - hbuf.b_rptr),
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dexample.c52 char hbuf[1024]; local
74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
75 smfi_addheader(ctx, "X-Archived", hbuf);
/illumos-gate/usr/src/uts/common/os/
H A Dbio.c72 struct hbuf *hbuf; /* Hash buckets */ variable in typeref:struct:hbuf
411 struct hbuf *hp;
457 hmp = &hbuf[index].b_lock;
460 hp = &hbuf[index];
532 dp = (struct buf *)&hbuf[i];
533 hmp = &hbuf[i].b_lock;
579 struct hbuf *hp;
587 hp = &hbuf[index];
787 struct hbuf *h
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dn8.c53 char hbuf[NHEX]; variable
54 char *nexth = hbuf;
147 if ((j = nexth) >= (hbuf + NHEX - 2))
168 if (j >= (hbuf + NHEX - 2))
188 e = hbuf;
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c376 char hbuf[ETM_HDRLEN]; local
383 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, ETM_HDR_C_HELLO, 0);
385 if ((etm_xport_write(hdl, mp->epm_oconn, Rw_timeout, hbuf,
394 if ((etm_xport_read(hdl, mp->epm_oconn, Rw_timeout, hbuf,
401 hdrstat = etm_check_hdr(hdl, mp, hbuf);
413 hp = (etm_proto_hdr_t *)(void *)hbuf;
421 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, ETM_HDR_ACK, 0);
423 if ((etm_xport_write(hdl, mp->epm_oconn, Rw_timeout, hbuf,
457 char hbuf[ETM_HDRLEN]; local
462 hdrlen = etm_create_hdr(hbuf, m
637 char hbuf[ETM_HDRLEN]; local
1083 char hbuf[ETM_HDRLEN]; local
[all...]
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp101 char hbuf[NI_MAXHOST]; local
104 hbuf, sizeof(hbuf),
110 return ATNetworkTool::GetHostNameDomain(hbuf, domain);
259 char hbuf[NI_MAXHOST]; local
262 hbuf, sizeof(hbuf),
275 if (0 != (error = getaddrinfo(hbuf, pbuf, &hints, &paddrp))) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h219 char *hbuf, size_t hbuflen,
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Demacs.c1117 char hbuf[MAXLINE]; local
1119 strcpy(hbuf, "Current command ");
1120 strcat(hbuf, itos(hline));
1123 strcat(hbuf, " (line ");
1124 strcat(hbuf, itos(hloff+1));
1125 strcat(hbuf, ")");
1130 strcat(hbuf, "; Previous command ");
1131 strcat(hbuf, itos(location.hist_command));
1134 strcat(hbuf, " (line ");
1135 strcat(hbuf, ito
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c353 static char hbuf[MAXHOSTNAMELEN+1]; local
357 if (ether_ntohost(hbuf, ea) == 0)
358 return (hbuf);
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h69 * hbuf.b_lock: protects hash chains, buffer hdr freelists
238 * the hash buckets (hbuf structures) in the system.
250 struct hbuf { struct
342 extern struct hbuf *hbuf; /* Hash table */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ntp.c68 char hbuf[2 * MAC_OCTETS_MAX + 1]; local
222 hbuf[j++] = hexstr[ntp->mac[i] >> 4 & 0x0f];
223 hbuf[j++] = hexstr[ntp->mac[i] & 0x0f];
225 hbuf[j] = '\0';
228 "Authentication code = %s", hbuf); local
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c135 char *hbuf[HDRSZ]; local
151 dst.d_buf = (Elf_Void *)&hbuf;
159 (void) memcpy(hdr, &hbuf, dst.d_size);
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c356 struct hbuf *hp;
404 hp = &hbuf[ix];
413 hmp = &hbuf[ix].b_lock;
/illumos-gate/usr/src/lib/libresolv/
H A Dres_gethost.c319 char **a, hbuf[MAXHOSTNAMELEN]; local
326 (void) strcpy(hbuf, hp->h_name);
329 if ((hp2 = res_gethostbyname(hbuf)) != (struct hostent *)NULL)
342 syslog(LOG_NOTICE, "gethostbyaddr: %s != %s", hbuf,
/illumos-gate/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c134 char hbuf[NI_MAXHOST]; local
154 hbuf[i++] = *p;
165 hbuf[i] = addr[i];
178 hbuf[i] = '\0';
191 hbuf[i] = addr[i];
193 hbuf[i] = '\0';
211 if (getaddrinfo(hbuf, p, &hints, &ai) != 0) {
213 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0) {
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1067 char hbuf[NI_MAXHOST]; local
1073 if (getnameinfo(address, alen, hbuf, sizeof(hbuf),
1075 strncpy(hbuf, "?", sizeof(hbuf) - 1);
1076 hbuf[sizeof(hbuf) - 1] = '\0';
1081 string, hbuf, sbuf, strerror(error));
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.c32 * - Make hbuf[] unsigned char to match parameter type in inflate.c
394 hbuf[0] = (unsigned char)(word); \
395 hbuf[1] = (unsigned char)((word) >> 8); \
396 check = crc32(check, hbuf, 2); \
401 hbuf[0] = (unsigned char)(word); \
402 hbuf[1] = (unsigned char)((word) >> 8); \
403 hbuf[2] = (unsigned char)((word) >> 16); \
404 hbuf[3] = (unsigned char)((word) >> 24); \
405 check = crc32(check, hbuf, 4); \
579 unsigned char hbuf[ local
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A Dinflate.c25 * - Make hbuf[] unsigned char to match parameter type in inflate.c
443 hbuf[0] = (unsigned char)(word); \
444 hbuf[1] = (unsigned char)((word) >> 8); \
445 check = crc32(check, hbuf, 2); \
450 hbuf[0] = (unsigned char)(word); \
451 hbuf[1] = (unsigned char)((word) >> 8); \
452 hbuf[2] = (unsigned char)((word) >> 16); \
453 hbuf[3] = (unsigned char)((word) >> 24); \
454 check = crc32(check, hbuf, 4); \
623 unsigned char hbuf[ local
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c431 char hbuf[NSS_BUFLEN_HOSTS]; local
445 hp = gethostbyname_r(client_name, &h, hbuf, sizeof (hbuf), &err);
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmchild.c492 static char hbuf[BUFSIZ]; /* static buf for HOME */ variable
558 (void) sprintf(hbuf, "HOME=%s", pmtab->p_dir);
559 if (putenv(hbuf)) {
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c597 char hbuf[10]; local
640 snprintf(hbuf, sizeof (hbuf), "%d", hflag);
641 *ap++ = savestr(hbuf);

Completed in 273 milliseconds

12