Date: Mon, 13 Dec 2004 20:40:16 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/tools/kttcp kttcp.c src/tools/tools/kttcp/sys kttcp.c Message-ID: <200412132040.iBDKeGCR074500@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2004-12-13 20:40:16 UTC
FreeBSD src repository
Modified files:
tools/tools/kttcp kttcp.c
tools/tools/kttcp/sys kttcp.c
Log:
Make kttcp work in -stable (and -current)
- Removed kttcp_sosend() and kttcp_soreceive() in favor of using
sosend() / soreceive() with UIO_NOCOPY. The locking changes in the
socket layer make merging the kttcp_so* and the so* routines a real
pain. It was a lot easier to just use the integrated routines.
- Eliminated KTTCP_MAX_XMIT restrictions on send and receive sizes
because I encountered no problems with streams larger than MAX_INT.
MAX_INT bytes is only good for a few seconds at 4Gb/sec ;)
- Removed Giant from send / recv routines.
- Fixed character device protos, cdevsw init, etc, to work in 5.x /
6.x
Reviewed by: sam
MFC after: 1 week
Revision Changes Path
1.3 +0 -2 src/tools/tools/kttcp/kttcp.c
1.4 +37 -535 src/tools/tools/kttcp/sys/kttcp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412132040.iBDKeGCR074500>
