1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _LINUX_TCP_METRICS_H
8 #define _LINUX_TCP_METRICS_H
9 #include <linux/types.h>
10 #define TCP_METRICS_GENL_NAME "tcp_metrics"
11 #define TCP_METRICS_GENL_VERSION 0x1
12 enum tcp_metric_index {
13   TCP_METRIC_RTT,
14   TCP_METRIC_RTTVAR,
15   TCP_METRIC_SSTHRESH,
16   TCP_METRIC_CWND,
17   TCP_METRIC_REORDERING,
18   TCP_METRIC_RTT_US,
19   TCP_METRIC_RTTVAR_US,
20   __TCP_METRIC_MAX,
21 };
22 #define TCP_METRIC_MAX (__TCP_METRIC_MAX - 1)
23 enum {
24   TCP_METRICS_ATTR_UNSPEC,
25   TCP_METRICS_ATTR_ADDR_IPV4,
26   TCP_METRICS_ATTR_ADDR_IPV6,
27   TCP_METRICS_ATTR_AGE,
28   TCP_METRICS_ATTR_TW_TSVAL,
29   TCP_METRICS_ATTR_TW_TS_STAMP,
30   TCP_METRICS_ATTR_VALS,
31   TCP_METRICS_ATTR_FOPEN_MSS,
32   TCP_METRICS_ATTR_FOPEN_SYN_DROPS,
33   TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS,
34   TCP_METRICS_ATTR_FOPEN_COOKIE,
35   TCP_METRICS_ATTR_SADDR_IPV4,
36   TCP_METRICS_ATTR_SADDR_IPV6,
37   TCP_METRICS_ATTR_PAD,
38   __TCP_METRICS_ATTR_MAX,
39 };
40 #define TCP_METRICS_ATTR_MAX (__TCP_METRICS_ATTR_MAX - 1)
41 enum {
42   TCP_METRICS_CMD_UNSPEC,
43   TCP_METRICS_CMD_GET,
44   TCP_METRICS_CMD_DEL,
45   __TCP_METRICS_CMD_MAX,
46 };
47 #define TCP_METRICS_CMD_MAX (__TCP_METRICS_CMD_MAX - 1)
48 #endif
49