From owner-cvs-src@FreeBSD.ORG Mon Dec 20 15:08:53 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88AD16A4CE; Mon, 20 Dec 2004 15:08:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D416A43D39; Mon, 20 Dec 2004 15:08:53 +0000 (GMT) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKF8r0X046143; Mon, 20 Dec 2004 15:08:53 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBKF8rCV046142; Mon, 20 Dec 2004 15:08:53 GMT (envelope-from gallatin) Message-Id: <200412201508.iBKF8rCV046142@repoman.freebsd.org> From: Andrew Gallatin Date: Mon, 20 Dec 2004 15:08:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/tools/tools/kttcp kttcp.c src/tools/tools/kttcp/sys kttcp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 15:08:54 -0000 gallatin 2004-12-20 15:08:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) tools/tools/kttcp kttcp.c tools/tools/kttcp/sys kttcp.c Log: MFC: src/tools/tools/kttcp/kttcp.c 1.3 MFC: src/tools/tools/kttcp/sys/kttcp.c 1.4 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 Revision Changes Path 1.2.4.1 +0 -2 src/tools/tools/kttcp/kttcp.c 1.3.2.1 +37 -535 src/tools/tools/kttcp/sys/kttcp.c