Re: [PATCH net-next v5] net: dccp: Add SIOCOUTQ IOCTL support (send buffer fill)

Richard Sailer <[email protected]>
Newsgroups org.kernel.vger.dccp,org.kernel.vger.netdev
Message-ID <[email protected]>
> 
> Applied, but I wonder if you'll also need something like tcp's SIOCOUTQNSD?
> 
A good question. SIOCOUTQNSD is not mentioned in man 7 tcp and I didn't
know and consider it. Now that I looked it up (bytes of unsent packets
in send buffer) maybe this patch's ioctl should be renamed SIOCOUTQNSD,
since it returns the byte count of unsent packets.

I'm undecided here, this is also the only of these ioctl's that makes
sense for DCCP since DCCP does not keep sent but un-acked packets so
SIOCOUTQ does not exist for DCCP. Or SIOCOUTQ and SIOCOUTQNSD are the
same for DCCP, that's a viewpoint question. And it's anyhow correctly
documented in dccp.rst, it's about unsent packets.

So I'm undecided here, should I resend my patch renamed to SIOCOUTQNSD?

-- Richard
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEBgAhuYrOnl9UC7I39kE5zAWb4eEFAl8ZZjgACgkQ9kE5zAWb
4eE7Xwf/e1lQO8XLn845lLFjA7Wm3W+kC+oAWSlNrO6jL4RZDsGW/C9tbIYnxIle
GSV1Lky4PzNiJD1pKaBJyA1XtkGEE5yZZ20wcVG1K5wuO0S0weAlhiR/JFc9kaDj
e/ycFkSQFtLzE0aAe8WmAHts53o6XwohZBEGV2Y8obruwANRbV0wSq5eeaLiKjSj
gGkYl7L7gnuwr2Kqv+4tWE56RlgzKv39EoT/AojJSrgAWCWolpi45MyJzABu98Hs
C2tQzn8F7+ilnTF/JZrT4fs8mHYqrnnnkxqYAzKD6MNcufnewFVXmy69YlJk/jp5
tSg7sC5upiCdHYZ/a2E7dW/8+n/chg==
=hdou
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.