aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 61723a7c21fe..eeecb8547a2a 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -102,8 +102,7 @@ enum {
102#define TCPI_OPT_WSCALE 4 102#define TCPI_OPT_WSCALE 4
103#define TCPI_OPT_ECN 8 103#define TCPI_OPT_ECN 8
104 104
105enum tcp_ca_state 105enum tcp_ca_state {
106{
107 TCP_CA_Open = 0, 106 TCP_CA_Open = 0,
108#define TCPF_CA_Open (1<<TCP_CA_Open) 107#define TCPF_CA_Open (1<<TCP_CA_Open)
109 TCP_CA_Disorder = 1, 108 TCP_CA_Disorder = 1,
@@ -116,8 +115,7 @@ enum tcp_ca_state
116#define TCPF_CA_Loss (1<<TCP_CA_Loss) 115#define TCPF_CA_Loss (1<<TCP_CA_Loss)
117}; 116};
118 117
119struct tcp_info 118struct tcp_info {
120{
121 __u8 tcpi_state; 119 __u8 tcpi_state;
122 __u8 tcpi_ca_state; 120 __u8 tcpi_ca_state;
123 __u8 tcpi_retransmits; 121 __u8 tcpi_retransmits;