lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 15 Jan 2009 01:33:44 -0500
From:	Bill Fink <billfink@...dspring.com>
To:	Herbert Xu <herbert@...dor.apana.org.au>
Cc:	ilpo.jarvinen@...sinki.fi, zbr@...emap.net,
	bert.hubert@...herlabs.nl, h.willstrand@...il.com,
	netdev@...r.kernel.org
Subject: Re: sendfile()? Re: SO_LINGER dead: I get an immediate RST on
 2.6.24?

On Wed, 14 Jan 2009, Herbert Xu wrote:

> On Wed, Jan 14, 2009 at 04:05:50AM -0500, Bill Fink wrote:
> >
> > Well, my man tcp(7) just says:
> > 
> >    SIOCOUTQ
> >           Returns the amount of unsent data in the socket send queue.  The
> >           socket must not be in LISTEN state, otherwise an error  (EINVAL)
> >           is returned.
> 
> You still read man pages? :)
> 
> If you look at the actual code, SIOCOUTQ returns
> 
> 	tp->write_seq - tp->snd_una
> 
> Really you can't get any more precise than that for what you want.

Thanks for the clarification!  That does make it crystal clear.

						-Bill
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists