diff options
author | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
commit | 62b8c978ee6b8d135d9e7953221de58000dba986 (patch) | |
tree | 683b04b2e627f6710c22c151b23c8cc9a165315e /include/net/dn_fib.h | |
parent | 78fd82238d0e5716578c326404184a27ba67fd6e (diff) | |
download | linux-fsl-qoriq-62b8c978ee6b8d135d9e7953221de58000dba986.tar.xz |
Rewind v3.13-rc3+ (78fd82238d0e5716) to v3.12
Diffstat (limited to 'include/net/dn_fib.h')
-rw-r--r-- | include/net/dn_fib.h | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/include/net/dn_fib.h b/include/net/dn_fib.h index f2ca135..74004af 100644 --- a/include/net/dn_fib.h +++ b/include/net/dn_fib.h @@ -95,38 +95,41 @@ struct dn_fib_table { /* * dn_fib.c */ -void dn_fib_init(void); -void dn_fib_cleanup(void); - -int dn_fib_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); -struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, - struct nlattr *attrs[], - const struct nlmsghdr *nlh, int *errp); -int dn_fib_semantic_match(int type, struct dn_fib_info *fi, - const struct flowidn *fld, struct dn_fib_res *res); -void dn_fib_release_info(struct dn_fib_info *fi); -void dn_fib_flush(void); -void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res); +extern void dn_fib_init(void); +extern void dn_fib_cleanup(void); + +extern int dn_fib_ioctl(struct socket *sock, unsigned int cmd, + unsigned long arg); +extern struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, + struct nlattr *attrs[], + const struct nlmsghdr *nlh, int *errp); +extern int dn_fib_semantic_match(int type, struct dn_fib_info *fi, + const struct flowidn *fld, + struct dn_fib_res *res); +extern void dn_fib_release_info(struct dn_fib_info *fi); +extern void dn_fib_flush(void); +extern void dn_fib_select_multipath(const struct flowidn *fld, + struct dn_fib_res *res); /* * dn_tables.c */ -struct dn_fib_table *dn_fib_get_table(u32 n, int creat); -struct dn_fib_table *dn_fib_empty_table(void); -void dn_fib_table_init(void); -void dn_fib_table_cleanup(void); +extern struct dn_fib_table *dn_fib_get_table(u32 n, int creat); +extern struct dn_fib_table *dn_fib_empty_table(void); +extern void dn_fib_table_init(void); +extern void dn_fib_table_cleanup(void); /* * dn_rules.c */ -void dn_fib_rules_init(void); -void dn_fib_rules_cleanup(void); -unsigned int dnet_addr_type(__le16 addr); -int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res); +extern void dn_fib_rules_init(void); +extern void dn_fib_rules_cleanup(void); +extern unsigned int dnet_addr_type(__le16 addr); +extern int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res); -int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb); +extern int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb); -void dn_fib_free_info(struct dn_fib_info *fi); +extern void dn_fib_free_info(struct dn_fib_info *fi); static inline void dn_fib_info_put(struct dn_fib_info *fi) { |