History

tcp: prepare CC get_info() access from getsockopt()

We would like that optional info provided by Congestion Control modules using netlink can also be read using getsockopt() This patch changes get_info() to put this information in a buffer, instead of skb, like tcp_get_info(), so that following patch can reuse this common infrastructure.

Eric Dumazet committed 11 years ago

Commit 64f40ff1 parent bdd1f9e7 files · +46 −34Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/inet_diag.h+4−0
@@ -143,4 +143,8 @@ struct tcp_dctcp_info { · 142 unmodified lines
143 __u32 dctcp_ab_tot;143 __u32 dctcp_ab_tot;
144};144};
145 145
146union tcp_cc_info {
147 struct tcpvegas_info vegas;
148 struct tcp_dctcp_info dctcp;
149};
146#endif /* _UAPI_INET_DIAG_H_ */150#endif /* _UAPI_INET_DIAG_H_ */