/openbmc/linux/include/net/ |
H A D | fib_rules.h | 20 struct fib_rule { struct 34 struct fib_rule __rcu *ctarget; argument 53 struct fib_rule *rule; argument 69 int (*action)(struct fib_rule *, 72 bool (*suppress)(struct fib_rule *, int, 74 int (*match)(struct fib_rule *, 76 int (*configure)(struct fib_rule *, 81 int (*delete)(struct fib_rule *); 82 int (*compare)(struct fib_rule *, 85 int (*fill)(struct fib_rule *, struct sk_buff *, [all …]
|
H A D | ip_fib.h | 165 struct fib_rule; 336 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 408 bool fib4_rule_default(const struct fib_rule *rule);
|
H A D | ip6_fib.h | 594 bool fib6_rule_default(const struct fib_rule *rule); 632 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
|
/openbmc/linux/net/ipv4/ |
H A D | fib_rules.c | 36 struct fib_rule common; 49 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 58 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 108 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action() 144 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress() 177 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match() 220 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 289 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 312 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 340 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() [all …]
|
H A D | ipmr.c | 69 struct fib_rule common; 181 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() 208 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() 213 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure() 220 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() 226 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill() 305 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default() 365 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
|
/openbmc/linux/net/ipv6/ |
H A D | fib6_rules.c | 26 struct fib_rule common; 32 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall() 41 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() 133 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 158 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 196 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 264 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action() 274 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress() 307 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match() 348 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()
|
/openbmc/linux/net/core/ |
H A D | fib_rules.c | 37 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 58 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, 142 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register() 188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() 259 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 295 struct fib_rule *rule; in fib_rules_lookup() 306 struct fib_rule *target; in fib_rules_lookup() [all …]
|
/openbmc/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 | 68 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()
|
/openbmc/linux/drivers/net/ethernet/rocker/ |
H A D | rocker_main.c | 2121 struct fib_rule *rule; in rocker_router_fib_event_work()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 7814 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()
|