Searched refs:fib_rule (Results 1 – 9 of 9) 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 void (*delete)(struct fib_rule *); 86 int (*compare)(struct fib_rule *, 89 int (*fill)(struct fib_rule *, struct sk_buff *, [all …]
|
| H A D | ip_fib.h | 169 struct fib_rule; 341 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 412 bool fib4_rule_default(const struct fib_rule *rule);
|
| H A D | ip6_fib.h | 686 bool fib6_rule_default(const struct fib_rule *rule); 724 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
|
| /linux/net/core/ |
| H A D | fib_rules.c | 38 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 58 struct fib_rule *r; in fib_default_rule_add() 84 struct fib_rule *rule; in fib_default_rule_pref() 89 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 98 static void notify_rule_change(int event, struct fib_rule *rule, 141 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register() 187 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() 258 static bool fib_rule_iif_match(const struct fib_rule *rule, int iifindex, in fib_rule_iif_match() 267 static bool fib_rule_oif_match(const struct fib_rule *rule, int oifindex, in fib_rule_oif_match() 276 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() [all …]
|
| /linux/net/ipv4/ |
| H A D | fib_rules.c | 37 struct fib_rule common; 52 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 61 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 111 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action() 147 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress() 180 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() 354 static void fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 368 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 414 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() [all …]
|
| H A D | ipmr.c | 71 struct fib_rule common; 175 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() 202 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() 207 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure() 214 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() 220 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill() 302 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default() 371 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
|
| /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() 140 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 165 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 203 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 271 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action() 281 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress() 315 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match() 426 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() [all …]
|
| /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()
|