From owner-freebsd-net Thu Dec 12 18:40:50 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 998A237B401 for ; Thu, 12 Dec 2002 18:40:49 -0800 (PST) Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D190543E4A for ; Thu, 12 Dec 2002 18:40:48 -0800 (PST) (envelope-from thomas.r.henderson@boeing.com) Received: from stl-av-02.boeing.com ([192.76.190.7]) by stl-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id UAA12020 for ; Thu, 12 Dec 2002 20:40:43 -0600 (CST) Received: from blv-hub-01.boeing.com (localhost [127.0.0.1]) by stl-av-02.boeing.com (8.9.3/8.9.2/MBS-AV-02) with ESMTP id UAA27660 for ; Thu, 12 Dec 2002 20:40:42 -0600 (CST) Received: from XCH-NWBH-01.nw.nos.boeing.com (xch-nwbh-01.nw.nos.boeing.com [192.33.62.231]) by blv-hub-01.boeing.com (8.11.3/8.11.3/MBS-LDAP-01) with ESMTP id gBD2ef602108 for ; Thu, 12 Dec 2002 18:40:41 -0800 (PST) Received: from XCH-NW-27.nw.nos.boeing.com ([192.48.4.101]) by XCH-NWBH-01.nw.nos.boeing.com with Microsoft SMTPSVC(5.0.2195.2966); Thu, 12 Dec 2002 18:40:35 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6334.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: transport protocol hook for kqueue Date: Thu, 12 Dec 2002 18:40:35 -0800 Message-ID: <6938661A6EDA8A4EA8D1419BCE46F24C923D65@XCH-NW-27.nw.nos.boeing.com> Thread-Topic: transport protocol hook for kqueue Thread-Index: AcKiUQOvIVGWvcnVTbuUfIgM0T/wcg== From: "Henderson, Thomas R" To: X-OriginalArrivalTime: 13 Dec 2002 02:40:36.0018 (UTC) FILETIME=[03D5A920:01C2A251] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been trying to integrate Dave Bailey's bsdproxy with an experimental transport protocol (substitutes for TCP and preserves same API semantics). However, I can't seem to trigger a read event with the new protocol-- the client side socket buffer fills up with data but bsdproxy never gets a read event. I have been able to use simpler proxies (ones that basically pipe between descriptors) successfully. Is there anything special that needs to be done at the transport layer to trigger a kevent read? My protocol calls sorwakeup() at the appropriate times-- I had thought that would be enough and that kqueue would be indifferent to the underlying transport protocol implementation. Nothing seems apparent in the TCP code, however. Tom=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message