diff options
Diffstat (limited to 'include/linux/fib_rules.h')
-rw-r--r-- | include/linux/fib_rules.h | 9 |
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 | ||
16 | struct fib_rule_hdr | 16 | struct 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 | ||
31 | enum | 30 | enum { |
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 | ||
55 | enum | 53 | enum { |
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 */ |