diff options
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index e5d66ec88cf6..10422ef14e28 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -160,7 +160,8 @@ struct fib_table { | |||
160 | struct hlist_node tb_hlist; | 160 | struct hlist_node tb_hlist; |
161 | u32 tb_id; | 161 | u32 tb_id; |
162 | int tb_default; | 162 | int tb_default; |
163 | unsigned char tb_data[0]; | 163 | int tb_num_default; |
164 | unsigned long tb_data[0]; | ||
164 | }; | 165 | }; |
165 | 166 | ||
166 | extern int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, | 167 | extern int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, |
@@ -227,9 +228,9 @@ extern struct fib_table *fib_get_table(struct net *net, u32 id); | |||
227 | /* Exported by fib_frontend.c */ | 228 | /* Exported by fib_frontend.c */ |
228 | extern const struct nla_policy rtm_ipv4_policy[]; | 229 | extern const struct nla_policy rtm_ipv4_policy[]; |
229 | extern void ip_fib_init(void); | 230 | extern void ip_fib_init(void); |
230 | extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, | 231 | extern int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, |
231 | struct net_device *dev, __be32 *spec_dst, | 232 | u8 tos, int oif, struct net_device *dev, |
232 | u32 *itag, u32 mark); | 233 | __be32 *spec_dst, u32 *itag); |
233 | extern void fib_select_default(struct fib_result *res); | 234 | extern void fib_select_default(struct fib_result *res); |
234 | 235 | ||
235 | /* Exported by fib_semantics.c */ | 236 | /* Exported by fib_semantics.c */ |