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
30783078 */
30793079 __u32 delivered; /* Total data packets delivered incl. rexmits */
30803080 __u32 delivered_ce; /* Like the above but only ECE marked packets */
3081+ __u32 icsk_retransmits; /* Number of unrecovered [RTO] timeouts */
30813082 };
30823083
30833084 struct bpf_sock_tuple {