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.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -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 | ||
| 146 | union 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_ */ |