aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fib_rules.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-04 12:50:58 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-04 12:50:58 -0500
commitd94d9fee9fa4e66a0b91640a694b8b10177075b3 (patch)
tree330b2b19e63c92f1fef3d9dbe0733ddeb0109664 /include/linux/fib_rules.h
parentb8883a65be2d925ea82b14ca0068ce9a6c8bac1f (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/fib_rules.h')
-rw-r--r--include/linux/fib_rules.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h
index 87b606b63f1e..c7e5b700bb91 100644
--- a/include/linux/fib_rules.h
+++ b/include/linux/fib_rules.h
@@ -13,8 +13,7 @@
13/* try to find source address in routing lookups */ 13/* try to find source address in routing lookups */
14#define FIB_RULE_FIND_SADDR 0x00010000 14#define FIB_RULE_FIND_SADDR 0x00010000
15 15
16struct fib_rule_hdr 16struct fib_rule_hdr {
17{
18 __u8 family; 17 __u8 family;
19 __u8 dst_len; 18 __u8 dst_len;
20 __u8 src_len; 19 __u8 src_len;
@@ -28,8 +27,7 @@ struct fib_rule_hdr
28 __u32 flags; 27 __u32 flags;
29}; 28};
30 29
31enum 30enum {
32{
33 FRA_UNSPEC, 31 FRA_UNSPEC,
34 FRA_DST, /* destination address */ 32 FRA_DST, /* destination address */
35 FRA_SRC, /* source address */ 33 FRA_SRC, /* source address */
@@ -52,8 +50,7 @@ enum
52 50
53#define FRA_MAX (__FRA_MAX - 1) 51#define FRA_MAX (__FRA_MAX - 1)
54 52
55enum 53enum {
56{
57 FR_ACT_UNSPEC, 54 FR_ACT_UNSPEC,
58 FR_ACT_TO_TBL, /* Pass to fixed table */ 55 FR_ACT_TO_TBL, /* Pass to fixed table */
59 FR_ACT_GOTO, /* Jump to another rule */ 56 FR_ACT_GOTO, /* Jump to another rule */