Searched refs:fib_rule (Results 1 – 8 of 8) sorted by relevance
| /linux/include/net/ |
| H A D | fib_rules.h | 20 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 *, 89 int (*fill)(struct fib_rule *, struct sk_buff *, [all …]
|
| /linux/net/core/ |
| H A D | fib_rules.c | 38 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 59 struct fib_rule *r; in fib_default_rule_add() 86 struct fib_rule *rule; in fib_default_rule_pref() 91 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 100 static void notify_rule_change(int event, struct fib_rule *rule, 143 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register() 189 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() 260 static bool fib_rule_iif_match(const struct fib_rule *rule, int iifindex, in fib_rule_iif_match() 269 static bool fib_rule_oif_match(const struct fib_rule *rule, int oifindex, in fib_rule_oif_match() 278 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() [all …]
|
| /linux/net/ipv6/ |
| H A D | fib6_rules.c | 26 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() 137 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 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() 422 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() [all …]
|
| H A D | ip6mr.c | 54 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/include/linux/ |
| H A D | mroute.h | 24 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 D | mroute6.h | 75 bool ip6mr_rule_default(const struct fib_rule *rule); 77 static inline bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker_main.c | 2120 struct fib_rule *rule; in rocker_router_fib_event_work()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 8067 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()
|