Searched refs:fib_rule (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/include/net/
H A Dfib_rules.h11 struct fib_rule { struct
23 struct fib_rule __rcu *ctarget;
38 struct fib_rule *rule;
52 int (*action)(struct fib_rule *,
55 bool (*suppress)(struct fib_rule *,
57 int (*match)(struct fib_rule *,
59 int (*configure)(struct fib_rule *,
63 int (*delete)(struct fib_rule *);
64 int (*compare)(struct fib_rule *,
67 int (*fill)(struct fib_rule *, struct sk_buff *,
69 size_t (*nlmsg_payload)(struct fib_rule *);
94 static inline void fib_rule_get(struct fib_rule *rule) fib_rule_get()
99 static inline void fib_rule_put(struct fib_rule *rule) fib_rule_put()
H A Ddn_fib.h9 struct fib_rule *r;
H A Dip_fib.h131 struct fib_rule;
/linux-4.4.14/net/decnet/
H A Ddn_rules.c41 struct fib_rule common;
67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, dn_fib_rule_action()
107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) dn_fib_rule_match()
121 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, dn_fib_rule_configure()
160 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, dn_fib_rule_compare()
198 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, dn_fib_rule_fill()
/linux-4.4.14/net/ipv4/
H A Dfib_rules.c37 struct fib_rule common;
74 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, fib4_rule_action()
107 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) fib4_rule_suppress()
135 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) fib4_rule_match()
167 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, fib4_rule_configure()
225 static int fib4_rule_delete(struct fib_rule *rule) fib4_rule_delete()
245 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, fib4_rule_compare()
273 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, fib4_rule_fill()
298 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) fib4_rule_nlmsg_payload()
H A Dipmr.c93 struct fib_rule common;
173 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, ipmr_rule_action()
198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) ipmr_rule_match()
207 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, ipmr_rule_configure()
213 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, ipmr_rule_compare()
219 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, ipmr_rule_fill()
/linux-4.4.14/net/ipv6/
H A Dfib6_rules.c26 struct fib_rule common;
61 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, fib6_rule_action()
134 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) fib6_rule_suppress()
161 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) fib6_rule_match()
194 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, fib6_rule_configure()
227 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, fib6_rule_compare()
252 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, fib6_rule_fill()
272 static size_t fib6_rule_nlmsg_payload(struct fib_rule *rule) fib6_rule_nlmsg_payload()
H A Dip6mr.c76 struct fib_rule common;
157 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, ip6mr_rule_action()
182 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) ip6mr_rule_match()
191 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, ip6mr_rule_configure()
197 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, ip6mr_rule_compare()
203 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, ip6mr_rule_fill()
/linux-4.4.14/net/core/
H A Dfib_rules.c24 struct fib_rule *r; fib_default_rule_add()
50 struct fib_rule *rule; fib_default_rule_pref()
55 rule = list_entry(pos->next, struct fib_rule, list); fib_default_rule_pref()
64 static void notify_rule_change(int event, struct fib_rule *rule,
106 if (ops->rule_size < sizeof(struct fib_rule)) __fib_rules_register()
152 struct fib_rule *rule, *tmp; fib_rules_cleanup_ops()
175 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, fib_rule_match()
200 struct fib_rule *rule; fib_rules_lookup()
211 struct fib_rule *target; fib_rules_lookup()
273 struct fib_rule *rule, *r, *last = NULL; fib_nl_newrule()
433 struct fib_rule *rule, *tmp; fib_nl_delrule()
541 struct fib_rule *rule) fib_rule_nlmsg_size()
560 static int fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, fib_nl_fill_rule()
633 struct fib_rule *rule; dump_rules()
692 static void notify_rule_change(int event, struct fib_rule *rule, notify_rule_change()
722 struct fib_rule *rule; attach_rules()
736 struct fib_rule *rule; detach_rules()

Completed in 187 milliseconds