diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2011-12-30 04:54:39 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-31 01:46:02 +0400 |
commit | c9da99e6475f92653139e43f3c30c0cd011a0fd8 (patch) | |
tree | d78e4097afdcba4a3a4dd2303cc8bd475331b75a /include | |
parent | 885ee74d5d3058e4a904671ed7929c9540c95fa5 (diff) | |
download | linux-c9da99e6475f92653139e43f3c30c0cd011a0fd8.tar.xz |
unix_diag: Fixup RQLEN extension report
While it's not too late fix the recently added RQLEN diag extension
to report rqlen and wqlen in the same way as TCP does.
I.e. for listening sockets the ack backlog length (which is the input
queue length for socket) in rqlen and the max ack backlog length in
wqlen, and what the CINQ/OUTQ ioctls do for established.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/unix_diag.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/unix_diag.h b/include/linux/unix_diag.h index 93fdb782468a..b1d2bf16b33c 100644 --- a/include/linux/unix_diag.h +++ b/include/linux/unix_diag.h @@ -46,4 +46,9 @@ struct unix_diag_vfs { __u32 udiag_vfs_dev; }; +struct unix_diag_rqlen { + __u32 udiag_rqueue; + __u32 udiag_wqueue; +}; + #endif |