Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dfib_rules.h19 struct fib_rule { struct
33 struct fib_rule __rcu *ctarget; argument
52 struct fib_rule *rule; argument
68 int (*action)(struct fib_rule *,
71 bool (*suppress)(struct fib_rule *,
73 int (*match)(struct fib_rule *,
75 int (*configure)(struct fib_rule *,
80 int (*delete)(struct fib_rule *);
81 int (*compare)(struct fib_rule *,
84 int (*fill)(struct fib_rule *, struct sk_buff *,
[all …]
Dip_fib.h133 struct fib_rule;
282 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
348 bool fib4_rule_default(const struct fib_rule *rule);
Dip6_fib.h474 bool fib6_rule_default(const struct fib_rule *rule);
504 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
Ddn_fib.h11 struct fib_rule *r;
/Linux-v4.19/net/core/
Dfib_rules.c26 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
47 struct fib_rule *r; in fib_default_rule_add()
75 struct fib_rule *rule; in fib_default_rule_pref()
80 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref()
89 static void notify_rule_change(int event, struct fib_rule *rule,
131 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register()
177 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops()
248 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
281 struct fib_rule *rule; in fib_rules_lookup()
292 struct fib_rule *target; in fib_rules_lookup()
[all …]
/Linux-v4.19/net/ipv4/
Dfib_rules.c37 struct fib_rule common;
50 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
59 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
108 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action()
143 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress()
171 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match()
214 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
277 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
300 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
328 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
[all …]
Dipmr.c73 struct fib_rule common;
168 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action()
195 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match()
204 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure()
211 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare()
217 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
295 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
353 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
/Linux-v4.19/net/ipv6/
Dfib6_rules.c27 struct fib_rule common;
33 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
42 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
132 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
197 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
258 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action()
267 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress()
294 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match()
338 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
[all …]
Dip6mr.c56 struct fib_rule common;
149 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action()
174 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match()
183 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure()
190 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare()
196 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
274 bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
/Linux-v4.19/net/decnet/
Ddn_rules.c42 struct fib_rule common;
68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action()
108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match()
122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure()
164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare()
202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
/Linux-v4.19/include/linux/
Dmroute.h23 bool ipmr_rule_default(const struct fib_rule *rule);
52 static inline bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
Dmroute6.h68 bool ip6mr_rule_default(const struct fib_rule *rule);
70 static inline bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
/Linux-v4.19/drivers/net/ethernet/rocker/
Drocker_main.c2167 struct fib_rule *rule; in rocker_router_fib_event_work()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5866 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()