Skip to content
Commit 473bd239 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

tcp: Add tcp_inq to get available receive bytes on socket



Create a common kernel function to get the number of bytes available
on a TCP socket. This is based on code in INQ getsockopt and we now call
the function for that getsockopt.

Signed-off-by: default avatarTom Herbert <tom@herbertland.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa9835e5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment