Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c578 long net_len, rd_len; in desread() local
617 net_len = ((size_t)-1); in desread()
619 net_len = ret; in desread()
621 if ((net_len <= 0) || (net_len > desinbuf.length)) { in desread()
630 if ((cc = krb5_net_read(kcmd_context, fd, desinbuf.data, net_len)) in desread()
631 != net_len) { in desread()
636 cc, net_len); in desread()
644 inputd.ciphertext.length = net_len; in desread()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c233 uint_t net_len; in secure_putbuf() local
276 net_len = htonl((uint32_t)length); in secure_putbuf()
277 if (looping_write(fd, (char *)&net_len, 4) == -1) in secure_putbuf()