diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-04 12:50:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 12:50:58 -0500 |
commit | d94d9fee9fa4e66a0b91640a694b8b10177075b3 (patch) | |
tree | 330b2b19e63c92f1fef3d9dbe0733ddeb0109664 /include/linux/tcp.h | |
parent | b8883a65be2d925ea82b14ca0068ce9a6c8bac1f (diff) |
net: cleanup include/linux
This cleanup patch puts struct/union/enum opening braces,
in first line to ease grep games.
struct something
{
becomes :
struct something {
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 61723a7c21f..eeecb8547a2 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 | ||
105 | enum tcp_ca_state | 105 | enum 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 | ||
119 | struct tcp_info | 118 | struct 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; |