>
> 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,
From: Richard Sailer
Date: Mon, 20 Jul 2020 18:06:14 +0200
> This adds support for the SIOCOUTQ IOCTL to get the send buffer fill
> of a DCCP socket, like UDP and TCP sockets already have.
>
> Regarding the used data field: DCCP uses per packet sequence numbers,
> not per byte, so sequence numbe
This adds support for the SIOCOUTQ IOCTL to get the send buffer fill
of a DCCP socket, like UDP and TCP sockets already have.
Regarding the used data field: DCCP uses per packet sequence numbers,
not per byte, so sequence numbers can't be used like in TCP. sk_wmem_queued
is not used by DCCP and al