Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 18:40:35 -0800
From:      "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To:        <freebsd-net@freebsd.org>
Subject:   transport protocol hook for kqueue
Message-ID:  <6938661A6EDA8A4EA8D1419BCE46F24C923D65@XCH-NW-27.nw.nos.boeing.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6938661A6EDA8A4EA8D1419BCE46F24C923D65>