Home
last modified time | relevance | path

Searched refs:hbuff (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c706 static char hbuff[1024]; in getxdr_hex() local
712 hbuff[0] = '\0'; in getxdr_hex()
713 return (hbuff); in getxdr_hex()
721 if (len * 2 > sizeof (hbuff)) { in getxdr_hex()
723 len = sizeof (hbuff) / 2; in getxdr_hex()
728 hbuff[j++] = hexstr[rbuff[i] >> 4 & 0x0f]; in getxdr_hex()
729 hbuff[j++] = hexstr[rbuff[i] & 0x0f]; in getxdr_hex()
733 hbuff[len * 2 - strlen("<Too Long>")] = '\0'; in getxdr_hex()
734 strcat(hbuff, "<Too Long>"); in getxdr_hex()
736 hbuff[j] = '\0'; in getxdr_hex()
[all …]
H A Dsnoop_rpc.c277 static char hbuff[1024]; in tohex() local
281 if (len * 2 > sizeof (hbuff)) { in tohex()
283 len = sizeof (hbuff) / 2; in tohex()
288 hbuff[j++] = hexstr[p[i] >> 4 & 0x0f]; in tohex()
289 hbuff[j++] = hexstr[p[i] & 0x0f]; in tohex()
293 hbuff[len * 2 - strlen("<Too Long>")] = '\0'; in tohex()
294 strcat(hbuff, "<Too Long>"); in tohex()
296 hbuff[j] = '\0'; in tohex()
298 return (hbuff); in tohex()
H A Dsnoop_rport.c320 char pbuff[16], hbuff[32]; in interpret_reserved() local
445 (void) snprintf(hbuff, sizeof (hbuff), "%s: ", pn); in interpret_reserved()
446 show_header(pbuff, hbuff, dlen); in interpret_reserved()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.h58 u16 hbuff; /* bigger than needed, see above for reason */ member
H A Di40e_lan_hmc.c740 { I40E_HMC_STORE(i40e_hmc_obj_rxq, hbuff), 5, 109 },
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c2805 rctx.hbuff = 0 >> I40E_RXQ_CTX_HBUFF_SHIFT; in i40e_setup_rx_hmc()