| /Linux-v5.4/include/net/ |
| D | fib_rules.h | 19 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 …]
|
| D | ip_fib.h | 161 struct fib_rule; 313 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 379 bool fib4_rule_default(const struct fib_rule *rule);
|
| D | dn_fib.h | 11 struct fib_rule *r;
|
| D | ip6_fib.h | 506 bool fib6_rule_default(const struct fib_rule *rule); 536 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
|
| /Linux-v5.4/net/core/ |
| D | fib_rules.c | 23 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 44 struct fib_rule *r; in fib_default_rule_add() 72 struct fib_rule *rule; in fib_default_rule_pref() 77 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 86 static void notify_rule_change(int event, struct fib_rule *rule, 128 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register() 174 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() 245 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 278 struct fib_rule *rule; in fib_rules_lookup() 289 struct fib_rule *target; in fib_rules_lookup() [all …]
|
| /Linux-v5.4/net/ipv4/ |
| D | fib_rules.c | 34 struct fib_rule common; 47 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 56 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 105 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() 140 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() 218 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 281 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 304 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 332 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() [all …]
|
| D | ipmr.c | 69 struct fib_rule common; 164 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() 191 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() 200 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure() 207 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() 213 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill() 291 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default() 349 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
|
| /Linux-v5.4/net/ipv6/ |
| D | fib6_rules.c | 24 struct fib_rule common; 30 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall() 39 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() 128 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 153 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 191 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 254 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() 263 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress() 295 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() 339 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() [all …]
|
| D | ip6mr.c | 54 struct fib_rule common; 151 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() 178 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() 187 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure() 194 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() 200 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill() 278 bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
|
| /Linux-v5.4/net/decnet/ |
| D | dn_rules.c | 42 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-v5.4/include/linux/ |
| D | mroute.h | 23 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()
|
| 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()
|
| /Linux-v5.4/drivers/net/ethernet/rocker/ |
| D | rocker_main.c | 2156 struct fib_rule *rule; in rocker_router_fib_event_work()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 6185 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()
|