diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rtnetlink.h | 3 | ||||
-rw-r--r-- | include/net/dn_fib.h | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 784a1a29490e..0aaffa2ae666 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -534,7 +534,8 @@ enum rtnetlink_groups { | |||
534 | RTNLGRP_NOP2, | 534 | RTNLGRP_NOP2, |
535 | RTNLGRP_DECnet_ROUTE, | 535 | RTNLGRP_DECnet_ROUTE, |
536 | #define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE | 536 | #define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE |
537 | RTNLGRP_NOP3, | 537 | RTNLGRP_DECnet_RULE, |
538 | #define RTNLGRP_DECnet_RULE RTNLGRP_DECnet_RULE | ||
538 | RTNLGRP_NOP4, | 539 | RTNLGRP_NOP4, |
539 | RTNLGRP_IPV6_PREFIX, | 540 | RTNLGRP_IPV6_PREFIX, |
540 | #define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX | 541 | #define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX |
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[]; |