History

bpf: add icsk_retransmits to bpf_tcp_sock

Add some inet_connection_sock fields to bpf_tcp_sock that might be useful for debugging congestion control issues.

Stanislav Fomichev committed 7 years ago

Commit c2cb5e81 parent 03577462 files · +20 −1Browse files

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

Unified · Split

include/uapi/linux/bpf.h+1−0
@@ -3078,6 +3078,7 @@ struct bpf_tcp_sock { · 3077 unmodified lines
3078 */3078 */
3079 __u32 delivered; /* Total data packets delivered incl. rexmits */3079 __u32 delivered; /* Total data packets delivered incl. rexmits */
3080 __u32 delivered_ce; /* Like the above but only ECE marked packets */3080 __u32 delivered_ce; /* Like the above but only ECE marked packets */
3081 __u32 icsk_retransmits; /* Number of unrecovered [RTO] timeouts */
3081};3082};
3082 3083
3083struct bpf_sock_tuple {3084struct bpf_sock_tuple {