Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 23:42:35 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Kelly Yancey <kelly@nttmcl.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: RFC: Exporting number of bytes of protocol data to userland
Message-ID:  <Pine.BSF.4.21.0210282340400.27722-100000@InterJet.elischer.org>
In-Reply-To: <20021028230434.U91753-200000@alicia.nttmcl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems reasonable to me, but have you run a lot of apps?
Also I'd like to know what the standards say about these interfaces.

On Mon, 28 Oct 2002, Kelly Yancey wrote:

> 
>   The attached patch is rather short so the impatient can probably skip
> right to the source.
> 
>   The background is that there are at least 3 interfaces which report the
> "number of bytes in the socket buffer" to userland:
> 	ioctl(s, FIONREAD, &len)
> 	stat(2) via the st_size member of struct stat
> 	kqueue(2) via data member of struct kevents returned for
> 		EVFILT_READ filters.
> 
[...]



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210282340400.27722-100000>