diff options
Diffstat (limited to 'include/net/dn_fib.h')
-rw-r--r-- | include/net/dn_fib.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/net/dn_fib.h b/include/net/dn_fib.h index a15dcf0d5c1e..32bc8ce5c5ce 100644 --- a/include/net/dn_fib.h +++ b/include/net/dn_fib.h | |||
@@ -22,7 +22,7 @@ struct dn_kern_rta | |||
22 | }; | 22 | }; |
23 | 23 | ||
24 | struct dn_fib_res { | 24 | struct dn_fib_res { |
25 | struct dn_fib_rule *r; | 25 | struct fib_rule *r; |
26 | struct dn_fib_info *fi; | 26 | struct dn_fib_info *fi; |
27 | unsigned char prefixlen; | 27 | unsigned char prefixlen; |
28 | unsigned char nh_sel; | 28 | unsigned char nh_sel; |
@@ -147,10 +147,8 @@ extern void dn_fib_table_cleanup(void); | |||
147 | */ | 147 | */ |
148 | extern void dn_fib_rules_init(void); | 148 | extern void dn_fib_rules_init(void); |
149 | extern void dn_fib_rules_cleanup(void); | 149 | extern void dn_fib_rules_cleanup(void); |
150 | extern void dn_fib_rule_put(struct dn_fib_rule *); | ||
151 | extern __le16 dn_fib_rules_policy(__le16 saddr, struct dn_fib_res *res, unsigned *flags); | ||
152 | extern unsigned dnet_addr_type(__le16 addr); | 150 | extern unsigned dnet_addr_type(__le16 addr); |
153 | extern int dn_fib_lookup(const struct flowi *fl, struct dn_fib_res *res); | 151 | extern int dn_fib_lookup(struct flowi *fl, struct dn_fib_res *res); |
154 | 152 | ||
155 | /* | 153 | /* |
156 | * rtnetlink interface | 154 | * rtnetlink interface |
@@ -176,7 +174,7 @@ static inline void dn_fib_res_put(struct dn_fib_res *res) | |||
176 | if (res->fi) | 174 | if (res->fi) |
177 | dn_fib_info_put(res->fi); | 175 | dn_fib_info_put(res->fi); |
178 | if (res->r) | 176 | if (res->r) |
179 | dn_fib_rule_put(res->r); | 177 | fib_rule_put(res->r); |
180 | } | 178 | } |
181 | 179 | ||
182 | extern struct dn_fib_table *dn_fib_tables[]; | 180 | extern struct dn_fib_table *dn_fib_tables[]; |