Home
last modified time | relevance | path

Searched refs:len_buf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c581 unsigned char len_buf[4]; in desread() local
605 if ((cc = krb5_net_read(kcmd_context, fd, (char *)len_buf, 4)) != 4) { in desread()
611 rd_len = ((len_buf[0] << 24) | (len_buf[1] << 16) | in desread()
612 (len_buf[2] << 8) | len_buf[3]); in desread()
731 unsigned char *len_buf = (unsigned char *)tmpbuf; in deswrite_compat() local
782 len_buf[0] = (len & 0xff000000) >> 24; in deswrite_compat()
783 len_buf[1] = (len & 0xff0000) >> 16; in deswrite_compat()
784 len_buf[2] = (len & 0xff00) >> 8; in deswrite_compat()
785 len_buf[3] = (len & 0xff); in deswrite_compat()
786 (void) write(fd, len_buf, 4); in deswrite_compat()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c549 char len_buf[10]; in getset_interactive() local
565 get_value("length ? ", len_buf, sizeof (len_buf)) > 1) { in getset_interactive()
566 if (!isdigit(len_buf[0])) { in getset_interactive()
570 buf_len = atoi(len_buf); in getset_interactive()