Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dfib_rules.h20 struct fib_rule { struct
34 struct fib_rule __rcu *ctarget; argument
57 struct fib_rule *rule; argument
73 int (*action)(struct fib_rule *,
76 bool (*suppress)(struct fib_rule *, int,
78 int (*match)(struct fib_rule *,
80 int (*configure)(struct fib_rule *,
85 int (*delete)(struct fib_rule *);
86 int (*compare)(struct fib_rule *,
91 size_t (*nlmsg_payload)(struct fib_rule *);
[all …]
H A Dip_fib.h169 struct fib_rule;
341 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
413 bool fib4_rule_default(const struct fib_rule *rule);
H A Dip6_fib.h632 bool fib6_rule_default(const struct fib_rule *rule);
670 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
/linux-6.15/net/core/
H A Dfib_rules.c59 struct fib_rule *r; in fib_default_rule_add()
86 struct fib_rule *rule; in fib_default_rule_pref()
316 struct fib_rule *rule; in fib_rules_lookup()
327 struct fib_rule *target; in fib_rules_lookup()
406 struct fib_rule *rule; in fib_rules_dump()
446 struct fib_rule *r; in rule_find()
779 struct fib_rule *r; in rule_exists()
1077 struct fib_rule *n, *r; in fib_delrule()
1235 struct fib_rule *rule; in dump_rules()
1357 struct fib_rule *rule; in attach_rules()
[all …]
/linux-6.15/net/ipv6/
H A Dfib6_rules.c26 struct fib_rule common;
36 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
45 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
162 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
200 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
268 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
278 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
311 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
480 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
542 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_fill()
[all …]
H A Dip6mr.c54 struct fib_rule common;
170 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action()
197 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match()
202 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure()
209 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare()
215 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
294 bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
/linux-6.15/net/ipv4/
H A Dfib_rules.c36 struct fib_rule common;
51 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
60 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
110 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action()
146 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress()
179 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match()
269 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
352 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
375 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
421 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
[all …]
H A Dipmr.c70 struct fib_rule common;
182 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action()
209 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match()
214 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure()
221 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare()
227 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
306 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
366 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
/linux-6.15/include/linux/
H A Dmroute.h24 bool ipmr_rule_default(const struct fib_rule *rule);
54 static inline bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
H A 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-6.15/drivers/net/ethernet/rocker/
H A Drocker_main.c2120 struct fib_rule *rule; in rocker_router_fib_event_work()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c8066 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()