android_kernel_xiaomi_sm8350/net
Arnaldo Carvalho de Melo 2babe1f6fe [DCCP]: Introduce dccp_get_info
And also hc_tx and hc_rx get_info functions for the CCIDs to fill in
information that is specific to them.

For now reusing struct tcp_info, later I'll try to figure out a better
solution, for now its really nice to get this kind of info:

[root@qemu ~]# ./ss -danemi
State       Recv-Q Send-Q  Local Addr:Port  Peer Addr:Port
LISTEN      0      0                *:5001          *:*     ino:628 sk:c1340040
         mem:(r0,w0,f0,t0) cwnd:0 ssthresh:0
ESTAB       0      0       172.20.0.2:5001 172.20.0.1:32785 ino:629 sk:c13409a0
         mem:(r0,w0,f0,t0) ts rto:1000 rtt:0.004/0 cwnd:0 ssthresh:0 rcv_rtt:61.377

This, for instance, shows that we're not congestion controlling ACKs,
as the above output is in the ttcp receiving host, and ttcp is a one
way app, i.e. the received never calls sendmsg, so
ccid_hc_tx_send_packet is never called, so the TX half connection
stays in TFRC_SSTATE_NO_SENT state and hctx_rtt is never calculated,
stays with the value set in ccid3_hc_tx_init, 4us, as show above in
milliseconds (0.004ms), upcoming patches will fix this.

rcv_rtt seems sane tho, matching ping results :-)

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-08-29 16:05:07 -07:00
..
802 [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
8021q [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
appletalk [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
atm [NET]: Kill skb->list 2005-08-29 15:31:14 -07:00
ax25 [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
bluetooth [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
bridge [NETLINK]: Add "groups" argument to netlink_kernel_create 2005-08-29 16:01:11 -07:00
core [NET]: Add support for getting the permanent hardware address. 2005-08-29 16:02:44 -07:00
dccp [DCCP]: Introduce dccp_get_info 2005-08-29 16:05:07 -07:00
decnet [DECNET]: Fix build after netlink changes. 2005-08-29 16:01:20 -07:00
econet [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
ethernet [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
ipv4 [NETFILTER]: Add goto target 2005-08-29 16:04:18 -07:00
ipv6 [NETFILTER]: Add goto target 2005-08-29 16:04:18 -07:00
ipx [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
irda [IRDA]: Possible cleanups. 2005-08-29 16:01:43 -07:00
key
lapb [NET]: Kill skb->list 2005-08-29 15:31:14 -07:00
llc [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
netfilter [NETLINK]: Add "groups" argument to netlink_kernel_create 2005-08-29 16:01:11 -07:00
netlink [NETLINK]: Fix sparse warnings 2005-08-29 16:01:35 -07:00
netrom [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
packet [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
rose [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
rxrpc [RXRPC]: Fix build failure introduced by skb->stamp changes. 2005-08-29 16:01:24 -07:00
sched [NETLINK]: Convert netlink users to use group numbers instead of bitmasks 2005-08-29 16:00:54 -07:00
sctp [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
sunrpc [NET]: Store skb->timestamp as offset to a base timestamp 2005-08-29 15:58:24 -07:00
unix [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
wanrouter [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
x25 [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
xfrm [NETLINK]: Add "groups" argument to netlink_kernel_create 2005-08-29 16:01:11 -07:00
compat.c
Kconfig [DCCP]: Initial implementation 2005-08-29 15:49:46 -07:00
Makefile [DCCP]: Initial implementation 2005-08-29 15:49:46 -07:00
nonet.c
socket.c [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
sysctl_net.c [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
TUNABLE