/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmchild.c | 481 static char hbuf[BUFSIZ]; /* static buf for HOME */ variable 545 (void) sprintf(hbuf, "HOME=%s", pmtab->p_dir); in invoke_service() 546 if (putenv(hbuf)) { in invoke_service()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 66 char hbuf[2 * MAC_OCTETS_MAX + 1]; in interpret_ntp() local 220 hbuf[j++] = hexstr[ntp->mac[i] >> 4 & 0x0f]; in interpret_ntp() 221 hbuf[j++] = hexstr[ntp->mac[i] & 0x0f]; in interpret_ntp() 223 hbuf[j] = '\0'; in interpret_ntp() 226 "Authentication code = %s", hbuf); in interpret_ntp()
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n8.c | 51 char hbuf[NHEX]; variable 52 char *nexth = hbuf; 145 if ((j = nexth) >= (hbuf + NHEX - 2)) in casehw() 166 if (j >= (hbuf + NHEX - 2)) in casehw() 186 e = hbuf; in exword()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 1836 char hbuf[MAXHOSTNAMELEN]; in env_init() local 1839 if (gethostname(hbuf, MAXHOSTNAMELEN) == -1) { in env_init() 1843 hbuf[MAXHOSTNAMELEN-1] = '\0'; in env_init() 1844 cp = malloc(strlen(hbuf) + strlen(cp2) + 1); in env_init() 1849 (void) sprintf((char *)cp, "%s%s", hbuf, cp2); in env_init()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | common.c | 2264 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; 2268 getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), 2271 if(outlen < strlen(hbuf) + strlen(pbuf) + 2) 2274 snprintf(out, outlen, "%s;%s", hbuf, pbuf); 2300 char hbuf[NI_MAXHOST]; in _sasl_ipfromstring() local 2318 hbuf[i++] = *p; in _sasl_ipfromstring() 2330 hbuf[i] = addr[i]; in _sasl_ipfromstring() 2340 hbuf[i] = addr[i]; in _sasl_ipfromstring() 2351 hbuf[i] = '\0'; in _sasl_ipfromstring() 2362 hbuf[i] = addr[i]; in _sasl_ipfromstring() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 552 GETHOSTBYNAME_BUF_T hbuf; local 570 if (( hp = GETHOSTBYNAME( host, &hent, hbuf, 571 sizeof(hbuf), &err )) != NULL ) { 580 if ( sizeof( hbuf ) < ld->ld_dns_bufsize ) { 584 ldhpbuf = (char *)hbuf;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 384 char *host, hbuf[ PR_NETDB_BUF_SIZE ]; in prldap_connect() local 424 PRLDAP_DEFAULT_ADDRESS_FAMILY, PR_AI_DEFAULT | PR_AI_ALL, hbuf, in prldap_connect() 425 sizeof( hbuf ), &hent )) { in prldap_connect()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 1353 char *hbuf, size_t hbuflen, in krb5int_getnameinfo() argument 1357 return getnameinfo(sa, salen, hbuf, hbuflen, sbuf, sbuflen, flags); in krb5int_getnameinfo()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 219 char *hbuf, size_t hbuflen,
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 768 u32 len, void *hbuf, int dir) in t4_memory_rw_addr() argument 776 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in t4_memory_rw_addr() 778 buf = (u32 *)hbuf; in t4_memory_rw_addr() 936 u32 len, void *hbuf, int dir) in t4_memory_rw_mtype() argument 961 hbuf, dir); in t4_memory_rw_mtype()
|
H A D | common.h | 749 void *hbuf, int dir); 752 void *hbuf, int dir); 756 void *hbuf, int dir);
|
H A D | common.c | 8 void *hbuf, int dir) in t4_memory_rw() argument 10 return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir); in t4_memory_rw()
|
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 133 char hbuf[NI_MAXHOST]; local 153 hbuf[i++] = *p; 164 hbuf[i] = addr[i]; 177 hbuf[i] = '\0'; 190 hbuf[i] = addr[i]; 192 hbuf[i] = '\0'; 210 if (getaddrinfo(hbuf, p, &hints, &ai) != 0) { 212 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0) {
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1966 char hbuf[MAXNAME + 1]; local 1979 hbuf[0] = '\0'; 2034 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false); 2050 a->q_host = sm_rpool_strdup_x(e->e_rpool, hbuf); 2051 if (strchr(hbuf, '.') != NULL) 2054 hbuf); 2055 setstat(dsntoexitstat(hbuf)); 2057 else if (isascii(hbuf[0]) && isdigit(hbuf[0])) 2059 setstat(atoi(hbuf)); 2064 if (sm_strcasecmp(ep->ec_name, hbuf) == 0) [all …]
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 429 char hbuf[NSS_BUFLEN_HOSTS]; in find_best_server_int() local 443 hp = gethostbyname_r(client_name, &h, hbuf, sizeof (hbuf), &err); in find_best_server_int()
|
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/ |
H A D | etm.c | 374 char hbuf[ETM_HDRLEN]; in etm_handle_startup() local 381 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, ETM_HDR_C_HELLO, 0); in etm_handle_startup() 383 if ((etm_xport_write(hdl, mp->epm_oconn, Rw_timeout, hbuf, in etm_handle_startup() 392 if ((etm_xport_read(hdl, mp->epm_oconn, Rw_timeout, hbuf, in etm_handle_startup() 399 hdrstat = etm_check_hdr(hdl, mp, hbuf); in etm_handle_startup() 411 hp = (etm_proto_hdr_t *)(void *)hbuf; in etm_handle_startup() 419 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, ETM_HDR_ACK, 0); in etm_handle_startup() 421 if ((etm_xport_write(hdl, mp->epm_oconn, Rw_timeout, hbuf, in etm_handle_startup() 455 char hbuf[ETM_HDRLEN]; in etm_send_shutdown() local 460 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, ETM_HDR_SHUTDOWN, 0); in etm_send_shutdown() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | common.c | 351 static char hbuf[MAXHOSTNAMELEN+1]; in ehost2() local 355 if (ether_ntohost(hbuf, ea) == 0) in ehost2() 356 return (hbuf); in ehost2()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 75 struct hbuf *hbuf; /* Hash buckets */ variable 414 struct hbuf *hp; in brelse() 460 hmp = &hbuf[index].b_lock; in brelse() 463 hp = &hbuf[index]; in brelse() 534 dp = (struct buf *)&hbuf[i]; in bio_busy() 535 hmp = &hbuf[i].b_lock; in bio_busy() 581 struct hbuf *hp; in getblk_common() 589 hp = &hbuf[index]; in getblk_common() 789 struct hbuf *hp; in trygetblk() 794 hp = &hbuf[index]; in trygetblk() [all …]
|
H A D | dacf.c | 201 char hbuf[40]; in dacf_init() local 233 (void) snprintf(hbuf, sizeof (hbuf), in dacf_init() 236 hbuf, /* hash name */ in dacf_init()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | 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); \ 621 unsigned char hbuf[4]; /* buffer for gzip header crc calculation */ in inflate() local
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 530 char *hbuf; in ds_handle_recv() local 567 hbuf = (char *)&hdr; in ds_handle_recv() 568 bzero(hbuf, DS_HDR_SZ); in ds_handle_recv() 570 currp = hbuf; in ds_handle_recv() 591 read_size = ((ds_hdr_t *)hbuf)->payload_len; in ds_handle_recv() 604 (void) memcpy(msg, hbuf, DS_HDR_SZ); in ds_handle_recv()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | buf.h | 252 struct hbuf { struct 344 extern struct hbuf *hbuf; /* Hash table */
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ndp.c | 1706 char hbuf[MAC_STR_LEN]; in ip_ndp_excl() local 1713 mac_colon_addr(haddr, haddrlen, hbuf, sizeof (hbuf))); in ip_ndp_excl() 2211 char hbuf[MAC_STR_LEN]; in ndp_input_advert() local 2219 mac_colon_addr(haddr, hlen, hbuf, in ndp_input_advert() 2220 sizeof (hbuf)), ill->ill_name); in ndp_input_advert()
|
H A D | ip_arp.c | 1444 char hbuf[MAC_STR_LEN]; in arp_notify() local 1472 arh->arh_hlen, hbuf, sizeof (hbuf)); in arp_notify() 1476 hbuf, sbuf, ill->ill_name); in arp_notify() 1517 arh->arh_hlen, hbuf, sizeof (hbuf)); in arp_notify() 1522 hbuf, sbuf, ill->ill_name); in arp_notify() 2067 char hbuf[MAC_STR_LEN]; in arp_excl() local 2071 (void) mac_colon_addr(haddr, haddrlen, hbuf, sizeof (hbuf)); in arp_excl() 2076 " disabled", ibuf, sbuf, hbuf); in arp_excl()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fsflush.c | 356 struct hbuf *hp; in fsflush() 404 hp = &hbuf[ix]; in fsflush() 413 hmp = &hbuf[ix].b_lock; in fsflush()
|