~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/net/dn_fib.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
        int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
99
99
                        struct dn_kern_rta *rta, struct nlmsghdr *n,
100
100
                        struct netlink_skb_parms *req);
101
 
        int (*lookup)(struct dn_fib_table *t, const struct flowi *fl,
 
101
        int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
102
102
                        struct dn_fib_res *res);
103
103
        int (*flush)(struct dn_fib_table *t);
104
104
        int (*dump)(struct dn_fib_table *t, struct sk_buff *skb, struct netlink_callback *cb);
119
119
                                struct dn_kern_rta *rta, 
120
120
                                const struct nlmsghdr *nlh, int *errp);
121
121
extern int dn_fib_semantic_match(int type, struct dn_fib_info *fi, 
122
 
                        const struct flowi *fl,
 
122
                        const struct flowidn *fld,
123
123
                        struct dn_fib_res *res);
124
124
extern void dn_fib_release_info(struct dn_fib_info *fi);
125
125
extern __le16 dn_fib_get_attr16(struct rtattr *attr, int attrlen, int type);
126
126
extern void dn_fib_flush(void);
127
 
extern void dn_fib_select_multipath(const struct flowi *fl,
 
127
extern void dn_fib_select_multipath(const struct flowidn *fld,
128
128
                                        struct dn_fib_res *res);
129
129
 
130
130
/*
141
141
extern void dn_fib_rules_init(void);
142
142
extern void dn_fib_rules_cleanup(void);
143
143
extern unsigned dnet_addr_type(__le16 addr);
144
 
extern int dn_fib_lookup(struct flowi *fl, struct dn_fib_res *res);
 
144
extern int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
145
145
 
146
146
extern int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb);
147
147