Thread (8 messages) 8 messages, 4 authors, 2017-03-14

Re: [RFC PATCH] sock: add SO_RCVQUEUE_SIZE getsockopt

From: David Miller <davem@davemloft.net>
Date: 2017-03-14 00:10:08
Also in: linux-arch

From: Josh Hunt <redacted>
Date: Mon, 13 Mar 2017 18:34:41 -0500
In this particular case they really do want to know total # of bytes
in the receive queue, not the data bytes they can consume from an
application pov. The kernel currently only exposes this value through
netlink or /proc/net/udp from what I saw.
Can you explain in what way this is useful?

The difference between skb->len and skb->truesize is really kernel
internal implementation detail, and I'm trying to figure out why
this would be useful to an application.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help