Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dfib_rules.h11 struct fib_rule { struct
23 struct fib_rule __rcu *ctarget; argument
38 struct fib_rule *rule; argument
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 *,
[all …]
Ddn_fib.h9 struct fib_rule *r;
Dip_fib.h131 struct fib_rule;
/linux-4.4.14/net/ipv4/
Dfib_rules.c37 struct fib_rule common;
74 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action()
107 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress()
135 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match()
167 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
225 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
245 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
273 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
298 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
Dipmr.c93 struct fib_rule common;
173 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action()
198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match()
207 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure()
213 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare()
219 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
/linux-4.4.14/net/decnet/
Ddn_rules.c41 struct fib_rule common;
67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action()
107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match()
121 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure()
160 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare()
198 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
/linux-4.4.14/net/ipv6/
Dfib6_rules.c26 struct fib_rule common;
61 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action()
134 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress()
161 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match()
194 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
227 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib6_rule_compare()
252 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_fill()
272 static size_t fib6_rule_nlmsg_payload(struct fib_rule *rule) in fib6_rule_nlmsg_payload()
Dip6mr.c76 struct fib_rule common;
157 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action()
182 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match()
191 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure()
197 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare()
203 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
/linux-4.4.14/net/core/
Dfib_rules.c24 struct fib_rule *r; in fib_default_rule_add()
50 struct fib_rule *rule; in fib_default_rule_pref()
55 rule = list_entry(pos->next, struct fib_rule, list); in 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)) in __fib_rules_register()
152 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops()
175 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
200 struct fib_rule *rule; in fib_rules_lookup()
211 struct fib_rule *target; in fib_rules_lookup()
273 struct fib_rule *rule, *r, *last = NULL; in fib_nl_newrule()
[all …]