mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 06:52:07 +00:00
decnet: Convert to use flowidn where applicable.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1958b856c1
commit
bef55aebd5
10 changed files with 196 additions and 185 deletions
|
@ -98,7 +98,7 @@ struct dn_fib_table {
|
|||
int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
|
||||
struct dn_kern_rta *rta, struct nlmsghdr *n,
|
||||
struct netlink_skb_parms *req);
|
||||
int (*lookup)(struct dn_fib_table *t, const struct flowi *fl,
|
||||
int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
|
||||
struct dn_fib_res *res);
|
||||
int (*flush)(struct dn_fib_table *t);
|
||||
int (*dump)(struct dn_fib_table *t, struct sk_buff *skb, struct netlink_callback *cb);
|
||||
|
@ -119,12 +119,12 @@ extern struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
|
|||
struct dn_kern_rta *rta,
|
||||
const struct nlmsghdr *nlh, int *errp);
|
||||
extern int dn_fib_semantic_match(int type, struct dn_fib_info *fi,
|
||||
const struct flowi *fl,
|
||||
const struct flowidn *fld,
|
||||
struct dn_fib_res *res);
|
||||
extern void dn_fib_release_info(struct dn_fib_info *fi);
|
||||
extern __le16 dn_fib_get_attr16(struct rtattr *attr, int attrlen, int type);
|
||||
extern void dn_fib_flush(void);
|
||||
extern void dn_fib_select_multipath(const struct flowi *fl,
|
||||
extern void dn_fib_select_multipath(const struct flowidn *fld,
|
||||
struct dn_fib_res *res);
|
||||
|
||||
/*
|
||||
|
@ -141,7 +141,7 @@ extern void dn_fib_table_cleanup(void);
|
|||
extern void dn_fib_rules_init(void);
|
||||
extern void dn_fib_rules_cleanup(void);
|
||||
extern unsigned dnet_addr_type(__le16 addr);
|
||||
extern int dn_fib_lookup(struct flowi *fl, struct dn_fib_res *res);
|
||||
extern int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
|
||||
|
||||
extern int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue