xref: /aosp_15_r20/external/bcc/libbpf-tools/tcprtt.h (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2 #ifndef __TCPRTT_H
3 #define __TCPRTT_H
4 
5 #define MAX_SLOTS	27
6 #define IPV6_LEN	16
7 
8 struct hist {
9 	__u64 latency;
10 	__u64 cnt;
11 	__u32 slots[MAX_SLOTS];
12 };
13 
14 struct hist_key {
15 	__u16 family;
16 	__u8 addr[IPV6_LEN];
17 };
18 
19 #endif /* __TCPRTT_H */
20