commit | 473bd239b808a8af5241ce9996a16d283d88ddff | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Mon Mar 07 14:11:05 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 09 16:36:14 2016 -0500 |
tree | 1a02155265887fa8e2893ddc144a656c240349ee | |
parent | fa9835e52e3ea946916c2ce6c625c86421131740 [diff] |
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: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>