aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ipip.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-02 22:26:03 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-04 08:06:25 -0500
commitfd2c3ef761fbc5e6c27fa7d40b30cda06bfcd7d8 (patch)
tree25922196160e9d5be8aa2a473ce981756926390f /include/net/ipip.h
parent4b7673a04a16f1d8faf1e367ae28a6ee1671843d (diff)
net: cleanup include/net
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/net/ipip.h')
-rw-r--r--include/net/ipip.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index b3db2fd6e61c..11e8513d2d07 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -8,16 +8,14 @@
8#define IPTUNNEL_ERR_TIMEO (30*HZ) 8#define IPTUNNEL_ERR_TIMEO (30*HZ)
9 9
10/* 6rd prefix/relay information */ 10/* 6rd prefix/relay information */
11struct ip_tunnel_6rd_parm 11struct ip_tunnel_6rd_parm {
12{
13 struct in6_addr prefix; 12 struct in6_addr prefix;
14 __be32 relay_prefix; 13 __be32 relay_prefix;
15 u16 prefixlen; 14 u16 prefixlen;
16 u16 relay_prefixlen; 15 u16 relay_prefixlen;
17}; 16};
18 17
19struct ip_tunnel 18struct ip_tunnel {
20{
21 struct ip_tunnel *next; 19 struct ip_tunnel *next;
22 struct net_device *dev; 20 struct net_device *dev;
23 21
@@ -40,8 +38,7 @@ struct ip_tunnel
40 unsigned int prl_count; /* # of entries in PRL */ 38 unsigned int prl_count; /* # of entries in PRL */
41}; 39};
42 40
43struct ip_tunnel_prl_entry 41struct ip_tunnel_prl_entry {
44{
45 struct ip_tunnel_prl_entry *next; 42 struct ip_tunnel_prl_entry *next;
46 __be32 addr; 43 __be32 addr;
47 u16 flags; 44 u16 flags;