Re: sendfile()? Re: SO_LINGER dead: I get an immediate RST on 2.6.24?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Herbert Xu
Date: Wednesday, January 14, 2009 - 4:30 am

On Wed, Jan 14, 2009 at 04:05:50AM -0500, Bill Fink wrote:

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.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: sendfile()? Re: SO_LINGER dead: I get an immediate RST ..., Herbert Xu, (Wed Jan 14, 4:30 am)